5

I have a simple Org file with this:

#+STARTUP: showall align
#+OPTIONS: todo:nil tasks:all tags:nil
#+AUTHOR: Manoel Vilela
#+TITLE: Super title @@latex:\\@@ Title to be write
#+DATE: <2017-08-24 Thu 03:02>

* Description

Description about what this file is talking about.
This is a paragraph. But the start is not indented


This is another paragraph, but this is ok.

Which I got this on pdf export. enter image description here

But I expect that first paragraph is indented too. How can makes this directly?

1
  • (I'm glad you found something that does what you want.) It's usually better not to indent the first paragraph. Indentation should separate a paragraph from the previous one, and in this case there is no previous paragraph.
    – David
    Sep 9, 2017 at 18:39

1 Answer 1

7

This looks like an org-mode-flavour duplicate of https://tex.stackexchange.com/questions/31555/how-can-i-indent-the-paragraphs-which-follow-a-heading

The top answer from that question is to use the standard LaTeX package "indentfirst". The org-mode equivalent answer is to put the following at the top of your buffer:

#+LaTeX_HEADER: \usepackage{indentfirst}

Works for me in my quick test.

6
  • Thanks! I just didn't find this before. Just a quick question: is there a simple way to use multiple LaTeX commands on #+LATEX_HEADER? Because I already use one to setup my native language (which is not english). Aug 24, 2017 at 14:26
  • Glad to help. You can have as many separate #+LaTeX_HEADER lines as you like -- you don't need to try to combine them and they're all taken into account. I've lots! Once you've run the exporter you can always look at the generated .tex file and you'll see that your block of setup is effectively copied near the front. Aug 24, 2017 at 15:04
  • Yes! Nice. Your tip worked fine. I defined as a separated #+LATEX_HEADER. Aug 24, 2017 at 15:08
  • Do you want to mark this answer as correct? Aug 24, 2017 at 15:52
  • 1
    Yes, of course. Marked. Aug 24, 2017 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.