Skip to content

How to achieve this heading behaviour? #399

Answered by brechtm
th0mr asked this question in Q&A
Discussion options

You must be logged in to vote

Do you have any idea how I might be able to solve this? In an ideal world I would apply a style to the heading label to send it back 2cm, but as far as I can read in the rinohtype docs, this does not seem possible.

In fact, that is exactly how you can solve this, and yes, it's possible :-)

[heading level 1]
#margin_left=0cm
# adds tab character between tab stop and heading to create the gap
before="\t"
# set tab stop at the margin
tab_stops=0cm LEFT
# create room for the section label
indent_first=-2cm

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@th0mr
Comment options

Answer selected by th0mr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants