[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LaTeX tutorial (focused on what Org exports) ??
From: |
William Denton |
Subject: |
Re: LaTeX tutorial (focused on what Org exports) ?? |
Date: |
Fri, 6 Jan 2023 13:07:01 -0500 (EST) |
User-agent: |
Alpine 2.22 (DEB 394 2020-01-19) |
On 5 January 2023, David Masterson wrote:
With the Org files that you create, how many levels of headers do you
use? I use Org for personal task management mostly, but I'd like to
produce good PDFs to give to my wife (Org is too complicated). My
problem is that I'll structure my documents with many (5+) header
levels with tasks at the bottom. The problem is that the 'article' and
'report' document classes used by Org don't look right if you go beyond
3 levels -- if you know what I mean. (NOTE: LaTeX newbie)
By default the first three levels go to LaTeX headings, and then after that they
become lists. You can change that with the H option in a header, as described
here, to set org-export-headline-levels:
https://orgmode.org/org.html#Export-Settings
So you could say:
#+options: H:5
Level four headings become paragraphs, and level five become subparagraphs.
With that in place, you might like how the titlesec package can give a great
deal of control over section headings. I use this for some reports---it wraps
text around level three headings, which about as far as I usually go for
documents I export.
#+LATEX_HEADER: \usepackage[]{titlesec}
#+LATEX_HEADER: \titleformat{\section} {\centering\Large}{\thesection}{}{}
#+LATEX_HEADER: \titleformat{\subsubsection}[drop]{\itshape}{\thesection}{}{}{}
#+LATEX_HEADER: \titlespacing{\subsubsection}{0.75in}{\baselineskip}{0.5in}
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
- Re: LaTeX tutorial (focused on what Org exports) ??, (continued)
- Re: LaTeX tutorial (focused on what Org exports) ??, Fraga, Eric, 2023/01/02
- Re: LaTeX tutorial (focused on what Org exports) ??, David Masterson, 2023/01/02
- Re: LaTeX tutorial (focused on what Org exports) ??, Fraga, Eric, 2023/01/03
- Re: LaTeX tutorial (focused on what Org exports) ??, David Masterson, 2023/01/03
- Message not available
- Re: LaTeX tutorial (focused on what Org exports) ??, David Masterson, 2023/01/02
Re: LaTeX tutorial (focused on what Org exports) ??, David Masterson, 2023/01/01
Re: LaTeX tutorial (focused on what Org exports) ??, William Denton, 2023/01/02
Re: Re: LaTeX tutorial (focused on what Org exports) ??, Pedro Andres Aranda Gutierrez, 2023/01/04