-
Notifications
You must be signed in to change notification settings - Fork 0
/
in_header.tex
50 lines (44 loc) · 1.5 KB
/
in_header.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
\addtokomafont{disposition}{\rmfamily}
\KOMAoptions{numbers=noenddot}
\usepackage{libertine}
\usepackage{libertinus-otf}
\usepackage{color}
\definecolor{formalColor}{HTML}{00A2FF}
\definecolor{semanticColor}{HTML}{1DB100}
\definecolor{concreteColor}{HTML}{EE220C}
\definecolor{empiricColor}{HTML}{F8BA00}
\definecolor{linkColor}{HTML}{929292}
\definecolor{quoteColor}{HTML}{666666}
% \usepackage{framed}
% \renewenvironment{quote}{
% \list{}{
% \leftmargin0.2cm % this is the adjusting screw
% \rightmargin\leftmargin
% \def\FrameCommand
% {%
% {\color{quoteColor}\vrule width 3pt}%
% \hspace{0pt}%must no space.
% %
% }%
% \MakeFramed{\advance \hsize -\width \FrameRestore} \color{quoteColor}
% }
% \item\relax
% }
% {\endlist\color{black}\endMakeFramed}
\makeatletter
\def\renewtheorem#1{%
\expandafter\let\csname#1\endcsname\relax
\expandafter\let\csname c@#1\endcsname\relax
\gdef\renewtheorem@envname{#1}
\renewtheorem@secpar
}
\def\renewtheorem@secpar{\@ifnextchar[{\renewtheorem@numberedlike}{\renewtheorem@nonumberedlike}}
\def\renewtheorem@numberedlike[#1]#2{\newtheorem{\renewtheorem@envname}[#1]{#2}}
\def\renewtheorem@nonumberedlike#1{
\def\renewtheorem@caption{#1}
\edef\renewtheorem@nowithin{\noexpand\newtheorem{\renewtheorem@envname}{\renewtheorem@caption}}
\renewtheorem@thirdpar
}
\def\renewtheorem@thirdpar{\@ifnextchar[{\renewtheorem@within}{\renewtheorem@nowithin}}
\def\renewtheorem@within[#1]{\renewtheorem@nowithin[#1]}
\makeatother