diff --git a/config.org b/config.org index 64bd542..c645c44 100644 --- a/config.org +++ b/config.org @@ -16,6 +16,9 @@ #+startup: fold #+latex_class: book +#+latex_header: \usepackage[autooneside=false,automark,headsepline]{scrlayer-scrpage} +#+latex_header: \clearpairofpagestyles \renewcommand*{\chaptermarkformat}{} \renewcommand*{\sectionmarkformat}{} +#+latex_header: \ihead{\upshape\scshape\leftmark} \chead{\ifstr{\leftmark}{\rightmark}{}{\rightmark}} \ohead[\pagemark]{\pagemark} #+begin_export html