Using the LaTeX backend I try to mimic the latex-tufte style. To that end I 
want to place admonitions in the margins which can be quite easily 
accomplished by editing the latex.conf configuration file. What's tricky, 
however, is to control the vertical placement of individual admonitions 
within the margin. One idea that came to my mind is to add an additional 
option in the asciidoc markup and process this information within the 
configuration file. For example in my tufte.txt asciidoc source file I'd 
like to write:

[Note, -10mm]
Shift this note in the margin upwards by 10mm.

And in the latex.conf backend I'd like to process this with something 
similar like:

[admonitionblock]
\marginnote[{offset}]\{\raisebox\{-0.2\height\}\{\includegraphics[width=5mm]\{{icon={iconsdir}/{name}.pdf}\}\}|\}

Here {offset} should be substituted with -10mm. Is this somehow possible? 
Need I edit asciidoc.conf and add a posattrs=style,offset somewhere?

Thanks,
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/IX4fU3NdlHMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to