Dotfiles V1.3.5
Updated nvim latex templates
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
% TODO: Change variables according to language preference
|
% TODO: Change variables according to language preference
|
||||||
\def\theorytitle{Theory}
|
\def\theorytitle{Theory}
|
||||||
\def\theorytitle{Theorie}
|
\def\theorytitle{Theorie}
|
||||||
|
\def\claimtitle{Behauptung:-}
|
||||||
|
\def\claimtitle{Note:=}
|
||||||
\def\corollarytitle{Corollary}
|
\def\corollarytitle{Corollary}
|
||||||
\def\corollarytitle{Korollar}
|
\def\corollarytitle{Korollar}
|
||||||
\def\proposaltitle{Proposal}
|
\def\proposaltitle{Proposal}
|
||||||
|
|||||||
@@ -65,18 +65,19 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = CtpMaroon,
|
colback = CtpSurface0,
|
||||||
|
colupper = CtpText
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{CtpRed},
|
borderline west = {2pt}{0pt}{CtpLavender},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = CtpRed,
|
coltitle = CtpLavender,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, CtpRed},
|
segmentation style={solid, CtpLavender},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -85,18 +86,19 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = CtpMaroon,
|
colback = CtpSurface0,
|
||||||
|
colupper = CtpText,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{CtpRed},
|
borderline west = {2pt}{0pt}{CtpLavender},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = CtpRed,
|
coltitle = CtpLavender,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, CtpRed},
|
segmentation style={solid, CtpLavender},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -106,10 +108,11 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = CtpMaroon
|
,colback = CtpSurface0
|
||||||
|
,colupper = CtpText
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{CtpRed}
|
,borderline west = {2pt}{0pt}{CtpLavender}
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,description font = \mdseries
|
,description font = \mdseries
|
||||||
,separator sign none
|
,separator sign none
|
||||||
@@ -117,7 +120,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%================================
|
%================================
|
||||||
% Corollery
|
% Corollary
|
||||||
%================================
|
%================================
|
||||||
|
|
||||||
\tcbuselibrary{theorems,skins,hooks}
|
\tcbuselibrary{theorems,skins,hooks}
|
||||||
@@ -125,7 +128,8 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = CtpMauve!10
|
,colback = CtpSurface0
|
||||||
|
,colupper = CtpText
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
||||||
@@ -144,7 +148,8 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = CtpMauve!10
|
,colback = CtpSurface0
|
||||||
|
,colupper = CtpText
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
||||||
@@ -169,7 +174,8 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = CtpRosewater,
|
colback = CtpSurface0,
|
||||||
|
colupper = CtpText,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{CtpPeach},
|
borderline west = {2pt}{0pt}{CtpPeach},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = CtpRosewater,
|
colback = CtpSurface0,
|
||||||
|
colupper = CtpText,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{CtpPeach},
|
borderline west = {2pt}{0pt}{CtpPeach},
|
||||||
@@ -259,7 +266,8 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = CtpGreen!10
|
,colback = CtpSurface0
|
||||||
|
,colupper = CtpText
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{CtpGreen}
|
,borderline west = {2pt}{0pt}{CtpGreen}
|
||||||
@@ -285,18 +293,19 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = CtpFlamingo,
|
colback = CtpSurface0,
|
||||||
|
colupper = CtpText,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{CtpPink},
|
borderline west = {2pt}{0pt}{CtpBlue},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = CtpPink,
|
coltitle = CtpBlue,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, CtpPink},
|
segmentation style={solid, CtpBlue},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -305,18 +314,19 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = CtpFlamingo,
|
colback = CtpSurface0,
|
||||||
|
colupper = CtpText,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{CtpPink},
|
borderline west = {2pt}{0pt}{CtpBlue},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = CtpPink,
|
coltitle = CtpBlue,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, CtpPink},
|
segmentation style={solid, CtpBlue},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -326,10 +336,11 @@
|
|||||||
|
|
||||||
\newtcbtheorem[number within=section]{Example}{\exampletitle}
|
\newtcbtheorem[number within=section]{Example}{\exampletitle}
|
||||||
{%
|
{%
|
||||||
colback = CtpSky!10
|
colback = CtpSurface0
|
||||||
|
,colupper = CtpText
|
||||||
,breakable
|
,breakable
|
||||||
,colframe = CtpSky
|
,colframe = CtpTeal
|
||||||
,coltitle = CtpSky
|
,coltitle = CtpTeal
|
||||||
,boxrule = 1pt
|
,boxrule = 1pt
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
@@ -343,10 +354,11 @@
|
|||||||
|
|
||||||
\newtcbtheorem[number within=chapter]{example}{\exampletitle}
|
\newtcbtheorem[number within=chapter]{example}{\exampletitle}
|
||||||
{%
|
{%
|
||||||
colback = CtpSky!10
|
colback = CtpSurface0
|
||||||
|
,colupper = CtpText
|
||||||
,breakable
|
,breakable
|
||||||
,colframe = CtpSky
|
,colframe = CtpTeal
|
||||||
,coltitle = CtpSky
|
,coltitle = CtpTeal
|
||||||
,boxrule = 1pt
|
,boxrule = 1pt
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
@@ -363,7 +375,7 @@
|
|||||||
%================================
|
%================================
|
||||||
|
|
||||||
\newtcbtheorem[number within=section]{Definition}{Definition}{enhanced,
|
\newtcbtheorem[number within=section]{Definition}{Definition}{enhanced,
|
||||||
before skip=2mm,after skip=2mm, colback=CtpRed!5,colframe=CtpRed!80!CtpText,boxrule=0.5mm,
|
before skip=2mm,after skip=2mm, colback=CtpSurface0,colupper=CtpText,colframe=CtpRed!80!CtpText,boxrule=0.5mm,
|
||||||
attach boxed title to top left={xshift=1cm,yshift*=1mm-\tcboxedtitleheight}, varwidth boxed title*=-3cm,
|
attach boxed title to top left={xshift=1cm,yshift*=1mm-\tcboxedtitleheight}, varwidth boxed title*=-3cm,
|
||||||
boxed title style={frame code={
|
boxed title style={frame code={
|
||||||
\path[fill=CtpRed]
|
\path[fill=CtpRed]
|
||||||
@@ -404,7 +416,6 @@
|
|||||||
title={#2},#1}{def}
|
title={#2},#1}{def}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%================================
|
%================================
|
||||||
% Solution BOX
|
% Solution BOX
|
||||||
%================================
|
%================================
|
||||||
@@ -413,6 +424,7 @@
|
|||||||
\newtcbtheorem{question}{\questiontitle}{enhanced,
|
\newtcbtheorem{question}{\questiontitle}{enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=CtpSurface0,
|
colback=CtpSurface0,
|
||||||
|
colupper=CtpText,
|
||||||
colframe=CtpSaphire!80!CtpText,
|
colframe=CtpSaphire!80!CtpText,
|
||||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||||
fonttitle=\bfseries,
|
fonttitle=\bfseries,
|
||||||
@@ -443,6 +455,7 @@
|
|||||||
\newtcolorbox{solution}{enhanced,
|
\newtcolorbox{solution}{enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=CtpSurface0,
|
colback=CtpSurface0,
|
||||||
|
colupper=CtpText,
|
||||||
colframe=CtpGreen!80!CtpText,
|
colframe=CtpGreen!80!CtpText,
|
||||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||||
title=Solution,
|
title=Solution,
|
||||||
@@ -471,6 +484,7 @@
|
|||||||
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
|
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=CtpSurface0,
|
colback=CtpSurface0,
|
||||||
|
colupper=CtpText,
|
||||||
colframe=CtpTeal,
|
colframe=CtpTeal,
|
||||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||||
fonttitle=\bfseries,
|
fonttitle=\bfseries,
|
||||||
@@ -497,18 +511,19 @@
|
|||||||
breakable,
|
breakable,
|
||||||
enhanced,
|
enhanced,
|
||||||
colback=CtpSurface0,
|
colback=CtpSurface0,
|
||||||
colframe=CtpRed,
|
colupper=CtpText,
|
||||||
|
colframe=CtpTeal,
|
||||||
arc=0pt,
|
arc=0pt,
|
||||||
outer arc=0pt,
|
outer arc=0pt,
|
||||||
fonttitle=\bfseries\sffamily\large,
|
fonttitle=\bfseries\sffamily\large,
|
||||||
colbacktitle=CtpRed,
|
colbacktitle=CtpTeal,
|
||||||
attach boxed title to top left={},
|
attach boxed title to top left={},
|
||||||
boxed title style={
|
boxed title style={
|
||||||
enhanced,
|
enhanced,
|
||||||
skin=enhancedfirst jigsaw,
|
skin=enhancedfirst jigsaw,
|
||||||
arc=3pt,
|
arc=3pt,
|
||||||
bottom=0pt,
|
bottom=0pt,
|
||||||
interior style={fill=CtpRed}
|
interior style={fill=CtpTeal}
|
||||||
},
|
},
|
||||||
#1
|
#1
|
||||||
}{def}
|
}{def}
|
||||||
@@ -523,19 +538,21 @@
|
|||||||
\tcbuselibrary{skins}
|
\tcbuselibrary{skins}
|
||||||
\newtcolorbox{note}[1][]{%
|
\newtcolorbox{note}[1][]{%
|
||||||
enhanced jigsaw,
|
enhanced jigsaw,
|
||||||
colback=CtpSurface1,%
|
colback=CtpSurface0,%
|
||||||
colframe=CtpSurface0
|
colframe=CtpSurface1,
|
||||||
|
colupper=CtpText,
|
||||||
size=small,
|
size=small,
|
||||||
boxrule=1pt,
|
boxrule=1pt,
|
||||||
title=\textbf{Bemerkung:-},
|
title=\textbf{\notetitle},
|
||||||
halign title=flush center,
|
halign title=flush center,
|
||||||
coltitle=black,
|
coltitle=CtpText,
|
||||||
breakable,
|
breakable,
|
||||||
drop shadow=black!50!white,
|
drop shadow=CtpCrust,
|
||||||
attach boxed title to top left={xshift=1cm,yshift=-\tcboxedtitleheight/2,yshifttext=-\tcboxedtitleheight/2},
|
attach boxed title to top left={xshift=1cm,yshift=-\tcboxedtitleheight/2,yshifttext=-\tcboxedtitleheight/2},
|
||||||
minipage boxed title=2.5cm,
|
minipage boxed title=2.5cm,
|
||||||
boxed title style={%
|
boxed title style={%
|
||||||
colback=CtpBase,
|
colback=CtpSurface0,
|
||||||
|
colupper=CtpText,
|
||||||
size=fbox,
|
size=fbox,
|
||||||
boxrule=1pt,
|
boxrule=1pt,
|
||||||
boxsep=2pt,
|
boxsep=2pt,
|
||||||
@@ -675,16 +692,16 @@
|
|||||||
\titlecontents{chapter}[3.7pc]
|
\titlecontents{chapter}[3.7pc]
|
||||||
{\addvspace{30pt}%
|
{\addvspace{30pt}%
|
||||||
\begin{tikzpicture}[remember picture, overlay]%
|
\begin{tikzpicture}[remember picture, overlay]%
|
||||||
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (-7,-.1) rectangle (-0.9,.5);%
|
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (-7,-.1) rectangle (-0.5,.5);%
|
||||||
\pgftext[left,x=-3.5cm,y=0.2cm]{\color{white}\Large\sc\bfseries \chaptertitle\ \thecontentslabel};%
|
\pgftext[left,x=-3.5cm,y=0.2cm]{\color{white}\Large\sc\bfseries \chaptertitle\ \thecontentslabel};%
|
||||||
\end{tikzpicture}\color{CtpBlue!60}\large\sc\bfseries}%
|
\end{tikzpicture}\color{CtpBlue!60}\large\sc\bfseries}%
|
||||||
{}
|
{}
|
||||||
{}
|
{}
|
||||||
{\;\titlerule\;\large\sc\bfseries \pagetitle \thecontentspage
|
{\;\titlerule\;\large\sc\bfseries \pagetitle\ \thecontentspage
|
||||||
\begin{tikzpicture}[remember picture, overlay]
|
\begin{tikzpicture}[remember picture, overlay]
|
||||||
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (2pt,0) rectangle (4,0.1pt);
|
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (2pt,0) rectangle (4,0.1pt);
|
||||||
\end{tikzpicture}}%
|
\end{tikzpicture}}%
|
||||||
\titlecontents{section}[3.7pc]
|
\titlecontents{section}[4.7pc]
|
||||||
{\addvspace{2pt}}
|
{\addvspace{2pt}}
|
||||||
{\contentslabel[\thecontentslabel]{2pc}}
|
{\contentslabel[\thecontentslabel]{2pc}}
|
||||||
{}
|
{}
|
||||||
|
|||||||
Reference in New Issue
Block a user