Skip to main content

Questions tagged [org-mode]

Org-mode is an {emacs} mode for notes, planning and authoring.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

How to get fully qualified section numbers in crossrefs

Inside a subsubsection I use a \ref{lll} to a another section that has \label{lll}. If the subsubsection is in a different section than the label I get a fully qualified ref like [1.2.3]. But if in ...
Rushi's user avatar
  • 313
0 votes
1 answer
34 views

decrease space between code block and text [duplicate]

I have a org-mode beamer slide, I would like to decrease the vertical space between the code block and text area. full code: #+startup: beamer #+LATEX_CLASS: beamer #+BEAMER_FONT_THEME: structurebold ...
lucky1928's user avatar
  • 4,285
1 vote
1 answer
88 views

Hack 'minted' definition with NewTCBListing und RenewDocumentEnvironment

A colleague and myself are trying to hack the minted environment by assigning the original meaning to oldminted using \NewEnvironmentCopy and then use this saved version in a redefinition of minted ...
lukeflo's user avatar
  • 1,597
0 votes
1 answer
29 views

How to set \pdfminorversion in org-mode

How do I set \pdfminorversion=6 in org-mode? I don't know how to put that line before anything else in the resulting .tex file. This is the workaround I am using now: \pdfminorversion on the command ...
onlycparra's user avatar
2 votes
3 answers
963 views

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

I have been using org mode on my Manjaro system for more than two years, but after the latest update to the LaTeX repos, I can't seem to export org files to pdf or preview latex fragments. The error I ...
Dean's user avatar
  • 41
1 vote
1 answer
53 views

Make section number same as org-mode subheading

I'm busy doing exercises in org-mode and exporting it to tex -> PDF. How do I make sure it follows the headings set in the org file? As you can see in the pictures below, I skipped 1.1.3. In the ...
mustaqim's user avatar
0 votes
0 answers
75 views

preselect type fonts in org-mode with latex and fontenc

I am looking to assign specific fonts to each type of shape, with the command that I have given it only works for what is between braces, I want, for example, when I put \rmfamily (roman) to be able ...
Levo's user avatar
  • 3
1 vote
0 answers
68 views

How can I syntax-highlight non-inlined code?

One of the delights of using org-mode to edit LaTeX documents is the ability to see figures inline, as I am editing the buffer. By runnning (org-toggle-inline-images) , bound by default to C-cC-xC-v, ...
Sam7919's user avatar
  • 393
0 votes
1 answer
113 views

How to change quote behavior?

