All Questions
296
questions
2
votes
0
answers
47
views
How to configure a yasnippet to read and delete surrounding text
I would like to configure a snippet using Yasnippet to codify in LaTeX. I would like to emulate the behavior of the usual math mode, but replacing single and double dollars with \(\) and \[\], ...
1
vote
0
answers
86
views
Insert \usepackage statements before hyperref, when exporting to Latex in org mode, on a file level
When exporting to Latex I want to include \usepackage statements in a specific org file.
This is possible with #+LATEX_HEADER: or #+LATEX_HEADER_EXTRA:. The problem is that the packages I want to ...
0
votes
0
answers
87
views
How to use evince with emacs when writing Latex? D-Bus error: "disconnected from message bus without replying"
I can write Latex code in Emacs properly. When I press C-c C-c, the pdf is produced like it should:
LaTeX: successlully formatted {x} page[s].
After pressing C-c C-c again as usual, I get the ...
1
vote
0
answers
101
views
org mode, export source blocks to tcolorbox instead of lstlisting
I have an org document that contains #+begin_src blocks. These are placed in a \begin{lstlisting}[htbp]\begin{minted} environment when exporting to a latex document. Now there are two problems. First, ...
1
vote
0
answers
583
views
Emacs: How can I customize eglot to make it autocomplete \ac{} when in latex-mode?
I'm experimentinng with eglot and digestif as my completion framework for LaTEX on emacs. I'm starting to understand how it works for \cite{} and \ref{}, but I use acronyms profusely and would like to ...
1
vote
1
answer
783
views
Emacs org-mode latex export doesnt export bibliography
I tried to export a document with orgmode to a pdf. Unfortunately it doesnt export the citations. I make a minimal example of and export it. Same Problem. So maybe i think there is a Problem with the \...
1
vote
1
answer
95
views
How to make org-mode use bibulous.py instead of biber?
I would like to export my Org documents to a PDF and have bibulous.py format the bibliography. For this I use the command C-c C-e l p aka org-latex-pdf-process. Here is how I have adapted the command ...
1
vote
2
answers
2k
views
Org-mode export to Latex: page break at each section and subsection
I want the pdf document to always have a page break at a section and subsection. I could add
#+latex: \clearpage
before each heading and sub-heading on org-mode. However, I think it makes my org ...
1
vote
0
answers
54
views
How can I get flyspell to ignore TeX codes in MathJax?
So, in emacs auctex mode, it is easy to have flyspell ignore TeX math codes by adding a couple of lines to one's .emacs (or other initialization) file. At the moment I'm working on a long HTML ...
2
votes
1
answer
637
views
How to get rid of emacs error "void-variable org-format-latex-options"?
I'm trying to configure the preview of latex-fragments in org-mode using doom-emacs on macOS. I had a working setup before, but for some reason emacs does not recognize this variable anymore.
Latex is ...
1
vote
1
answer
892
views
Emacs org mode: background color of latex fragments (with `org-highlight-latex-and-related`) : which variable to change?
Ok, so my org-mode latex fragments have a slightly off background color, but only when I:
(setq org-highlight-latex-and-related '(native))
As seen here
It looks similar to the background ...
1
vote
1
answer
904
views
How do I put the following LaTeX code in org-mode?
I want to customize my title of the article class to align to left rather than defaultt centering. I found a solution to do it in LaTeX StackExchange TeX.
The code is:
\makeatletter
\renewcommand{\...
1
vote
1
answer
11k
views
How to increase the font size of the body text and sections
I'm using Emacs and its org mode markup language to generate PDFs. It uses LaTeX however I write the markup similar to a markdown document, then the LaTeX export is handled by Emacs relying on a ...
0
votes
0
answers
327
views
How can I make the headings in xelatex document align at the left?
Hello, I'm using Emacs's org mode for editing my documents. As you can see I have a first level heading (the blueish color) and a second level heading (yellow).
My table of contents doesn't show up ...
1
vote
1
answer
169
views
Include quote inside org-mode footnote when exporting to latex
I've tried both [fn:: ... ] and \beging{quotation} ... \end{quotation}. Neither of them exports the quote block inside the footnote. I've also used #+BEGIN_EXPORT latex ... #+END_EXPORT and had the ...