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