Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
3 votes
Accepted

How can I configure `#+AUTHOR:` for LaTeX in `org-mode`?

This will probably involve a couple of steps, one of them to defeat the default behavior of the Org mode LaTeX exporter, and some of them to satisfy your requirements. The first step is to add an ...
NickD's user avatar
  • 30.4k
2 votes

How to use an org mode document's title in the LaTeX export headers?

Some possibilities: Allow macro expansion in a LaTeX header You can try allowing macro expansion in #+LATEX_HEADER: keyword constructs. That can be done by changing line 113 (in my version - YMMV) of ...
NickD's user avatar
  • 30.4k
2 votes

How to increase font size of equation from a Latex export block?

With your current settings, you are just scaling the sans serif font, however this does not handle the math font, as you noticed. You'd be better off by setting a larger fontsize for the whole ...
gusbrs's user avatar
  • 786
1 vote
Accepted

How do I interpolate elisp variables in org-mode option headers?

You can do it with a macro: #+MACRO: foo (eval (concat "#+latex_header: \\input{" my-var "/night-beamer-common1.tex}")) {{{foo}}} * Intro This is a test. AFAICT, macros are not ...
NickD's user avatar
  • 30.4k
1 vote
Accepted

Cannot define custom latex class in org-mode

Fixed, I didn't quite grasp how quoting in elisp works. Correct code: (after! ox-latex (add-to-list 'org-latex-classes `("deeparticle" ,(concat "\\documentclass[11pt]{...
Hyperbo Lee's user avatar
1 vote

Define setupfile in emacs init for org file

You could turn your SETUPFILE into a LaTeX class .sty file, and install that .sty file where LaTeX will find it. Then you can add your new package to the list of packages org automatically includes ...
Tyler's user avatar
  • 22.3k
1 vote
Accepted

using bibtex in org-mode messes up inlineimages of latex preview?

You need to use LATEX_HEADER_EXTRA instead of LATEX_HEADER. You also need Org mode release 9.1 or later. Be sure to clean out the ltximg/ subdirectory in order to regenerate clean preview images after ...
NickD's user avatar
  • 30.4k
1 vote
Accepted

latex-export image using fancyhdr

I think you read this .tex question - and your question is really how to transfer it to org-mode. Try/modify your headers according to the below code: #+LaTeX_HEADER: \usepackage{fancyhdr} #+...
Ian's user avatar
  • 1,483

Only top scored, non community-wiki answers of a minimum length are eligible