Dotfiles V.1.2.1
Changed LaTeX template Modified lspconfig Modified .gitignore
This commit is contained in:
@@ -16,7 +16,6 @@ return {
|
|||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = true,
|
virtual_text = true,
|
||||||
virtual_lines = true,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
wk.add({
|
wk.add({
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
% PACKAGE IMPORTS
|
% PACKAGE IMPORTS
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
% TODO: Uncomment if the paper is in German
|
|
||||||
% \usepackage[ngerman]{babel}
|
% \usepackage[ngerman]{babel}
|
||||||
|
\usepackage[macchiato, styleAll]{catppuccinpalette}
|
||||||
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
|
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
|
||||||
\usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools}
|
\usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools}
|
||||||
\usepackage[varbb]{newpxmath}
|
\usepackage[varbb]{newpxmath}
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
\usepackage{hyperref,theoremref}
|
\usepackage{hyperref,theoremref}
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
pdftitle={\papertitle},
|
pdftitle={\papertitle},
|
||||||
colorlinks=true, linkcolor=doc!90,
|
colorlinks=true, linkcolor=CtpBlue!90,
|
||||||
bookmarksnumbered=true,
|
bookmarksnumbered=true,
|
||||||
bookmarksopen=true
|
bookmarksopen=true
|
||||||
}
|
}
|
||||||
@@ -28,20 +28,12 @@
|
|||||||
\usepackage{nameref}
|
\usepackage{nameref}
|
||||||
\usepackage{multicol,array}
|
\usepackage{multicol,array}
|
||||||
\usepackage{tikz-cd}
|
\usepackage{tikz-cd}
|
||||||
\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
|
\usepackage{listings}
|
||||||
\usepackage{comment} % enables the use of multi-line comments (\ifx \fi)
|
\usepackage{comment} % enables the use of multi-line comments (\ifx \fi)
|
||||||
\usepackage{import}
|
\usepackage{import}
|
||||||
\usepackage{xifthen}
|
\usepackage{xifthen}
|
||||||
\usepackage{pdfpages}
|
\usepackage{pdfpages}
|
||||||
\usepackage{transparent}
|
\usepackage{transparent}
|
||||||
|
|
||||||
\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}}
|
|
||||||
\SetCommentSty{mycommfont}
|
|
||||||
\newcommand{\incfig}[1]{%
|
|
||||||
\def\svgwidth{\columnwidth}
|
|
||||||
\import{./figures/}{#1.pdf_tex}
|
|
||||||
}
|
|
||||||
|
|
||||||
\usepackage{tikzsymbols}
|
\usepackage{tikzsymbols}
|
||||||
\renewcommand\qedsymbol{$\Laughey$}
|
\renewcommand\qedsymbol{$\Laughey$}
|
||||||
|
|
||||||
@@ -51,33 +43,11 @@
|
|||||||
%\usepackage{pdfpages}
|
%\usepackage{pdfpages}
|
||||||
%\usepackage{transparent}
|
%\usepackage{transparent}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% LISTINGS SETUP
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% Add Settings for Code Blocks
|
||||||
% SELF MADE COLORS
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
\definecolor{myg}{RGB}{56, 140, 70}
|
|
||||||
\definecolor{myb}{RGB}{45, 111, 177}
|
|
||||||
\definecolor{myr}{RGB}{199, 68, 64}
|
|
||||||
\definecolor{mytheorembg}{HTML}{F2F2F9}
|
|
||||||
\definecolor{mytheoremfr}{HTML}{00007B}
|
|
||||||
\definecolor{mylenmabg}{HTML}{FFFAF8}
|
|
||||||
\definecolor{mylenmafr}{HTML}{983b0f}
|
|
||||||
\definecolor{mypropbg}{HTML}{f2fbfc}
|
|
||||||
\definecolor{mypropfr}{HTML}{191971}
|
|
||||||
\definecolor{myexamplebg}{HTML}{F2FBF8}
|
|
||||||
\definecolor{myexamplefr}{HTML}{88D6D1}
|
|
||||||
\definecolor{myexampleti}{HTML}{2A7F7F}
|
|
||||||
\definecolor{mydefinitbg}{HTML}{E5E5FF}
|
|
||||||
\definecolor{mydefinitfr}{HTML}{3F3FA3}
|
|
||||||
\definecolor{notesgreen}{RGB}{0,162,0}
|
|
||||||
\definecolor{myp}{RGB}{197, 92, 212}
|
|
||||||
\definecolor{mygr}{HTML}{2C3338}
|
|
||||||
\definecolor{myred}{RGB}{127,0,0}
|
|
||||||
\definecolor{myyellow}{RGB}{169,121,69}
|
|
||||||
\definecolor{myexercisebg}{HTML}{F2FBF8}
|
|
||||||
\definecolor{myexercisefg}{HTML}{88D6D1}
|
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% TCOLORBOX SETUPS
|
% TCOLORBOX SETUPS
|
||||||
@@ -94,18 +64,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = mytheorembg,
|
colback = CtpMaroon,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{mytheoremfr},
|
borderline west = {2pt}{0pt}{CtpRed},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = mytheoremfr,
|
coltitle = CtpRed,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, mytheoremfr},
|
segmentation style={solid, CtpRed},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -114,18 +84,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = mytheorembg,
|
colback = CtpMaroon,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{mytheoremfr},
|
borderline west = {2pt}{0pt}{CtpRed},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = mytheoremfr,
|
coltitle = CtpRed,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, mytheoremfr},
|
segmentation style={solid, CtpRed},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -135,10 +105,10 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = mytheorembg
|
,colback = CtpMaroon
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{mytheoremfr}
|
,borderline west = {2pt}{0pt}{CtpRed}
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,description font = \mdseries
|
,description font = \mdseries
|
||||||
,separator sign none
|
,separator sign none
|
||||||
@@ -154,18 +124,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = myp!10
|
,colback = CtpMauve!10
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{myp!85!black}
|
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
,before upper = \tcbtitle\par\smallskip
|
,before upper = \tcbtitle\par\smallskip
|
||||||
,coltitle = myp!85!black
|
,coltitle = CtpMauve!85!black
|
||||||
,fonttitle = \bfseries\sffamily
|
,fonttitle = \bfseries\sffamily
|
||||||
,description font = \mdseries
|
,description font = \mdseries
|
||||||
,separator sign none
|
,separator sign none
|
||||||
,segmentation style={solid, myp!85!black}
|
,segmentation style={solid, CtpMauve!85!black}
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
\tcbuselibrary{theorems,skins,hooks}
|
\tcbuselibrary{theorems,skins,hooks}
|
||||||
@@ -173,18 +143,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = myp!10
|
,colback = CtpMauve!10
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{myp!85!black}
|
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
,before upper = \tcbtitle\par\smallskip
|
,before upper = \tcbtitle\par\smallskip
|
||||||
,coltitle = myp!85!black
|
,coltitle = CtpMauve!85!black
|
||||||
,fonttitle = \bfseries\sffamily
|
,fonttitle = \bfseries\sffamily
|
||||||
,description font = \mdseries
|
,description font = \mdseries
|
||||||
,separator sign none
|
,separator sign none
|
||||||
,segmentation style={solid, myp!85!black}
|
,segmentation style={solid, CtpMauve!85!black}
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -198,18 +168,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = mylenmabg,
|
colback = CtpRosewater,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{mylenmafr},
|
borderline west = {2pt}{0pt}{CtpPeach},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = mylenmafr,
|
coltitle = CtpPeach,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, mylenmafr},
|
segmentation style={solid, CtpPeach},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -218,18 +188,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = mylenmabg,
|
colback = CtpRosewater,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{mylenmafr},
|
borderline west = {2pt}{0pt}{CtpPeach},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = mylenmafr,
|
coltitle = CtpPeach,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, mylenmafr},
|
segmentation style={solid, CtpPeach},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -243,18 +213,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = mypropbg,
|
colback = CtpBlue!10,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{mypropfr},
|
borderline west = {2pt}{0pt}{CtpBlue},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = mypropfr,
|
coltitle = CtpBlue,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, mypropfr},
|
segmentation style={solid, CtpBlue},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -263,18 +233,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = mypropbg,
|
colback = CtpBlue!10,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{mypropfr},
|
borderline west = {2pt}{0pt}{CtpBlue},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = mypropfr,
|
coltitle = CtpBlue,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, mypropfr},
|
segmentation style={solid, CtpBlue},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -288,18 +258,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced
|
enhanced
|
||||||
,breakable
|
,breakable
|
||||||
,colback = myg!10
|
,colback = CtpGreen!10
|
||||||
,frame hidden
|
,frame hidden
|
||||||
,boxrule = 0sp
|
,boxrule = 0sp
|
||||||
,borderline west = {2pt}{0pt}{myg}
|
,borderline west = {2pt}{0pt}{CtpGreen}
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
,before upper = \tcbtitle\par\smallskip
|
,before upper = \tcbtitle\par\smallskip
|
||||||
,coltitle = myg!85!black
|
,coltitle = CtpGreen!85!black
|
||||||
,fonttitle = \bfseries\sffamily
|
,fonttitle = \bfseries\sffamily
|
||||||
,description font = \mdseries
|
,description font = \mdseries
|
||||||
,separator sign none
|
,separator sign none
|
||||||
,segmentation style={solid, myg!85!black}
|
,segmentation style={solid, CtpGreen!85!black}
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -314,18 +284,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = myexercisebg,
|
colback = CtpFlamingo,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{myexercisefg},
|
borderline west = {2pt}{0pt}{CtpPink},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = myexercisefg,
|
coltitle = CtpPink,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, myexercisefg},
|
segmentation style={solid, CtpPink},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -334,18 +304,18 @@
|
|||||||
{%
|
{%
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback = myexercisebg,
|
colback = CtpFlamingo,
|
||||||
frame hidden,
|
frame hidden,
|
||||||
boxrule = 0sp,
|
boxrule = 0sp,
|
||||||
borderline west = {2pt}{0pt}{myexercisefg},
|
borderline west = {2pt}{0pt}{CtpPink},
|
||||||
sharp corners,
|
sharp corners,
|
||||||
detach title,
|
detach title,
|
||||||
before upper = \tcbtitle\par\smallskip,
|
before upper = \tcbtitle\par\smallskip,
|
||||||
coltitle = myexercisefg,
|
coltitle = CtpPink,
|
||||||
fonttitle = \bfseries\sffamily,
|
fonttitle = \bfseries\sffamily,
|
||||||
description font = \mdseries,
|
description font = \mdseries,
|
||||||
separator sign none,
|
separator sign none,
|
||||||
segmentation style={solid, myexercisefg},
|
segmentation style={solid, CtpPink},
|
||||||
}
|
}
|
||||||
{th}
|
{th}
|
||||||
|
|
||||||
@@ -355,10 +325,10 @@
|
|||||||
|
|
||||||
\newtcbtheorem[number within=section]{Example}{\exampletitle}
|
\newtcbtheorem[number within=section]{Example}{\exampletitle}
|
||||||
{%
|
{%
|
||||||
colback = myexamplebg
|
colback = CtpSky!10
|
||||||
,breakable
|
,breakable
|
||||||
,colframe = myexamplefr
|
,colframe = CtpSky
|
||||||
,coltitle = myexampleti
|
,coltitle = CtpSky
|
||||||
,boxrule = 1pt
|
,boxrule = 1pt
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
@@ -372,10 +342,10 @@
|
|||||||
|
|
||||||
\newtcbtheorem[number within=chapter]{example}{\exampletitle}
|
\newtcbtheorem[number within=chapter]{example}{\exampletitle}
|
||||||
{%
|
{%
|
||||||
colback = myexamplebg
|
colback = CtpSky!10
|
||||||
,breakable
|
,breakable
|
||||||
,colframe = myexamplefr
|
,colframe = CtpSky
|
||||||
,coltitle = myexampleti
|
,coltitle = CtpSky
|
||||||
,boxrule = 1pt
|
,boxrule = 1pt
|
||||||
,sharp corners
|
,sharp corners
|
||||||
,detach title
|
,detach title
|
||||||
@@ -442,7 +412,7 @@
|
|||||||
\newtcbtheorem{question}{\questiontitle}{enhanced,
|
\newtcbtheorem{question}{\questiontitle}{enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=white,
|
colback=white,
|
||||||
colframe=myb!80!black,
|
colframe=CtpSaphire!80!black,
|
||||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||||
fonttitle=\bfseries,
|
fonttitle=\bfseries,
|
||||||
title={#2},
|
title={#2},
|
||||||
@@ -472,7 +442,7 @@
|
|||||||
\newtcolorbox{solution}{enhanced,
|
\newtcolorbox{solution}{enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=white,
|
colback=white,
|
||||||
colframe=myg!80!black,
|
colframe=CtpGreen!80!black,
|
||||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||||
title=Solution,
|
title=Solution,
|
||||||
boxed title size=title,
|
boxed title size=title,
|
||||||
@@ -500,7 +470,7 @@
|
|||||||
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
|
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=white,
|
colback=white,
|
||||||
colframe=mygr,
|
colframe=CtpTeal,
|
||||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||||
fonttitle=\bfseries,
|
fonttitle=\bfseries,
|
||||||
title={#2},
|
title={#2},
|
||||||
@@ -526,18 +496,18 @@
|
|||||||
breakable,
|
breakable,
|
||||||
enhanced,
|
enhanced,
|
||||||
colback=white,
|
colback=white,
|
||||||
colframe=myr,
|
colframe=CtpRed,
|
||||||
arc=0pt,
|
arc=0pt,
|
||||||
outer arc=0pt,
|
outer arc=0pt,
|
||||||
fonttitle=\bfseries\sffamily\large,
|
fonttitle=\bfseries\sffamily\large,
|
||||||
colbacktitle=myr,
|
colbacktitle=CtpRed,
|
||||||
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=myr}
|
interior style={fill=CtpRed}
|
||||||
},
|
},
|
||||||
#1
|
#1
|
||||||
}{def}
|
}{def}
|
||||||
@@ -699,20 +669,19 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\definecolor{doc}{RGB}{0,60,110}
|
|
||||||
\usepackage{titletoc}
|
\usepackage{titletoc}
|
||||||
\contentsmargin{0cm}
|
\contentsmargin{0cm}
|
||||||
\titlecontents{chapter}[3.7pc]
|
\titlecontents{chapter}[3.7pc]
|
||||||
{\addvspace{30pt}%
|
{\addvspace{30pt}%
|
||||||
\begin{tikzpicture}[remember picture, overlay]%
|
\begin{tikzpicture}[remember picture, overlay]%
|
||||||
\draw[fill=doc!60,draw=doc!60] (-7,-.1) rectangle (-0.9,.5);%
|
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (-7,-.1) rectangle (-0.9,.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{doc!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=doc!60,draw=doc!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}[3.7pc]
|
||||||
{\addvspace{2pt}}
|
{\addvspace{2pt}}
|
||||||
@@ -732,10 +701,11 @@
|
|||||||
\chapter*{%
|
\chapter*{%
|
||||||
\vspace*{-20\p@}%
|
\vspace*{-20\p@}%
|
||||||
\begin{tikzpicture}[remember picture, overlay]%
|
\begin{tikzpicture}[remember picture, overlay]%
|
||||||
\pgftext[right,x=15cm,y=0.2cm]{\color{doc!60}\Huge\sc\bfseries \contentsname};%
|
\pgftext[right,x=15cm,y=0.2cm]{\color{CtpBlue!60}\Huge\sc\bfseries \contentsname};%
|
||||||
\draw[fill=doc!60,draw=doc!60] (13,-.75) rectangle (20,1);%
|
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (13,-.75) rectangle (20,1);%
|
||||||
\clip (13,-.75) rectangle (20,1);
|
\clip (13,-.75) rectangle (20,1);
|
||||||
\pgftext[right,x=15cm,y=0.2cm]{\color{white}\Huge\sc\bfseries \contentsname};%
|
\pgftext[right,x=15cm,y=0.2cm]{\color{white}\Huge\sc\bfseries \contentsname};%
|
||||||
\end{tikzpicture}}%
|
\end{tikzpicture}}%
|
||||||
\@starttoc{toc}}
|
\@starttoc{toc}}
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
5
.gitignore
vendored
5
.gitignore
vendored
@@ -7,3 +7,8 @@
|
|||||||
.config/tmux/plugins/
|
.config/tmux/plugins/
|
||||||
.config/thefuck/
|
.config/thefuck/
|
||||||
.config/opencode
|
.config/opencode
|
||||||
|
|
||||||
|
# Copyright Reasons
|
||||||
|
|
||||||
|
.config/nvim/templates/latex/eth_paper
|
||||||
|
.config/nvim/templates/latex/eth_beamer
|
||||||
|
|||||||
Reference in New Issue
Block a user