Set relative line numbers

and work on readme while installing texlive
This commit is contained in:
Willem Van den Ende
2022-08-10 16:13:23 +02:00
parent 6aed5ced1b
commit 05d65a9cab
3 changed files with 10 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
/README.tex
+7 -1
View File
@@ -11,6 +11,9 @@
- [[#prerequisites][Prerequisites]]
- [[#features][Features]]
- [[#pdf-export-from-latex-in-tufte-style][PDF export from latex, in tufte style]]
- [[#how-to-test][How to test]]
- [[#installing-latex-on-macos][Installing latex on MacOS]]
- [[#installing-fonts][Installing fonts]]
- [[#configuration][Configuration]]
- [[#troubleshooting][Troubleshooting]]
@@ -44,9 +47,12 @@ Doom Emacs installation
** PDF export from latex, in tufte style
*** How to test
Render to pdf, and open preview : ~SPC m e l o~ (m e - export. l - latex, o - open in pdf viewer)
*** Installing latex on MacOS
putting https://so.nwalsh.com/2020/01/05-latex in my config.el on [[file:20201021093300-macos.org][MacOS]]. Looks like fonts need to go in ~$HOME/Library/Fonts~. And then one needs to run ~sudo texhash~ to actually add the fonts. (https://tex.stackexchange.com/questions/93983/xetex-use-otf-font-macports comment by Alan Munn).
*** Installing fonts
putting https://so.nwalsh.com/2020/01/05-latex in my file:config.el on [[file:20201021093300-macos.org][MacOS]]. Looks like fonts need to go in ~$HOME/Library/Fonts~. And then one needs to run ~sudo texhash~ to actually add the fonts. (https://tex.stackexchange.com/questions/93983/xetex-use-otf-font-macports comment by Alan Munn).
Added fonts:
- ET Bembo: https://github.com/DavidBarts/ET_Bembo ([[file:20210510110643-edward_tufte.org][Tufte]] font)
+2 -2
View File
@@ -54,7 +54,7 @@
(setq org-html-preamble `nil)
(setq org-html-postamble `nil)
;; latex export that does not look like an academic paper
;; LaTEX export that does not look like an academic paper
;; source: https://so.nwalsh.com/2020/01/05-latex
;; utf-8 supported by the following lines
(setq org-latex-compiler "xelatex")
@@ -184,7 +184,7 @@
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
(setq display-line-numbers-type `relative)
;; Here are some additional functions/macros that could help you configure Doom: