Questions tagged [latex]
Working with LaTeX documents, LaTeX coding, and LaTeX source blocks in other documents.
918 questions
0 votes
0 answers
36 views
org mode latex export - issue with newline in lists
When I do an export to latex from org mode lists are treated as follows: a list item that has text has a newline (\\ in the tex file) at the end of that item if there is any text for that item. If ...
1 vote
1 answer
53 views
TeX-command-run-all ignores TeX-command-default?
I'm using AUCTeX with Emacs 30.2 on Linux. In my ~/.emacs I have the variable TeX-command-default set to "LaTeXMk". However, whenever I start working on a new file and type C-c C-a for TeX-...
1 vote
1 answer
112 views
Change quote type inside of LaTeX environment in Doom Emacs
I am using Doom Emacs on Windows. I prepare documents in LaTeX and have AUCTeX installed. I am using the minted package and would like doom emacs to simply insert a simple double quote to denote ...
2 votes
1 answer
109 views
How do I make macros accessible in .tex-subfiles?
I've split my .tex-file into a main.tex and several subfileX.tex (\input{subfileX}). In the main-file I've loaded some 40 packages with macros and defined 50 own macros, which aren't available with C-...
0 votes
1 answer
95 views
LaTeX-Mode Indentation in Complex Tables
When using LaTeX, I typically want to use the indenting support provided by AucTeX/LaTeX-mode. However, I've recently written a number of tables like these: \begin{tabular}{l@{}c@{}c@{}c} Header1 &...
2 votes
1 answer
197 views
Generating org-mode LaTeX previews for tikz-cd
I'm trying to get tikz-cd LaTeX previews working with org-mode and org-fragtog. I found online that the default dvipng method doesn't like tikz in particular, and I can see that in action: #+begin_src ...
0 votes
1 answer
55 views
Pass 'export_file_name' option in elisp when export to LaTeX/PDF
I'd like to export an org file to different outputs, changing the file options and the export file name. In particular, I'd change the #+LANGUAGE, the #+SELECT_TAGS and the #+EXPORT_FILE_NAME. As the ...
0 votes
0 answers
111 views
How do I solve the `Selecting deleted buffer' error that is thrown when activating Xenops mode?
I have recently updated Emacs to version 30.1 and the package Xenops now seems to conflict with the use of source blocks. Suppose that I have the following Org file containing a source block and a ...