Remove latex options
This commit is contained in:
parent
ffe42f9436
commit
d9551cf228
1 changed files with 3 additions and 28 deletions
31
init.el
31
init.el
|
@ -1652,14 +1652,7 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
(org-agenda-custom-commands
|
||||
'(("p" "Projects"
|
||||
((tags "PROJECT")))))
|
||||
(org-latex-packages-alist
|
||||
'(("" "listings")
|
||||
("" "booktabs")
|
||||
("AUTO" "polyglossia" t ("xelatex" "lualatex"))
|
||||
("" "grffile")
|
||||
("" "unicode-math")
|
||||
("" "xcolor")
|
||||
("expansion,protrusion=true" "microtype")))
|
||||
(org-latex-packages-alist nil)
|
||||
;; Define the process to convert Org to PDF using XeLaTeX
|
||||
(org-latex-pdf-process '("latexmk -lualatex -shell-escape -quiet -f %f"))
|
||||
;; Set the compiler to XeLaTeX
|
||||
|
@ -1667,27 +1660,10 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
(org-latex-tables-booktabs t)
|
||||
(org-latex-images-centered t)
|
||||
;; Enable listings and other table-related features
|
||||
(org-latex-listings t)
|
||||
(org-latex-listings nil)
|
||||
(org-latex-src-block-backend 'listings)
|
||||
;; Customize the appearance of listings (source code blocks)
|
||||
(org-latex-listings-options
|
||||
'(("basicstyle" "\\ttfamily\\color[rgb]{0.30, 0.34, 0.42}") ; nord3
|
||||
("showstringspaces" "false")
|
||||
("keywordstyle" "\\color[rgb]{0.23, 0.26, 0.32}\\textbf") ; nord1
|
||||
("commentstyle" "\\color[rgb]{0.26, 0.30, 0.37}") ; nord2
|
||||
("stringstyle" "\\color[rgb]{0.18, 0.20, 0.25}") ; nord0
|
||||
("frame" "single")
|
||||
("numbers" "left")
|
||||
("numbersep" "5pt")
|
||||
("numberstyle" "\\ttfamily\\color[rgb]{0.30, 0.34, 0.42}") ; nord3
|
||||
("keepspaces" "true")
|
||||
("showspaces" "false")
|
||||
("showstringspaces" "false")
|
||||
("showtabs" "false")
|
||||
("breaklines" "true")
|
||||
("breakatwhitespace" "false")
|
||||
("tabsize" "2")
|
||||
("columns" "fullflexible")))
|
||||
(org-latex-listings-options nil)
|
||||
(org-latex-inputenc-alist '((\"utf8\" . \"utf8x\")))
|
||||
:config
|
||||
(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs))
|
||||
|
@ -1729,7 +1705,6 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
(add-to-list 'org-latex-classes
|
||||
'("koma-general"
|
||||
"\\documentclass[a4paper,10pt,captions=tableheading,twoside=false]{scrartcl}
|
||||
\\linespread{1.25}
|
||||
% ~/.emacs.d/texmf/tex/latex/mycustomstyles/
|
||||
\\usepackage{komageneral}"
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
|
|
Loading…
Add table
Reference in a new issue