Hi, Annoyingly simple question -- apologies -- but I'm having no luck from the web. The ConTeXt wiki isn't turning up anything, and the pragma site seems to be broken, so I can't access the ConTeXt manual. So: What are the commands in ConTeXt to get angled braces, i.e. `<' and '>'? I've got is \langle and \rangle respectively, but these aren't resulting in output -- the dvi has nothing where they should be - "foo bar foo" instead of "foo <bar> foo". Using the braces themselves, eg \starttext foo <bar> foo \stoptext gives me upside-down exclamation and question marks, for left and right braces respectively. Thanks for any help. -Steven
Hi, this depends -- different fonts contain different kinds of 'angle braces', depending on their purpose. Do you want them for (french style) quotations, or for typesetting math? The following is a set of examples -- they might look very different with other fonts. Matthias (\langle and \rangle is math mode only I believe) \setuplanguage [en] [rightquote=\rightguillemot,leftquote= \leftguillemot] \starttext foo \leftguillemot bar\rightguillemot{} foo \leftsubguillemot bar\rightsubguillemot{} foo $\langle \text{bar}\rangle$ foo. foo \quote{bar} foo \stoptext On Jun 7, 2006, at 3:35 AM, Steven Robertson wrote:
Hi,
Annoyingly simple question -- apologies -- but I'm having no luck from the web. The ConTeXt wiki isn't turning up anything, and the pragma site seems to be broken, so I can't access the ConTeXt manual. So:
What are the commands in ConTeXt to get angled braces, i.e. `<' and '>'? I've got is \langle and \rangle respectively, but these aren't resulting in output -- the dvi has nothing where they should be - "foo bar foo" instead of "foo <bar> foo". Using the braces themselves, eg
\starttext foo <bar> foo \stoptext
gives me upside-down exclamation and question marks, for left and right braces respectively.
Thanks for any help.
-Steven _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi Matthias, thanks for your reply.
The angle braces I'm after are the ones that go around URLs in
citations, as in
[12] Smith, `Article on Things', available at
Hi,
this depends -- different fonts contain different kinds of 'angle braces', depending on their purpose. Do you want them for (french style) quotations, or for typesetting math?
The following is a set of examples -- they might look very different with other fonts.
Matthias
(\langle and \rangle is math mode only I believe)
\setuplanguage [en] [rightquote=\rightguillemot,leftquote= \leftguillemot]
\starttext
foo \leftguillemot bar\rightguillemot{} foo \leftsubguillemot bar\rightsubguillemot{} foo $\langle \text{bar}\rangle$ foo.
foo \quote{bar} foo \stoptext
On Jun 7, 2006, at 3:35 AM, Steven Robertson wrote:
Hi,
Annoyingly simple question -- apologies -- but I'm having no luck from the web. The ConTeXt wiki isn't turning up anything, and the pragma site seems to be broken, so I can't access the ConTeXt manual. So:
What are the commands in ConTeXt to get angled braces, i.e. `<' and '>'? I've got is \langle and \rangle respectively, but these aren't resulting in output -- the dvi has nothing where they should be - "foo bar foo" instead of "foo <bar> foo". Using the braces themselves, eg
\starttext foo <bar> foo \stoptext
gives me upside-down exclamation and question marks, for left and right braces respectively.
Thanks for any help.
-Steven _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 6/10/06, Steven Robertson wrote:
Hi Matthias, thanks for your reply.
The angle braces I'm after are the ones that go around URLs in citations, as in
[12] Smith, `Article on Things', available at
. It's been suggested to me elsewhere that I upgrade my ConTeXt version, so hopefully that will help.
Well ... if it's more than two months old, it might already be ancient ;) Also consider updating the fonts. Why are you using dvi instead of PDF?
I'll have a look around and see if there are particular angle braces that should be used for the above purpose (i.e. not greater-than/less-than or guillemots--they are `double', but Ithe suggestion is appreciated).
The example works OK here. Which font are you using? Most probably either the font is old/broken or the two characters are active. What do you get if you type: foo \char60 bar\char62 foo? (You may never type like that, but just for debugging puposes.) Mojca Btw: there are two mirrors of Pragma website (see links on wiki.contextgarden.net).
participants (3)
-
Matthias Weber
-
Mojca Miklavec
-
Steven Robertson