Update komageneral
This commit is contained in:
parent
75bcf695be
commit
a83ef1f3b5
2 changed files with 21 additions and 42 deletions
|
@ -6,17 +6,17 @@
|
|||
(setq TeX-command-extra-options
|
||||
"-shell-escape")
|
||||
(TeX-add-to-alist 'LaTeX-provided-package-options
|
||||
'(("fontspec" "") ("geometry" "") ("scrlayer-scrpage" "autooneside=false") ("enumitem" "") ("caption" "") ("microtype" "protrusion=true" "expansion=true" "final" "tracking=true" "kerning=true") ("polyglossia" "") ("biblatex" "") ("float" "") ("xcolor" "table") ("booktabs" "") ("grffile" "") ("unicode-math" "") ("adjustbox" "Export") ("graphicx" "") ("etoolbox" "") ("longtable" "") ("wrapfig" "") ("rotating" "") ("ulem" "normalem") ("amsmath" "") ("amssymb" "") ("capt-of" "") ("hyperref" "pdfusetitle") ("array" "") ("pdfx" "a-1a") ("listings" "")))
|
||||
'(("fontspec" "") ("geometry" "") ("scrlayer-scrpage" "autooneside=false") ("enumitem" "") ("caption" "") ("microtype" "protrusion=true" "expansion=true" "final" "tracking=true" "kerning=true") ("biblatex" "") ("float" "") ("xcolor" "table") ("booktabs" "") ("grffile" "") ("unicode-math" "") ("adjustbox" "Export") ("graphicx" "") ("etoolbox" "") ("longtable" "") ("wrapfig" "") ("rotating" "") ("ulem" "normalem") ("amsmath" "") ("amssymb" "") ("capt-of" "") ("hyperref" "") ("array" "") ("pdfx" "a-1a") ("listings" "") ("csvsimple" "")))
|
||||
(add-to-list 'LaTeX-verbatim-environments-local "lstlisting")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "path")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "url")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "lstinline")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "nolinkurl")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperbaseurl")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperimage")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "href")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-delims-local "path")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperimage")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperbaseurl")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "nolinkurl")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "lstinline")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "url")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "path")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-delims-local "lstinline")
|
||||
(add-to-list 'LaTeX-verbatim-macros-with-delims-local "path")
|
||||
(TeX-run-style-hooks
|
||||
"fontspec"
|
||||
"geometry"
|
||||
|
@ -24,7 +24,6 @@
|
|||
"enumitem"
|
||||
"caption"
|
||||
"microtype"
|
||||
"polyglossia"
|
||||
"biblatex"
|
||||
"float"
|
||||
"xcolor"
|
||||
|
@ -44,16 +43,14 @@
|
|||
"hyperref"
|
||||
"array"
|
||||
"pdfx"
|
||||
"listings")
|
||||
"listings"
|
||||
"csvsimple")
|
||||
(TeX-add-symbols
|
||||
'("TitlePage" 3)
|
||||
'("code" 1)
|
||||
'("important" 1))
|
||||
(LaTeX-add-environments
|
||||
"oldtabular")
|
||||
(LaTeX-add-polyglossia-langs
|
||||
'("english" "defaultlanguage" "")
|
||||
'("german" "otherlanguages" ""))
|
||||
(LaTeX-add-xcolor-definecolors
|
||||
"darkgray"
|
||||
"lightgray")
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
\usepackage{enumitem}
|
||||
\usepackage{caption}
|
||||
\usepackage[protrusion=true,expansion=true,final,tracking=true,kerning=true]{microtype}
|
||||
\usepackage{polyglossia}
|
||||
\usepackage{biblatex}
|
||||
\usepackage{float}
|
||||
\usepackage[table]{xcolor}
|
||||
|
@ -24,10 +23,11 @@
|
|||
\usepackage{amsmath}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{capt-of}
|
||||
\usepackage[pdfusetitle]{hyperref}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{array}
|
||||
\usepackage[a-1a]{pdfx}
|
||||
\usepackage{listings}
|
||||
\usepackage{csvsimple}
|
||||
|
||||
\KOMAoptions{
|
||||
captions=tableheading,
|
||||
|
@ -40,9 +40,6 @@
|
|||
\definecolor{darkgray}{RGB}{64,64,64}
|
||||
\definecolor{lightgray}{RGB}{200,200,200}
|
||||
|
||||
\setdefaultlanguage{english}
|
||||
\setotherlanguages{german}
|
||||
|
||||
\adjustboxset{max size={\textwidth}{0.6\textheight}}
|
||||
|
||||
% Font settings
|
||||
|
@ -107,13 +104,14 @@
|
|||
\setkomafont{subsection}{\Large\bfseries\sffamily\color{darkgray}}
|
||||
\setkomafont{subsubsection}{\large\bfseries\sffamily\color{darkgray}}
|
||||
|
||||
% \setkomafont{section}{\fontsize{14pt}{17pt}\selectfont\bfseries\sffamily\color{darkgray}}
|
||||
% \setkomafont{subsection}{\fontsize{12pt}{14pt}\selectfont\bfseries\sffamily\color{darkgray}}
|
||||
|
||||
% Define the spacing between title and content
|
||||
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.2\baselineskip]{section}
|
||||
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.3\baselineskip]{subsection}
|
||||
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.4\baselineskip]{subsubsection}
|
||||
% \RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.2\baselineskip]{section}
|
||||
% \RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.3\baselineskip]{subsection}
|
||||
% \RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.4\baselineskip]{subsubsection}
|
||||
|
||||
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.2\baselineskip, afterindent=false]{section}
|
||||
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.3\baselineskip, afterindent=false]{subsection}
|
||||
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.4\baselineskip, afterindent=false]{subsubsection}
|
||||
|
||||
% Define the spacing between section number and title
|
||||
\renewcommand{\sectionformat}{\thesection\hspace{0.5em}}
|
||||
|
@ -182,24 +180,6 @@
|
|||
numbersep=3pt
|
||||
}
|
||||
|
||||
% Enhance your hyperref setup
|
||||
\hypersetup{
|
||||
colorlinks=true,
|
||||
linkcolor=darkgray,
|
||||
filecolor=darkgray,
|
||||
urlcolor=darkgray,
|
||||
citecolor=darkgray,
|
||||
% pdftitle={Your Document Title},
|
||||
% pdfauthor={Your Name},
|
||||
% pdfsubject={Document Subject},
|
||||
% pdfkeywords={keyword1, keyword2},
|
||||
pdfstartview={FitV},
|
||||
pdfview={FitV},
|
||||
pdfpagemode={UseOutlines},
|
||||
bookmarksopen=true,
|
||||
bookmarksnumbered=true
|
||||
}
|
||||
|
||||
\let\oldtabular\tabular
|
||||
\let\endoldtabular\endtabular
|
||||
\renewenvironment{tabular}{\rowcolors{2}{white}{lightgray}\oldtabular}{\endoldtabular}
|
||||
|
@ -209,3 +189,5 @@
|
|||
\setlist[description]{topsep=3pt, partopsep=0pt, parsep=0pt, itemsep=2pt, font=\normalfont\itshape}
|
||||
\setlist[itemize]{topsep=3pt, partopsep=0pt, parsep=0pt, itemsep=2pt}
|
||||
\setlist[enumerate]{topsep=3pt, partopsep=0pt, parsep=0pt, itemsep=2pt}
|
||||
|
||||
\renewcommand{\lstlistlistingname}{List of Code Snippets}
|
||||
|
|
Loading…
Add table
Reference in a new issue