[NTG-context] Percent symbol inside \type{}?

Sander Maijers S.N.Maijers at student.ru.nl
Tue May 21 16:17:21 CEST 2013


On 20-05-13 15:08, Marco Patzer wrote:
> On 2013–05–20 Sander Maijers wrote:
>
>> What is the most straightforward way to print a percent symbol
>> inside the argument to \type{} (or, if necessary, more generally:
>> monospace type)
>
> I'd say the most straightforward way is using \asciimode:
>
> \starttext
>    \startlines
>      \mono{foo \% bar}
>      \mono{foo \letterpercent\ bar}
>      \asciimode
>      \mono{foo % bar}
>    \stoplines
> \stoptext


That works, thanks!

> Marco
>
> PS: Please don't hijack threads. Start a new thread for each new issue.

I have used a new subject line. If you see any problem that makes you 
think that I hijacked a thread could you point it out, please?

>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>



More information about the ntg-context mailing list