Questions tagged [latex]

Working with LaTeX documents, LaTeX coding, and LaTeX source blocks in other documents.

Filter by
Sorted by
Tagged with
1
vote
1answer
28 views

How to stop Emacs from using LaTeX mode key bindings for `*.tex` files?

It seems that Emacs tries to autodetect the type of file and changes some of its behaviors accordingly. I don't want any of this behavior. I just want Emacs to treat every file as if it were some ...
0
votes
0answers
21 views

export to Beamer gets slower and slower

My presentation has like 30 slides, nothing fancy, mostly a couple of bullet points on each frame and in total like 10 small images. Still the export to beamer, i.e. a pdf takes like 10 seconds and ...
0
votes
1answer
34 views

Is it possible to configure a org file for paper as well as presentation using beamer?

I am documenting my work using org mode and babel. I am exporting it to a LaTeX based pdf document by using the header: #+TITLE: Document Title #+AUTHOR: Author #+EMAIL: author@somewhere.com #+...
0
votes
0answers
14 views

Auctex freezes when editing an equation containing '' at the end of a long document

Whenever I edit a particularly long document (thousands of lines) with auctex, I start getting freezes when I edit a math equation that contains a double prime '' far down in the document. My guess (...
1
vote
1answer
17 views

Excluding frames from handout when exporting to LaTeX Beamer

I would like to exclude certain slides when I export my document as a handout using the corresponding option #+LaTeX_CLASS_OPTIONS: [handout]. I know what I need to arrive at in LaTeX to achieve this: ...
0
votes
0answers
31 views

Org-ref: how to get absolute path of bibliography in exported LaTeX file

I use Org-ref to insert references in Org mode when writing articles. I prefer to put bib files in a separate place, say /bib/ref.bib, instead of putting together with org files in ~/org/. After ...
0
votes
1answer
30 views

Pandas data frame as table

I'm enjoying learning org-babel to write literate documents and am trying to include summary tables produced by Pandas describe(). I found an old thread with some answers but none of the provided ...
0
votes
0answers
15 views

imaxima: no LaTeX output and crash

I want to setup the imaxima buffer with working LaTeX output. Following the EmacsWiki, I added this to my init: (add-to-list 'load-path "/usr/share/emacs/site-lisp/") (autoload 'maxima-mode &...
1
vote
1answer
24 views

Export beamer handout or presentation function in org-mode?

I'd like to be able to call a function to export to pdf (via latex beamer) from an org subtree. Right now I have properties set up like so: :PROPERTIES: :EXPORT_LATEX_COMPILER: xelatex :...
1
vote
0answers
23 views

Add a background image to pdf export of an org-beamer file

I'd like to add a background image to a single page in a pdf I am creating with M-x org-beamer-export-to-pdf using the Metropolis theme (no relation). The use of the theme doesn't appear to be the ...
1
vote
1answer
36 views

Properly exporting latex to HTML from org-mode using dvisvgm / dvipng

I need to export my org notes containing latex to HTML format. Example document : #+latex_class: article #+latex_header: \usepackage{chemfig} #+latex_header: \usepackage[version=3]{mhchem} #+...
0
votes
1answer
33 views

How to use latex package emaxima in emacs

I am trying to use maxima with emaxima package in latex. I am using xubuntu 20.04, emacs 26.3, maxima 5.43.2. Here is my simple latex file. \documentclass[11pt,a4paper]{article} \usepackage[lines]{...
1
vote
1answer
44 views

How to define an org-mode “#+” type keyword?

I apologise if this has already been asked but I have no idea what are the "#+XYZ" commands in org-mode even called, tags? keywords? macros? I have a private Latex class whose usual header looks like ...
0
votes
1answer
52 views

How color ~code~ on export from org-mode to latex (pdf)?

I am trying to export an org file to latex (to pdf via latex) and to make latex color the inline ~code~ parts. According to the manual (see [1] "Defining filters for individual files") this should be ...
1
vote
2answers
51 views

Removing alignment in LaTeX align environment

I want to write a very long equation (3-4 lines) in LaTeX. For this equation I want to use align environment. What I don't like is how Emacs formats the LaTeX code: it adds a lot of unnecessary space, ...
0
votes
1answer
20 views

Org-mode export error- Wrong type argument: org-export-backend

I'm trying to export an Org document to latex, but get the following error: org-export-get-all-transcoders: Wrong type argument: org-export-backend, [cl-struct-org-export-backend nil latex ((...
0
votes
0answers
22 views

Is there a configuration of Latex files which can change my key-bindings?

I am observing what I believe is an odd behavior in Emacs. I have a Latex file which, when opened, changes the keybindings in my Emacs. For example, C-x s does not save the file anymore, and Emacs ...
0
votes
1answer
23 views

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

I had latex preview working with inlineimages as in the following .org file: #+STARTUP: latexpreview #+STARTUP: inlineimages $A \to B$ The latex formula is correctly changed into a png image as ...
0
votes
1answer
33 views

How to disable specific flycheck-warning messages in LaTeX-mode?

Currenty I am on LaTeX-mode-hook using flycheck. (setq LaTeX-item-indent 0) (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) (add-hook 'LaTeX-mode-hook 'hl-todo-mode) (require 'tex) (add-hook 'LaTeX-...
0
votes
0answers
18 views

Better usage of langtool with `.tex` files

I have integrated langtool into emacs for grammer check .tex files. Seems like it is not configured for .tex files in some cases. Download link for the .jar file (https://languagetool.org/download/...
1
vote
1answer
21 views

How to prevent #+BEGIN_LaTeX from generating \begin{LaTeX} when exporting to .tex source?

I am a beginner and have been using emacs for around a month. I'm still finding my way around. Sorry if this is a very basic question. I'm trying to write a scientific document in org-mode and using ...
0
votes
0answers
16 views

Spacemacs: “Wrong type argument: stringp, nil” Auctex error when building tex file

following a recent update, Auctex now refuses to build. Throwing a wrong type argument: stringp, nil error. The full debug text: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-...
0
votes
0answers
31 views

Exporting a bullet point in org-mode to theorem/defintion in latex

I'm two weeks old in Emacs and just short of one in org-mode, so not that much knowledge. I want to use org-mode to take my university and research notes. Some of those, are needed to be exported as ...
1
vote
2answers
64 views

avoid org-preview-latex to open a new window

I use emacs in frame-only mode and org to typeset latex equations and technical writing. Since it is hard to see and understand the latex equations in their raw format, I use a package called org-...
1
vote
1answer
29 views

Display latex output natively in emacs in a vertically split window

Running Doom Emacs 2.0.9 on Emacs 26.3. Currenly, when I do TeX-command-run-all on a tex file, it opens the output in okular pdf viewer in a separate KDE window. I was wondering if it is possible to ...
0
votes
0answers
15 views

Several “Error skipping s-expressions at point” during ispell process

I'm working on a paper (a multifile LaTeX project) and when I tried to pass ispell to the different files, loads of Error skipping s-expressions at point messages appeared. I suspect that ispell didn'...
0
votes
0answers
18 views

Creating independently-numbered structures in Org-mode for LaTeX export

I want to keep the typical numbering system for different parts and chapters but add interlude in between with its own numbering. Similar to what this tread does except instead of "Software Break" I ...
2
votes
1answer
46 views

orgmode latex export: How to create repeatable labels?

Every time I export org-mode document to LaTeX, most sections get new and unique labels, e.g., \section{Introduction} \label{sec:orge0665da} The next time I export the document, the label will ...
0
votes
0answers
50 views

Org-mode, how can I export my images in different float enviroment?

I need to export some images in different type of float in latex (i.e. \begin{map}). An example of latex code is here. How can I define image attributes in org-mode to achieve that?
0
votes
1answer
41 views

org-mode inline latex dollar sign

In org mode, this inline latex dollar sign fails to render: $\$$ but this has no problem rendering: \[ \$ \]
1
vote
1answer
26 views

Org-mode tables exported as latex arrays within eqnarray environment, how?

If I have constructed a blocked array using an org-mode table, I can easily export the table as, e.g., a pmatrix array as presented below. However, the pmatrix is exported within a math environment (\[...
0
votes
1answer
27 views

Add compiling option to tex engine

I want to use minted package in my tex file. It needs the command-line option --shell-escape to allow external pygmentize program execution. How can I add that option to the tex engine? My related ...
0
votes
0answers
55 views

Cannot get Company completions to work in LaTeX mode with LSP

I am trying to get LaTeX-specific backends for company to work well with LSP and LaTeX. My problem is I cannot seem to get all the desired backends to work well together. For example, company-capf ...
0
votes
0answers
13 views

auctex preview-latex of image inside beamer

I have small issue with preview in a beamer presentation when I have images included. I followed: AUCTeX previews are not displayed correctly with beamer This helped a lot, but unfortunately there is ...
0
votes
1answer
65 views

Getting Latex preview to work with org mode (.dvi not found)

In my .org file I embedded a simple Latex segment: $f(x) = x^2$ Then I use the following command to generate a preview for that segment: org-toggle-latex-fragment But I get an error: org-...
1
vote
1answer
28 views

show-paren-mode or similar to highlight multi-character parentheses

In latex, "parentheses" such as \(\), $$ and \[\] are constantly used. Is there a way to customize show-paren-mode or is there some other mode to highlight these multi-character parentheses in latex-...
0
votes
1answer
16 views

Make eqref work in HTML export

I'm trying to use org-ref to reference to equation numbers. It works with PDF export but never works in HTML export. In the web page it only shows a clickable (???) link with no destination. I tried ...
1
vote
0answers
19 views

Get position in a pdf-page by clicking for annoting a pdf with latex

In https://tex.stackexchange.com/a/85676/4011, it is illustrated of how to annotated a pdf by using the latex package pdfpages, loading the pdf as a background layer and then use tikz nodes to make ...
0
votes
1answer
25 views

Shrink frames in beamer export from orgmode

How can I send a shrink option to a beamer frame? I already tried with *** frame title :PROPERTIES: :BEAMER_envargs: [shrink=5] :END: as suggested in https://lists.gnu.org/archive/html/emacs-...
0
votes
0answers
21 views

Changing current math mode (e.g. inline to display)

Is there a built-in or at least ready-made way to change which math mode I'm in? For example if I'm writing in inline math mode (which in my case would mean my cursor is between single dollar signs) ...
2
votes
1answer
40 views

Promote a major mode kbd to a higher priority than the same ones used by a minor mode

I am using emacs to write LaTeX documents with AucTeX and cdlatex. Both of them have the same feature of automatically closing parens and dollar sign symbols. However, AucTeX obviously did a better ...
0
votes
0answers
21 views

Structure templates: handling custom templates exportation

When using C-c C-, to insert a structure template, there is an option to add a "custom" template [ ] Press TAB, RET or SPC to write block name I've inserted one called questions, i.e. #+...
1
vote
2answers
31 views

Hook on entering org latex fragment

Hi is there a hook that gets triggered upon entering a LaTeX fragment in org? I'm trying to do (add-hook <enter-org-latex-hook> 'org-cdlatex-mode) but can't seem to find the correct hook to ...
0
votes
0answers
16 views

LaTeX footnote cross-referencing

This is a bug discovered when trying to make footnotes cross-reference one another. * Cross-Referencing Issue I have a footnote[fn:a7c8d549e5724e0:This is a footnote. See also [fn:f52362a5a5f18c7].]...
1
vote
1answer
29 views

Perform calculations in orgtbl with the LaTeX syntax?

This is an orgtbl table #+begin_src emacs-lisp :results none (setq calc-language 'latex) (calc-radians-mode) #+end_src #+attr_latex: :mode math |----------+-----+----------| | Fonction | var | ...
0
votes
1answer
22 views

Set LaTex export fallback font

How do I set a fallback font for LaTex export to pdf? I have the following setting in my init.el. (setq org-latex-classes '(("article" " \\documentclass[12pt,a4paper]{article} \\...
0
votes
0answers
44 views

How to render latex in-line with org mode?

I have a file with the following contents: Math Notes -*- mode: org -*- #+STARTUP: latexpreview Test $\forall \epsilon > 0$ I am trying to render the latex with C-c C-x C-l, but it's not working....
2
votes
1answer
46 views

How to perform incremental search inside math environments in tex/latex documents

Is there a way to perform incremental search that filters out all non-math environments (i.e., only searches within $...$, $$...$$, and if possible other relevant \begin{..}..\end{..} environments)? ...
0
votes
1answer
33 views

Display buffer from commandline

I'm trying to do the same thing as described in (Export an org-mode file as a PDF via command line?) generate a pdf from a org file but want to do it inside a docker container also. And now I get an ...
1
vote
0answers
34 views

Overleaf like compilation check in emacs

When I am writing in latex in emacs I have to press C-c C-l to see the compilation log or use M-x TeX-error-overview to see the errors. Overleaf does have a handy feature, which lets the symbol turn ...

1
2 3 4 5
12