ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* verbatim text: \type, \tex and co.
@ 2012-09-27 20:49 Alan Braslau
  2012-09-27 21:11 ` Aditya Mahajan
  2012-09-28  8:43 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Braslau @ 2012-09-27 20:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: verbatim text: \type, \tex and co.
  2012-09-27 20:49 verbatim text: \type, \tex and co Alan Braslau
@ 2012-09-27 21:11 ` Aditya Mahajan
  2012-09-28  8:43 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2012-09-27 21:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 398 bytes --]

> 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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: verbatim text: \type, \tex and co.
  2012-09-27 20:49 verbatim text: \type, \tex and co Alan Braslau
  2012-09-27 21:11 ` Aditya Mahajan
@ 2012-09-28  8:43 ` Hans Hagen
  2012-09-28 10:06   ` Alan BRASLAU
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2012-09-28  8:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: verbatim text: \type, \tex and co.
  2012-09-28  8:43 ` Hans Hagen
@ 2012-09-28 10:06   ` Alan BRASLAU
  0 siblings, 0 replies; 4+ messages in thread
From: Alan BRASLAU @ 2012-09-28 10:06 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Fri, 28 Sep 2012 10:43:48 +0200
Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-28 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-27 20:49 verbatim text: \type, \tex and co Alan Braslau
2012-09-27 21:11 ` Aditya Mahajan
2012-09-28  8:43 ` Hans Hagen
2012-09-28 10:06   ` Alan BRASLAU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).