On Thu, 16 Apr 2015, Thangalin wrote:
\define\thinrule\fancybreak
Or
\definefancybreak[thinrule][symbol=star]
I wish there was a custom context-writer for pandoc, where markdown
elements were mapped to semantic commands rather than visual commands
(pandoc maps **text** to {\bf text}, which
Wikified.
http://wiki.contextgarden.net/Command/setupfancybreak
http://wiki.contextgarden.net/Modules/fancybreak
Might need some corrections and additions.
___
If your question is of interest to others as well, please
Thank you.
Here is an example that changes the \thinrule to something fancier:
\usemodule[fancybreak]
\setupfancybreak[symbol=star]
\define\thinrule\fancybreak
___
If your question is of interest to others as well, p
On Wed, 15 Apr 2015, Thangalin wrote:
Pandoc uses "thinrule" (probably because it spans the page by default)
when generating ConTeXt documents.
Using only thinrule, how would you go about making a "totally sweet"
(ornamental) horizontal rule, such as those shown at:
http://tex.stackexchange.com
Hi,
From http://wiki.contextgarden.net/Command/setupthinrules :
\define\BeforeCommand{Before}
\define\AfterCommand{After}
\define\BetweenCommand{Between}
\setupthinrules[
before=\BeforeCommand,
after=\AfterCommand,
inbetween=\BetweenCommand,
color=gray,
height=1em,
]
\starttext
\inp
Doing thinrules one can place a number of them.
However the interlinespace seems fixed to whatever has been chosen
for "small, medium, big".
I looked into the code but could not find a more flexible mechanism,
as for example
interlinedistance=dimension
Trying to get the rules close t