Notes V.2.0.0

Rewrote Notes
This commit is contained in:
2026-01-07 13:51:33 +01:00
parent c1878069fd
commit bcd2ddfe42
13 changed files with 787 additions and 623 deletions

View File

@@ -2,6 +2,7 @@
% PACKAGE IMPORTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO: Change Bable Language if needed
% \usepackage[ngerman]{babel}
\usepackage[macchiato, styleAll]{catppuccinpalette}
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
@@ -34,7 +35,6 @@
\usepackage{xifthen}
\usepackage{pdfpages}
\usepackage{transparent}
\usepackage{tikzsymbols}
\renewcommand\qedsymbol{$\Laughey$}
@@ -69,15 +69,15 @@
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}
@@ -86,19 +86,19 @@
{%
enhanced,
breakable,
colback = CtpRosewater,
colupper = CtpSubtext0,
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}
@@ -108,11 +108,11 @@
{%
enhanced
,breakable
,colback = CtpRosewater
,colupper = CtpSubtext0
,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
@@ -120,7 +120,7 @@
%================================
% Corollery
% Corollary
%================================
\tcbuselibrary{theorems,skins,hooks}
@@ -128,7 +128,8 @@
{%
enhanced
,breakable
,colback = CtpMauve!10
,colback = CtpSurface0
,colupper = CtpText
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
@@ -147,7 +148,8 @@
{%
enhanced
,breakable
,colback = CtpMauve!10
,colback = CtpSurface0
,colupper = CtpText
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{CtpMauve!85!black}
@@ -172,7 +174,8 @@
{%
enhanced,
breakable,
colback = CtpRosewater,
colback = CtpSurface0,
colupper = CtpText,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{CtpPeach},
@@ -192,7 +195,8 @@
{%
enhanced,
breakable,
colback = CtpRosewater,
colback = CtpSurface0,
colupper = CtpText,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{CtpPeach},
@@ -262,7 +266,8 @@
{%
enhanced
,breakable
,colback = CtpGreen!10
,colback = CtpSurface0
,colupper = CtpText
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{CtpGreen}
@@ -288,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}
@@ -308,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}
@@ -329,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
@@ -346,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
@@ -414,8 +423,9 @@
\makeatletter
\newtcbtheorem{question}{\questiontitle}{enhanced,
breakable,
colback=white,
colframe=CtpSaphire!80!black,
colback=CtpSurface0,
colupper=CtpText,
colframe=CtpSaphire!80!CtpText,
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
fonttitle=\bfseries,
title={#2},
@@ -427,7 +437,7 @@
boxrule=0pt,
},
underlay boxed title={%
\path[fill=tcbcolframe] (title.south west)--(title.south east)
\path[fill=CtpSaphire] (title.south west)--(title.south east)
to[out=0, in=180] ([xshift=5mm]title.east)--
(title.center-|frame.east)
[rounded corners=\kvtcb@arc] |-
@@ -444,8 +454,9 @@
\makeatletter
\newtcolorbox{solution}{enhanced,
breakable,
colback=white,
colframe=CtpGreen!80!black,
colback=CtpSurface0,
colupper=CtpText,
colframe=CtpGreen!80!CtpText,
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
title=Solution,
boxed title size=title,
@@ -456,7 +467,7 @@
boxrule=0pt,
},
underlay boxed title={%
\path[fill=tcbcolframe] (title.south west)--(title.south east)
\path[fill=CtpGreen] (title.south west)--(title.south east)
to[out=0, in=180] ([xshift=5mm]title.east)--
(title.center-|frame.east)
[rounded corners=\kvtcb@arc] |-
@@ -472,7 +483,8 @@
\makeatletter
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
breakable,
colback=white,
colback=CtpSurface0,
colupper=CtpText,
colframe=CtpTeal,
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
fonttitle=\bfseries,
@@ -485,7 +497,7 @@
boxrule=0pt,
},
underlay boxed title={%
\path[fill=tcbcolframe] (title.south west)--(title.south east)
\path[fill=CtpTeal] (title.south west)--(title.south east)
to[out=0, in=180] ([xshift=5mm]title.east)--
(title.center-|frame.east)
[rounded corners=\kvtcb@arc] |-
@@ -498,19 +510,20 @@
\newtcbtheorem[number within=chapter]{wconc}{\wrongctitle}{
breakable,
enhanced,
colback=white,
colframe=CtpRed,
colback=CtpSurface0,
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}
@@ -525,19 +538,21 @@
\tcbuselibrary{skins}
\newtcolorbox{note}[1][]{%
enhanced jigsaw,
colback=gray!20!white,%
colframe=gray!80!black,
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=white,
colback=CtpSurface0,
colupper=CtpText,
size=fbox,
boxrule=1pt,
boxsep=2pt,
@@ -546,9 +561,9 @@
\coordinate (dotB) at ($(interior.east) + (0.5pt,0)$);
\begin{scope}
\clip (interior.north west) rectangle ([xshift=3ex]interior.east);
\filldraw [white, blur shadow={shadow opacity=60, shadow yshift=-.75ex}, rounded corners=2pt] (interior.north west) rectangle (interior.south east);
\filldraw [CtpBase, blur shadow={shadow opacity=60, shadow yshift=-.75ex}, rounded corners=2pt] (interior.north west) rectangle (interior.south east);
\end{scope}
\begin{scope}[gray!80!black]
\begin{scope}[CtpSurface1]
\fill (dotA) circle (2pt);
\fill (dotB) circle (2pt);
\end{scope}
@@ -711,3 +726,4 @@
\end{tikzpicture}}%
\@starttoc{toc}}
\makeatother