I'm using Org-Mode to write documents that I export to LaTeX. Org-Mode exports its quote blocks to: \begin{quote} ... \end{quote} In order to color these quotes I'm using the following code (found ...
crocefisso's user avatar
0 votes
0 answers
46 views

Is there a way to `\includeonly` when the memoir document is monolithic?

When writing a memoir document it's easy to focus on just one chapter by using \includeonly. \documentclass{memoir} \title{title} \author{author} \includeonly{chap-3} \begin{document} \include{chap-0}...
Sam7919's user avatar
  • 393
0 votes
1 answer
226 views

How can I adjust memoir to work within org-mode?

In lieu of typing bare-bones LaTeX code, and for other advantages irrelevant to this question, I am using the memoir class from within Emacs org-mode, with larger fonts for using the output initially ...
Sam7919's user avatar
  • 393
1 vote
1 answer
156 views

koma-article is defined in org-latex-classes but not ava

I tried the suggestion at: Using KOMA-Script article with org-mode When I try to export from an org file to LaTeX document class koma-article I get the message unknown LaTeX class 'scrartcl'. Here is ...
Bert Munger's user avatar
1 vote
0 answers
290 views

What are some top secret hacks for people who are familiar with LaTeX? [closed]

I have used LaTeX for 10 years. I read an introduction to LaTeX on the internet and started writing in LaTeX. With the time I got familiar with Tikz and other packages. Today I learned about: org mode ...
user avatar
0 votes
0 answers
569 views

How to indent minted code blocks?

I'm using org-mode to generate the pdf and set the code backend to minted. The org source is shown as below: Some text. #+begin_src c #include <stdio.h> int main() { printf("Hello, ...
Zhipeng Bao's user avatar
0 votes
2 answers
438 views

Org-mode export bold text to beamer

When exporting an org file to beamer, the *bold* text syntax is translated as \alert{bold}, which gives text in red color. How do I get actual bold text instead?
frct's user avatar
  • 1
1 vote
1 answer
151 views

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

I'm applying to an art school with a process portfolio (picture oriented thesis) As already asked here I need to create sections with an intro picture and explain the artistic process with 30-50 words ...
jjk's user avatar
  • 285
0 votes
0 answers
670 views

#+ATTR_LATEX as result of macro expansion in org-mode latex export

I'm trying to set up a #+ATTR_LATEX statement, as a result of a macro, but it's no working. This is a MWE: #+OPTIONS: toc:nil #+LATEX_CLASS_OPTIONS: [11pt,a4paper] #+LATEX_HEADER: \usepackage{float} #+...
carlosv's user avatar
  • 337
0 votes
0 answers
104 views

\schemata in org-mode

I can't export in org-mode to latex with \schemata. It seems that it recognizes the header \schemata and the command \schema but when exporting to pdf it is not displayed. Does anyone have any ideas? #...
levo's user avatar
  • 1
2 votes
1 answer
302 views

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

Problem I use org-mode to generate a latex file, which then generates a pdf file. The document class I use is scrlttr2. The pdf generates OK, here is the org file: #+LATEX_CLASS: scrlttr2 #+...
mle0312's user avatar
  • 183
2 votes
0 answers
326 views

Org mode - text problem in SVG images

I have a problem when exporting latex tikz code as svg image in org mode. #+LATEX_HEADER: \usepackage{svg} #+LATEX_HEADER: \usepackage{tikz} #+HEADER: :exports results #+HEADER: :imagemagick yes #+...
fersdt's user avatar
  • 21
0 votes
1 answer
247 views

Anyone familiar with using Latex within Emacs (Org-mode) - Why indent para works, but not abnormal parskip (memoir class)

Firstly I will come clean and admit that the only real interaction I have with Latex is from within the Org-mode environment of Emacs. I am trying to learn latex, however I am finding this confusing ...
Prolle's user avatar
  • 127
0 votes
0 answers
139 views

How to design latex by eye and mouse only?

How can I drag and drop a latex document using my eye and mouse only? In other words, I don't know yet what document design I'm looking for. I'm an avid emacs and keyboard first user, however the ...
jjk's user avatar
  • 285
0 votes
2 answers
2k views

Previewing LaTeX fragments in org-mode not working

I've been trying to find a fix for this for a few days now and it's driving me crazy, so any help would be amazing. I'm trying to set my emacs up for making maths notes using org-mode. However, I've ...
Kai Jenkins's user avatar
4 votes
1 answer
423 views

org-latex-export-to-pdf preamble appearing in main body

There appears to be a problem with how org-mode (or my configuration, maybe?) is handling latex documents. Here is the sample file that I'm trying to export: \documentclass[12pt, letterpaper, twoside]{...
Jtrans's user avatar
  • 41
0 votes
0 answers
243 views

Strange rendering of latex fragments in org-mode buffer

This is a strange rendering problem I haven't seen before. In an org buffer with many latex fragments, when rendered, each image rendered has at the top in faint black letters: TLT TLT, and then under ...
Joe's user avatar
  • 301
0 votes
0 answers
140 views

What is the \begin{LaTeX} environment for?

I'm very sorry if this is something obvious, but I haven't been able to find anything on this. I'm generating LaTeX files using Org-mode in Emacs. The generated source file has \begin{LaTeX} ... \...
Abhishek Chakraborty's user avatar
1 vote
1 answer
315 views

Beamer xelatex images not show

% Created 2019-11-13 Wed 10:48 % Intended LaTeX compiler: xelatex \documentclass[presentation]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{grffile} \...
jilen's user avatar
  • 113
1 vote
2 answers
518 views

Suppressing the final section of an org-mode beamer presentation

My org-mode beamer organization is something like: * Introduction * Presentation ** Section 1 ** Section 2 * Thanks - email - contact, etc.. I'd like to suppress the thanks page on my TOC. How ...
Mittenchops's user avatar
  • 1,044
1 vote
0 answers
296 views

\DeclareLabelname with Biblatex in Emacs Org-mode [closed]

I have a custom biblatex entry type called "film". This has several custom fields, notably the "director" field. While I am able to get this to work as a straight LaTeX document, I am unable to get ...
Adam's user avatar
  • 111
3 votes
1 answer
852 views

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

I am trying to use org-mode for generating my documents in pdf format using MiKTeX in Windows environment. When use the class \documentclass{scrartcl} in TexMaker, it is working properly. But in org-...
Sreekumar R's user avatar
0 votes
0 answers
74 views

Unable to show the subtitle in pdflatex

I have a code block as follows: #+LATEX_CLASS: article #+TITLE: Lecture 1: Introduction #+SUBTITLE: Course Name #+AUTHOR: My Name #+EMAIL: [email protected] #+LaTeX_HEADER: \usepackage{charter} #+...
Sreekumar R's user avatar
4 votes
2 answers
1k views

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

(1) I’d like to use an long Emacs + Org-mode + Beamer file (.org) to export a long slide. The .org file is about 100 pages, the slide will goto about 500 pages. So I would like to make the export ...
saga's user avatar
  • 41
0 votes
1 answer
134 views

Exporting indefinitely deep org trees

I would like to export to LaTeX from EMACS's Org mode but with indefinitely many levels. Is this possible? By default there are only 5 levels '("article" "\\documentclass[11pt]{article}" ("\\...
Toothrot's user avatar
  • 3,356
0 votes
1 answer
435 views

How to set koma pseudolength in emacs org mode?

Using emacs org-mode and the koma letter script, how can I set the vertical address position? The 1manual at p.484 displays a nice 2overview of position possibilities. However, neither of these lines ...
jjk's user avatar
  • 285
2 votes
1 answer
1k views

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

Using emacs org-mode and the koma letter script, how can I align the signature part to the left? Setting raggedsignature as suggested in other posts, makes no difference #+LATEX_CLASS: default-koma-...
jjk's user avatar
  • 285
1 vote
2 answers
597 views

In org-mode why does org-latex-create-formula-image-program gives extra information?

In my .emacs I have (setq org-latex-create-formula-image-program 'imagemagick) It's working so I get a preview of the formula with c-c c-x c-l but I also get an unwanted information linktoc = all, ...
Raoul HATTERER's user avatar
0 votes
1 answer
606 views

Vertically align LaTeX preview in org mode

I would like to vertically align org mode latex previews at the same level than the surrounding text, that is I want the bottom of the surrounding text to be at the same level than the bottom of the ...
memeplex's user avatar
  • 121
2 votes
1 answer
2k views

Equivalent of \today in org mode

Is there any equivalent of \today in org mode which auto updates whenever the document is exported and can be inserted anywhere in text?
Vaibhav's user avatar
  • 6,685
0 votes
1 answer
476 views

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

I'm looking for an easy way to automatically insert \framebreak before each block - that is, for each sub-section of the org-file. e.g. * Section 1 ** Sub-Section 1.1 - a - b ** Sub-Section 1.2 - c - ...
crimson-egret's user avatar
3 votes
1 answer
832 views

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

I try to export a org file into pdf file with moderncv as document class. I am on OSX, installed last version of MacTeX (2017 distribution, the full one) and I have currently no problem to export a ...
yoLotus's user avatar
  • 131
5 votes
1 answer
4k views

Using KOMA-Script article with org-mode

I want to export a document from org-mode to latex with the KOMA-Script article class scrartcl. I thought it was as easy as to switch from article to book. So I put in my org file the following ...
gabrielpdp1979's user avatar
16 votes
1 answer
9k views

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

I need to solve a recent problem placing images side by side in the center of a PDF that is generated by org-mode via LaTeX. I recently opened some .org-files from a year ago and tried to generate ...
noob's user avatar
  • 381
2 votes
1 answer
206 views

Changing the outline commands

I am using org-mode to manage both HTML and PDF versions of my notes. When it exports to LaTeX, it uses \section, \subsection etc. But the document class I use have \chapter, \section, \subsection as ...
meguli's user avatar
  • 131
1 vote
1 answer
476 views

What's causing an extra heading numbering?

See the TOC in PDF For the four stars sub-heading, LaTeX inserts an extra decimal numbering. It should be 0.1.1.1 instead of 0.1.1.0.1. An extra zero. It persists in subsequent sub-headings. What's ...
Emacs User's user avatar
1 vote
0 answers
506 views

Cut off graphs using dot2texi with TikZ

I am creating concept maps using dot2texi and TiKz. However, with more complex maps the current style sometimes causes the map to be cut off. This despite the fact that in theory there is actually ...
Singulaere Entitaet's user avatar
7 votes
3 answers
5k views

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

Please advise if there is a simpler way to do this but I'm hoping to use Emacs + Xetex for turning a text file into a pdf. So far I am saving the text file as .org and I currently have #+LATEX_CLASS: ...
Garvin's user avatar
  • 71
5 votes
3 answers
3k views

Creating Concept map akin to markdown

After watching some videos on concept maps such as concept mapping for time management and long term memory, I decided that this might be a useful way to learn. When looking for apps (e.g. CmapTools) ...
Singulaere Entitaet's user avatar
3 votes
0 answers
273 views

How can I distinguish between error in code and bug in package? [closed]

I keep getting an error upon compilation, but cannot find an error, even with a tiny reproducible example (below). I am exporting from Emacs org-mode to LaTeX and then PDF, I am receiving the well ...
n1k31t4's user avatar
  • 143
5 votes
3 answers
6k views

Exporting .org files to LaTeX - Error

I'm new to EMACS (on Ubuntu) and I have started using the org mode to begin with. I tried to convert my .org files into LaTeX only to see an error saying pdf was not produced Upon checking the error ...
Prasanna's user avatar
  • 153
1 vote
1 answer
1k views

Org Mode Latex fragment preview fails to convert tex to png [closed]

I have a windows 10 machine, and MikTex. Whenever I try to toggle the preview of the I get an error in messages buffer below: org-create-formula-image-with-dvipng: Failed to create png file from c:/...
dilzeem's user avatar
  • 31