Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-28 Thread Alan BRASLAU
On Fri, 28 Sep 2012 10:43:48 +0200
Hans Hagen  wrote:

> On 27-9-2012 22:49, Alan Braslau wrote:
> > Hello,
> >
> > Can someone indicate how to typeset
> > $L_{α+β}$
> > as verbatim text?
> > (\arg{} doesn't help here...)
> >
> > Furthermore, I suppose that typesetting Greek characters verbatim
> > depends also upon which \tt font is being used.  
> 
> \setupbodyfont[dejavu]
> 
> \starttext
> 
> \starttyping
> $L_{α+β}$
> \stoptyping
> 
> \stoptext

Also, \type{$L_{α+β}$}

I thought that I saw that somewhere before! :)

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-28 Thread Hans Hagen

On 27-9-2012 22:49, Alan Braslau wrote:

Hello,

Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)

Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.


\setupbodyfont[dejavu]

\starttext

\starttyping
$L_{α+β}$
\stoptyping

\stoptext

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-27 Thread Aditya Mahajan

Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)


Untested:

\type{...} should work. (Definitely did work a couple of months ago).


Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.


CM Unicode has a good coverage of greek characters in typewriter font.

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

[NTG-context] verbatim text: \type, \tex and co.

2012-09-27 Thread Alan Braslau
Hello,

Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)

Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___