22 votes
Accepted

Org-mode, LaTeX, PDF & centering side by side images

After trying a few more things, I managed to solve it myself: #+BEGIN_center #+ATTR_LaTeX: :height 0.2\textwidth :center [[image1.png]] #+ATTR_LaTeX: :height 0.2\textwidth :center [[image2.png]] #+...
noob's user avatar
  • 381
10 votes
Accepted

Using KOMA-Script article with org-mode

From org manual: By default, the LaTeX output uses the class article. You can change this globally by setting a different value for org-latex-default-class or locally by adding an option ...
Arash Esbati's user avatar
  • 7,416
7 votes

Creating Concept map akin to markdown

You can try with forest, I think is quite human readable, ... once you are used to it. \documentclass[border=2mm]{standalone} \usepackage{forest} \begin{document} \begin{forest} box/.style={...
Ignasi's user avatar
  • 137k
6 votes

Equivalent of \today in org mode

Have a look at the time macro. For example, * Date test This is the export time: {{{time(%Y-%m-%d)}}}. Will produce the export date. For the format of the time specification, check the ...
Juancho's user avatar
  • 201
6 votes

Change size of the inline image for Latex fragment in emacs org-mode

The answer from thisirs didn't work for me. The post is a bit old, so I guess it worked on an older version of org-mode. The following worked for me in Org mode version 9.1.9: Pressing M-x customize-...
GNUmon's user avatar
  • 61
6 votes

Emacs+Xetex org-latex-export-to-pdf to create pdfs out of txt files saved as org

Add #+LATEX_COMPILER: xelatex to the header.
Torsten Bronger's user avatar
6 votes

Creating Concept map akin to markdown

As suggested in a comment, a possible approach would be dot and dot2tex. Dot's syntax is very terse. This particular example comes out a bit convoluted, due to the long text in some nodes, but it is ...
JLDiaz's user avatar
  • 55.7k
5 votes
Accepted

What's causing an extra heading numbering?

With the memoir class one can divide a document into 8 levels 1. book ------------------> level -2 2. part ------------------> level -1 3. chapter ---------------> level 0 4. section ----...
touhami's user avatar
  • 19.5k
4 votes

Emacs+Xetex org-latex-export-to-pdf to create pdfs out of txt files saved as org

The variable has been changed to org-latex-pdf-process (note there is no to in the name). If you use customize-variable you will get a dropdown where you choose xelatex, etc.
MikeHoss's user avatar
  • 141
4 votes

Emacs+Xetex org-latex-export-to-pdf to create pdfs out of txt files saved as org

Emacs-fu blog presented a solution to use XeTeX to import with emacs. You need to set org-latex-to-pdf-process to XeTeX, XeLaTeX or any other engine: (setq org-latex-to-pdf-process '("xelatex -...
Romain Picot's user avatar
  • 6,730
4 votes

Exporting .org files to LaTeX - Error

Not exactly an Ubuntu answer, but I came to this page looking for a solution for the same error on a Mac. I believe my MacOS-specific answer can be adapted to other OSes. For me, installing the ...
vitaly's user avatar
  • 141
4 votes

Referring to specific sections in org-mode latex

It's also possible to use \label and \ref directly in org-mode code: * Introduction \label{sec:intro} * Main See section \ref{sec:intro}. or with @@latex:@@ to does not export it in other formats: *...
6pi's user avatar
  • 141
4 votes

Export into pdf a moderncv org-mode file (MacTex)

The classes accepted by org-mode LaTeX export are defined in the customize variable org-latex-classes. You can either use customize-variable or add an entry in your .emacs file like the following (see ...
Heinrich supports Monica's user avatar
3 votes
Accepted

How to align the signature and its picture to the left with koma script?

I am not familiar with emacs org-mode. But I get a similar result using the following MWE: \documentclass[foldmarks,backaddress=false]{scrlttr2} \usepackage{lipsum}% only for dummy text \usepackage{...
esdd's user avatar
  • 85.7k
3 votes

`\documentclass{scrartcl}` not working in org-mode and emacs

Welcome to tex.stackexchange! I added #+LATEX_CLASS: koma-article below the line #+AUTHOR, see this example: #+TITLE: Titel #+SUBTITLE: untertitel #+AUTHOR: wer auch immer #+LATEX_CLASS: koma-...
Keks Dose's user avatar
  • 31k
3 votes

autobreak/allowframebreaks/allowpagebreaks problem in long Org+Beamer file when exporting to long slides

From https://github.com/fniessen/refcard-org-beamer ** A very long "frame" with breaks :PROPERTIES: :BEAMER_opt: allowframebreaks,label= :END: Works just fine for me for bibliographies and ...
David Wagle's user avatar
3 votes

Can Emacs org-mode be used to createToDo's linked to a line in a LaTeX source?

From the Orgmode manual: file:sometextfile::NNN file, jump to line number ... file:projects.org::some words text search in Org file Even though the manual talks about ...
Davor Cubranic's user avatar
3 votes
Accepted

Creating Concept map akin to markdown

EDIT: NEW APPROACH, SEE OLD APPROACH BELOW Before reading further, I'd suggest that you read the old approach below. Without further ado, here the new approach to my goal: The pseudo code that ...
Singulaere Entitaet's user avatar
3 votes
Accepted

Should I keep trying to write a portfolio in org mode?

org mode setup is off topic here, but getting the ouput that you sketch with LaTeX seems fairly standard: \documentclass[a4paper]{article} \usepackage{graphicx,wrapfig,capt-of,parskip} \begin{...
David Carlisle's user avatar
3 votes
Accepted

Hack 'minted' definition with NewTCBListing und RenewDocumentEnvironment

Update After seeing your edit, the comment is “D'oh!”. \documentclass[11pt]{article} \usepackage{fontspec} \usepackage[minted]{tcolorbox} \usepackage{minted} \usepackage{hyperref} \setminted{...
egreg's user avatar
  • 1.1m
2 votes

Changing the outline commands

You have to use \let statements, in this order: \let\subsubsection\subsection \let\subsection\section \let\section\chapter After \let\subsubsection\subsection the former definition of \subsubsection ...
gernot's user avatar
  • 49.6k
2 votes

Omitting date when exporting from org-mode

You made a slightly mistake in the options syntax. It should be: #+OPTIONS: date:nil
Huy Le's user avatar
  • 121
2 votes

Exporting .org files to LaTeX - Error

You are using a really old TexLive. It is not your fault, Ubuntu has always been way behind regarding LaTeX. Update your TexLive installation to a more current version, not using Ubuntu, using these ...
A Feldman's user avatar
  • 3,930
2 votes

Org Mode Latex fragment preview fails to convert tex to png

SOLVED There was a missing package was required to do the preview. I ran dvipng in the cmd line on a .dvi file and it installed the missing packages. The preview now works. The missing package was ...
dilzeem's user avatar
  • 31
2 votes

Is there a script converting Latex code into orgmode code?

I arrived at this page a couple of months ago, hoping for such a script. I have written a simple search-and-replace script in Python. It isn't very fancy, and I've only tested in on two LaTeX ...
AstroFloyd's user avatar
2 votes

make org-beamer-export-* to insert /framebreak before each top-level block

You could use \BeforeBeginEnvironment{block}{\framebreak}, but be warned, this will insert a \framebreak before every block. Using this in org-mode is probably something like #+latex_header: \...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

How to set koma pseudolength in emacs org mode?

Define an own lco file (recommended solution): \ProvidesFile{mySN.lco}[2019/04/13 letter-class-option] \LoadLetterOption{SN} \let\raggedsignature=\raggedright \setplength{toaddrvpos}{10cm} \endinput ...
esdd's user avatar
  • 85.7k
2 votes

Org mode latex koma letter: How to get the command \setplength{toaddrhpos} working?

I found the answer, from this: How to set koma pseudolength in emacs org mode? Apparently, you can create an lco file then load it. Or you can do this: #+LATEX_HEADER: \AtBeginLetter{\setplength{...
mle0312's user avatar
  • 183
2 votes

Can't produce a LaTeX file, error says I am missing 'ulem.sty'

Finally fixed it, so posting the solution for other confused org-mode users, here's what i've done to fix this. My texlive installation originated from the Arch packages. After investigating this, I ...
Dean's user avatar
  • 41
1 vote

Suppressing the final section of an org-mode beamer presentation

Try this: Since you define this in the preamble from the tutorial: #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc You can use the tag :not-in-toc: * Thanks :PROPERTIES: ...
Mittenchops's user avatar
  • 1,044

Only top scored, non community-wiki answers of a minimum length are eligible