# Tag Info

1

As others have said, it seems there is no out-of-the-box solution to this problem. Here is a hacky solution that uses an output filter and a regex to remove the id attributes from the final HTML output: (defun html-body-id-filter (output backend info) "Remove random ID attributes generated by Org." (when (eq backend 'html) (replace-regexp-in-string ...

0

To make it global, applied to all tables, you can also customize this variable M-x customize-variable org-latex-tables-centered and look into options > customize emacs > specific group > org-export-latex for more.

0

I use drawers (not the property drawer) for cases like this although I am not sure if you can pass options to them. Basically, I do :proof: ... contents here :end: and then define org-latex-format-drawer-function so that it generates the right LaTeX code for the specific drawer type. For instance, for solutions to questions, I use a :solution: drawer and ...

0

org-element-latex-fragment-parser is too simple to scope with nested brace-delimited lists as arguments of latex macros. The following advice for org-element-latex-fragment-parser replaces the LaTeX macro parsing with a version that parses LaTeX arguments as sexps. (require 'tex-mode) (defun bugfix-org-forward-latex-sexp (&optional start count) "...

0

I don't know the reason why this happens. I've found a quick fix for the problem though. #+BEGIN_EXPORT latex \dem{Esto es una demostración con ecuación: $$x = x^{-2}$$} #+END_EXPORT Works fine

1

I would use #+ATTR_LATEX: :width 10.6\textwidth [[file:curves.jpg]] This is described here: https://orgmode.org/manual/Images-in-LaTeX-export.html For specifying image ‘:width’, ‘:height’, and other ‘:options’, use this syntax: #+ATTR_LATEX: :width 5cm :options angle=90 [[./img/sed-hr4049.pdf]]

0

I made a little edit since it was a pain to have every org file i saved be exported to latex. This way it exports every time is saved with the condition it was exported manually at least once, this also works for other file extensions if you edit the ".tex" part (defun kdm/org-save-and-export () (interactive) (if (and (eq major-mode 'org-mode) (ido-...

3

You can use special blocks to achieve this: * section 1 \hfill #+attr_latex: :options {0.95\textwidth} #+begin_minipage - S1 - S2 #+end_minipage

2

You can add arbitrary LaTeX code to your org mode file like this: * Section 1 #+LATEX: \hfill #+LATEX: \begin{minipage}{0.95\textwidth} - S1 item 1 - S1 item 2 #+LATEX: \end{minipage} That will produce exactly what you want (plus a label, but that's standard).

1

Simply insert a leading space in front of each line in the example block: #+TITLE: my-org-file.org An example of org-style headers: #+BEGIN_EXAMPLE * Title1 ** Subtitle1a ** Subtitle1b * Title2 ** Subtitle2a #+END_EXAMPLE

Top 50 recent answers are included