4

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?

  • (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 '17 at 18:39
5

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.

  • 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). – Manoel Vilela Aug 24 '17 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. – Stuart Hickinbottom Aug 24 '17 at 15:04
  • Yes! Nice. Your tip worked fine. I defined as a separated #+LATEX_HEADER. – Manoel Vilela Aug 24 '17 at 15:08
  • Do you want to mark this answer as correct? – Stuart Hickinbottom Aug 24 '17 at 15:52
  • Yes, of course. Marked. – Manoel Vilela Aug 24 '17 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.