As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

1 vote
Accepted

Always replace " with \enquote{ or }

AUCTeX provides an interface for this: Write your own AUCTeX style file which corresponds to your own custom LaTeX class file. Suppose the name of your custom class is classname.cls. A simple ...
Arash Esbati's user avatar
  • 1,785
1 vote

How to pass a variable to a LaTeX code block?

I noticed an Error upon launching Emacs ("Error (usepackage) org/:init:..."), and I made the following change to the config file (1) : $ cat ~/.emacs.d/config.el | grep -n5 'org-babel-do' | ...
Erwann's user avatar
  • 848
1 vote
Accepted

How to pass a variable to a LaTeX code block?

This works: #+name: foo #+begin_src latex :noweb yes :tangle foo.tex :var val=1 \documentclass{article} \begin{document} x = val \end{document} #+end_src and so does this: #+PROPERTY: header-args:...
NickD's user avatar
  • 25.9k
1 vote
Accepted

org-babel latex picture resolution very low

Try the following: #+HEADER: :fit yes :imagemagick yes :imoutoptions -geometry 800 :iminoptions -density 300 -background white -alpha remove If you have multiple :iminoptions, the last one wins and ...
NickD's user avatar
  • 25.9k
1 vote

change environment in evil-tex

From the documentation, the environment keymap for multiline* is M. So for example from inside your equation environment in evil-normal-state, you can change the equation environment to multiline* ...
nanowillis's user avatar
0 votes

Check math as you compose it

I'm currently leaning towards Org-Babel with Julia (as Julia looks closest to the typeset math: ) and then writing some Julia helper function to annotate the typeset output (e.g. put a little green ...
Zaz's user avatar
  • 113

Top 50 recent answers are included