Fix indentation of latex class
This commit is contained in:
parent
fae79ae617
commit
409a53ab68
1 changed files with 21 additions and 20 deletions
|
@ -169,26 +169,27 @@
|
|||
(add-to-list 'org-latex-classes
|
||||
'("koma-general"
|
||||
"\\documentclass[a4paper,10pt,captions=tableheading,twoside=false]{scrartcl}
|
||||
\\linespread{1.25}
|
||||
\\setkomafont{section}{\\Large\\bfseries\\sffamily}
|
||||
\\setkomafont{subsection}{\\large\\bfseries\\sffamily}
|
||||
\\setkomafont{subsubsection}{\\normalsize\\bfseries\\sffamily}
|
||||
\\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.5\\baselineskip]{section}
|
||||
\\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.25\\baselineskip]{subsection}
|
||||
\\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.1\\baselineskip]{subsubsection}
|
||||
\\usepackage{fontspec}
|
||||
\\defaultfontfeatures{Mapping=tex-text, RawFeature={+zero}}
|
||||
\\setmainfont{Noto Serif Regular}[BoldFont={Noto Serif Bold},ItalicFont={Noto Serif Italic}]
|
||||
\\setsansfont{Noto Sans Regular}[BoldFont={Noto Sans Bold},ItalicFont={Noto Sans Italic}]
|
||||
\\setmonofont{Noto Sans Mono}[BoldFont={Noto Sans Mono Bold},Scale=0.8]
|
||||
\\usepackage{geometry}
|
||||
\\geometry{a4paper,left=2cm,right=2cm,top=1.6cm,bottom=1.6cm}
|
||||
\\usepackage{scrlayer-scrpage}
|
||||
\\pagestyle{scrheadings}
|
||||
\\clearpairofpagestyles
|
||||
\\automark{section}
|
||||
\\ihead{\\headmark} % Inner header
|
||||
\\ohead{\\thepage} % Outer header"
|
||||
\\linespread{1.25}
|
||||
\\setkomafont{section}{\\Large\\bfseries\\sffamily}
|
||||
\\setkomafont{subsection}{\\large\\bfseries\\sffamily}
|
||||
\\setkomafont{subsubsection}{\\normalsize\\bfseries\\sffamily}
|
||||
\\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.5\\baselineskip]{section}
|
||||
\\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.25\\baselineskip]{subsection}
|
||||
\\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.1\\baselineskip]{subsubsection}
|
||||
\\usepackage{fontspec}
|
||||
\\defaultfontfeatures{Ligatures=TeX, RawFeature={+zero, +liga}}
|
||||
\\setmainfont{Noto Serif Regular}[BoldFont={Noto Serif Bold},ItalicFont={Noto Serif Italic}]
|
||||
\\setsansfont{Noto Sans Regular}[BoldFont={Noto Sans Bold},ItalicFont={Noto Sans Italic}]
|
||||
\\setmonofont{Noto Sans Mono}[BoldFont={Noto Sans Mono Bold},Scale=0.8]
|
||||
\\usepackage{geometry}
|
||||
\\geometry{a4paper,left=2cm,right=2cm,top=1.6cm,bottom=1.6cm}
|
||||
\\usepackage{scrlayer-scrpage}
|
||||
\\pagestyle{scrheadings}
|
||||
\\clearpairofpagestyles
|
||||
\\automark{section}
|
||||
\\ihead{\\headmark} % Inner header
|
||||
\\ohead{\\thepage} % Outer header
|
||||
"
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
|
|
Loading…
Add table
Reference in a new issue