Update komageneral

This commit is contained in:
Marcus Kammer 2024-11-29 18:56:32 +01:00
parent ebd635301b
commit fbe678e91f
2 changed files with 25 additions and 30 deletions

View file

@ -1,50 +1,45 @@
;; -*- lexical-binding: t; -*-
(TeX-add-style-hook (TeX-add-style-hook
"komageneral" "komageneral"
(lambda () (lambda ()
(setq TeX-command-extra-options (setq TeX-command-extra-options
"-shell-escape") "-shell-escape")
(TeX-add-to-alist 'LaTeX-provided-class-options
'(("scrartcl" "a4paper" "10pt" "captions=tableheading" "twoside=false")))
(TeX-add-to-alist 'LaTeX-provided-package-options (TeX-add-to-alist 'LaTeX-provided-package-options
'(("microtype" "expansion" "protrusion=true") ("ulem" "normalem") ("adjustbox" "Export"))) '(("fontspec" "") ("geometry" "") ("scrlayer-scrpage" "") ("enumitem" "") ("caption" "") ("microtype" "expansion" "protrusion=true") ("polyglossia" "") ("biblatex" "") ("float" "") ("xcolor" "") ("listings" "") ("booktabs" "") ("grffile" "") ("unicode-math" "") ("adjustbox" "Export") ("etoolbox" "")))
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "path") (add-to-list 'LaTeX-verbatim-environments-local "lstlisting")
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "href")
(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 "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") (add-to-list 'LaTeX-verbatim-macros-with-delims-local "path")
(add-to-list 'LaTeX-verbatim-macros-with-delims-local "url")
(TeX-run-style-hooks (TeX-run-style-hooks
"latex2e"
"fontspec" "fontspec"
"geometry" "geometry"
"scrlayer-scrpage" "scrlayer-scrpage"
"titlesec"
"enumitem" "enumitem"
"caption" "caption"
"fancyhdr"
"microtype" "microtype"
"polyglossia"
"biblatex" "biblatex"
"float" "float"
"xcolor" "xcolor"
"listings" "listings"
"longtable"
"wrapfig"
"rotating"
"ulem"
"amsmath"
"amssymb"
"capt-of"
"hyperref"
"booktabs" "booktabs"
"polyglossia"
"grffile" "grffile"
"unicode-math" "unicode-math"
"adjustbox" "adjustbox"
"graphicx"
"scrartcl"
"scrartcl10"
"etoolbox") "etoolbox")
(TeX-add-symbols (TeX-add-symbols
'("TitlePage" 3) '("TitlePage" 3)
'("code" 1) '("code" 1)
'("important" 1))) '("important" 1))
(LaTeX-add-polyglossia-langs
'("english" "defaultlanguage" "")
'("german" "otherlanguages" "")))
:latex) :latex)

View file

@ -12,19 +12,19 @@
\usepackage{float} \usepackage{float}
\usepackage{xcolor} \usepackage{xcolor}
\usepackage{listings} \usepackage{listings}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{grffile} \usepackage{grffile}
\usepackage{unicode-math} \usepackage{unicode-math}
\usepackage[Export]{adjustbox} \usepackage[Export]{adjustbox}
\usepackage{graphicx} % \usepackage{longtable}
% \usepackage{wrapfig}
% \usepackage{rotating}
% \usepackage[normalem]{ulem}
% \usepackage{amsmath}
% \usepackage{amssymb}
% \usepackage{capt-of}
% \usepackage{hyperref}
% \usepackage{graphicx}
\setdefaultlanguage{english} \setdefaultlanguage{english}
\setotherlanguages{german} \setotherlanguages{german}