Login  Register

Re: Asciidoctor-pdf | Left indent for all content

Posted by mojavelinux on Oct 17, 2019; 3:36pm
URL: https://discuss.asciidoctor.org/Asciidoctor-pdf-Left-indent-for-all-content-tp7186p7242.html

The documentation for that category and key is here: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#keys-section

It should only apply the indent to the section body, not the section title. Are your section titles actually discrete headings by chance? If so, they are going to be indented too because discrete headings are section content just like paragraphs.

Best,

-Dan

On Thu, Oct 17, 2019 at 8:32 AM Hoplop [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is it documented somewhere? I tried to use it by setting
section:
    indent: 2cm

It seems, that all my headings now have indent 2cm from heading of previous level. And indent of section content seems to be 2cm either from left and from right.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Asciidoctor-pdf-Left-indent-for-all-content-tp7186p7241.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux