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({
|
||||
virtual_text = true,
|
||||
virtual_lines = true,
|
||||
})
|
||||
|
||||
wk.add({
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
% PACKAGE IMPORTS
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% TODO: Uncomment if the paper is in German
|
||||
% \usepackage[ngerman]{babel}
|
||||
\usepackage[macchiato, styleAll]{catppuccinpalette}
|
||||
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
|
||||
\usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools}
|
||||
\usepackage[varbb]{newpxmath}
|
||||
@@ -15,7 +15,7 @@
|
||||
\usepackage{hyperref,theoremref}
|
||||
\hypersetup{
|
||||
pdftitle={\papertitle},
|
||||
colorlinks=true, linkcolor=doc!90,
|
||||
colorlinks=true, linkcolor=CtpBlue!90,
|
||||
bookmarksnumbered=true,
|
||||
bookmarksopen=true
|
||||
}
|
||||
@@ -28,20 +28,12 @@
|
||||
\usepackage{nameref}
|
||||
\usepackage{multicol,array}
|
||||
\usepackage{tikz-cd}
|
||||
\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
|
||||
\usepackage{listings}
|
||||
\usepackage{comment} % enables the use of multi-line comments (\ifx \fi)
|
||||
\usepackage{import}
|
||||
\usepackage{xifthen}
|
||||
\usepackage{pdfpages}
|
||||
\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}
|
||||
\renewcommand\qedsymbol{$\Laughey$}
|
||||
|
||||
@@ -51,33 +43,11 @@
|
||||
%\usepackage{pdfpages}
|
||||
%\usepackage{transparent}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% LISTINGS SETUP
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% 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}
|
||||
|
||||
% Add Settings for Code Blocks
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% TCOLORBOX SETUPS
|
||||
@@ -94,18 +64,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = mytheorembg,
|
||||
colback = CtpMaroon,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{mytheoremfr},
|
||||
borderline west = {2pt}{0pt}{CtpRed},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = mytheoremfr,
|
||||
coltitle = CtpRed,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, mytheoremfr},
|
||||
segmentation style={solid, CtpRed},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -114,18 +84,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = mytheorembg,
|
||||
colback = CtpMaroon,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{mytheoremfr},
|
||||
borderline west = {2pt}{0pt}{CtpRed},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = mytheoremfr,
|
||||
coltitle = CtpRed,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, mytheoremfr},
|
||||
segmentation style={solid, CtpRed},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -135,10 +105,10 @@
|
||||
{%
|
||||
enhanced
|
||||
,breakable
|
||||
,colback = mytheorembg
|
||||
,colback = CtpMaroon
|
||||
,frame hidden
|
||||
,boxrule = 0sp
|
||||
,borderline west = {2pt}{0pt}{mytheoremfr}
|
||||
,borderline west = {2pt}{0pt}{CtpRed}
|
||||
,sharp corners
|
||||
,description font = \mdseries
|
||||
,separator sign none
|
||||
@@ -154,18 +124,18 @@
|
||||
{%
|
||||
enhanced
|
||||
,breakable
|
||||
,colback = myp!10
|
||||
,colback = CtpMauve!10
|
||||
,frame hidden
|
||||
,boxrule = 0sp
|
||||
,borderline west = {2pt}{0pt}{myp!85!black}
|
||||
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
||||
,sharp corners
|
||||
,detach title
|
||||
,before upper = \tcbtitle\par\smallskip
|
||||
,coltitle = myp!85!black
|
||||
,coltitle = CtpMauve!85!black
|
||||
,fonttitle = \bfseries\sffamily
|
||||
,description font = \mdseries
|
||||
,separator sign none
|
||||
,segmentation style={solid, myp!85!black}
|
||||
,segmentation style={solid, CtpMauve!85!black}
|
||||
}
|
||||
{th}
|
||||
\tcbuselibrary{theorems,skins,hooks}
|
||||
@@ -173,18 +143,18 @@
|
||||
{%
|
||||
enhanced
|
||||
,breakable
|
||||
,colback = myp!10
|
||||
,colback = CtpMauve!10
|
||||
,frame hidden
|
||||
,boxrule = 0sp
|
||||
,borderline west = {2pt}{0pt}{myp!85!black}
|
||||
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
|
||||
,sharp corners
|
||||
,detach title
|
||||
,before upper = \tcbtitle\par\smallskip
|
||||
,coltitle = myp!85!black
|
||||
,coltitle = CtpMauve!85!black
|
||||
,fonttitle = \bfseries\sffamily
|
||||
,description font = \mdseries
|
||||
,separator sign none
|
||||
,segmentation style={solid, myp!85!black}
|
||||
,segmentation style={solid, CtpMauve!85!black}
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -198,18 +168,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = mylenmabg,
|
||||
colback = CtpRosewater,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{mylenmafr},
|
||||
borderline west = {2pt}{0pt}{CtpPeach},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = mylenmafr,
|
||||
coltitle = CtpPeach,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, mylenmafr},
|
||||
segmentation style={solid, CtpPeach},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -218,18 +188,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = mylenmabg,
|
||||
colback = CtpRosewater,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{mylenmafr},
|
||||
borderline west = {2pt}{0pt}{CtpPeach},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = mylenmafr,
|
||||
coltitle = CtpPeach,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, mylenmafr},
|
||||
segmentation style={solid, CtpPeach},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -243,18 +213,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = mypropbg,
|
||||
colback = CtpBlue!10,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{mypropfr},
|
||||
borderline west = {2pt}{0pt}{CtpBlue},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = mypropfr,
|
||||
coltitle = CtpBlue,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, mypropfr},
|
||||
segmentation style={solid, CtpBlue},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -263,18 +233,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = mypropbg,
|
||||
colback = CtpBlue!10,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{mypropfr},
|
||||
borderline west = {2pt}{0pt}{CtpBlue},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = mypropfr,
|
||||
coltitle = CtpBlue,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, mypropfr},
|
||||
segmentation style={solid, CtpBlue},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -288,18 +258,18 @@
|
||||
{%
|
||||
enhanced
|
||||
,breakable
|
||||
,colback = myg!10
|
||||
,colback = CtpGreen!10
|
||||
,frame hidden
|
||||
,boxrule = 0sp
|
||||
,borderline west = {2pt}{0pt}{myg}
|
||||
,borderline west = {2pt}{0pt}{CtpGreen}
|
||||
,sharp corners
|
||||
,detach title
|
||||
,before upper = \tcbtitle\par\smallskip
|
||||
,coltitle = myg!85!black
|
||||
,coltitle = CtpGreen!85!black
|
||||
,fonttitle = \bfseries\sffamily
|
||||
,description font = \mdseries
|
||||
,separator sign none
|
||||
,segmentation style={solid, myg!85!black}
|
||||
,segmentation style={solid, CtpGreen!85!black}
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -314,18 +284,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = myexercisebg,
|
||||
colback = CtpFlamingo,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{myexercisefg},
|
||||
borderline west = {2pt}{0pt}{CtpPink},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = myexercisefg,
|
||||
coltitle = CtpPink,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, myexercisefg},
|
||||
segmentation style={solid, CtpPink},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -334,18 +304,18 @@
|
||||
{%
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = myexercisebg,
|
||||
colback = CtpFlamingo,
|
||||
frame hidden,
|
||||
boxrule = 0sp,
|
||||
borderline west = {2pt}{0pt}{myexercisefg},
|
||||
borderline west = {2pt}{0pt}{CtpPink},
|
||||
sharp corners,
|
||||
detach title,
|
||||
before upper = \tcbtitle\par\smallskip,
|
||||
coltitle = myexercisefg,
|
||||
coltitle = CtpPink,
|
||||
fonttitle = \bfseries\sffamily,
|
||||
description font = \mdseries,
|
||||
separator sign none,
|
||||
segmentation style={solid, myexercisefg},
|
||||
segmentation style={solid, CtpPink},
|
||||
}
|
||||
{th}
|
||||
|
||||
@@ -355,10 +325,10 @@
|
||||
|
||||
\newtcbtheorem[number within=section]{Example}{\exampletitle}
|
||||
{%
|
||||
colback = myexamplebg
|
||||
colback = CtpSky!10
|
||||
,breakable
|
||||
,colframe = myexamplefr
|
||||
,coltitle = myexampleti
|
||||
,colframe = CtpSky
|
||||
,coltitle = CtpSky
|
||||
,boxrule = 1pt
|
||||
,sharp corners
|
||||
,detach title
|
||||
@@ -372,10 +342,10 @@
|
||||
|
||||
\newtcbtheorem[number within=chapter]{example}{\exampletitle}
|
||||
{%
|
||||
colback = myexamplebg
|
||||
colback = CtpSky!10
|
||||
,breakable
|
||||
,colframe = myexamplefr
|
||||
,coltitle = myexampleti
|
||||
,colframe = CtpSky
|
||||
,coltitle = CtpSky
|
||||
,boxrule = 1pt
|
||||
,sharp corners
|
||||
,detach title
|
||||
@@ -442,7 +412,7 @@
|
||||
\newtcbtheorem{question}{\questiontitle}{enhanced,
|
||||
breakable,
|
||||
colback=white,
|
||||
colframe=myb!80!black,
|
||||
colframe=CtpSaphire!80!black,
|
||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||
fonttitle=\bfseries,
|
||||
title={#2},
|
||||
@@ -472,7 +442,7 @@
|
||||
\newtcolorbox{solution}{enhanced,
|
||||
breakable,
|
||||
colback=white,
|
||||
colframe=myg!80!black,
|
||||
colframe=CtpGreen!80!black,
|
||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||
title=Solution,
|
||||
boxed title size=title,
|
||||
@@ -500,7 +470,7 @@
|
||||
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
|
||||
breakable,
|
||||
colback=white,
|
||||
colframe=mygr,
|
||||
colframe=CtpTeal,
|
||||
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
|
||||
fonttitle=\bfseries,
|
||||
title={#2},
|
||||
@@ -526,18 +496,18 @@
|
||||
breakable,
|
||||
enhanced,
|
||||
colback=white,
|
||||
colframe=myr,
|
||||
colframe=CtpRed,
|
||||
arc=0pt,
|
||||
outer arc=0pt,
|
||||
fonttitle=\bfseries\sffamily\large,
|
||||
colbacktitle=myr,
|
||||
colbacktitle=CtpRed,
|
||||
attach boxed title to top left={},
|
||||
boxed title style={
|
||||
enhanced,
|
||||
skin=enhancedfirst jigsaw,
|
||||
arc=3pt,
|
||||
bottom=0pt,
|
||||
interior style={fill=myr}
|
||||
interior style={fill=CtpRed}
|
||||
},
|
||||
#1
|
||||
}{def}
|
||||
@@ -699,20 +669,19 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\usepackage{tikz}
|
||||
\definecolor{doc}{RGB}{0,60,110}
|
||||
\usepackage{titletoc}
|
||||
\contentsmargin{0cm}
|
||||
\titlecontents{chapter}[3.7pc]
|
||||
{\addvspace{30pt}%
|
||||
\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};%
|
||||
\end{tikzpicture}\color{doc!60}\large\sc\bfseries}%
|
||||
\end{tikzpicture}\color{CtpBlue!60}\large\sc\bfseries}%
|
||||
{}
|
||||
{}
|
||||
{\;\titlerule\;\large\sc\bfseries \pagetitle \thecontentspage
|
||||
\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}}%
|
||||
\titlecontents{section}[3.7pc]
|
||||
{\addvspace{2pt}}
|
||||
@@ -732,10 +701,11 @@
|
||||
\chapter*{%
|
||||
\vspace*{-20\p@}%
|
||||
\begin{tikzpicture}[remember picture, overlay]%
|
||||
\pgftext[right,x=15cm,y=0.2cm]{\color{doc!60}\Huge\sc\bfseries \contentsname};%
|
||||
\draw[fill=doc!60,draw=doc!60] (13,-.75) rectangle (20,1);%
|
||||
\pgftext[right,x=15cm,y=0.2cm]{\color{CtpBlue!60}\Huge\sc\bfseries \contentsname};%
|
||||
\draw[fill=CtpBlue!60,draw=CtpBlue!60] (13,-.75) rectangle (20,1);%
|
||||
\clip (13,-.75) rectangle (20,1);
|
||||
\pgftext[right,x=15cm,y=0.2cm]{\color{white}\Huge\sc\bfseries \contentsname};%
|
||||
\end{tikzpicture}}%
|
||||
\@starttoc{toc}}
|
||||
\makeatother
|
||||
|
||||
|
||||
Reference in New Issue
Block a user