From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/839 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Sample of the Day (Example environment) Date: Wed, 08 Sep 1999 12:51:20 -0700 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.5.32.19990908125120.00b48340@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_936845480==_" X-Trace: main.gmane.org 1035391680 27566 80.91.224.250 (23 Oct 2002 16:48:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:48:00 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: pragma@wxs.nl Xref: main.gmane.org gmane.comp.tex.context:839 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:839 --=====================_936845480==_ Content-Type: text/plain; charset="us-ascii" Hans, You asked for some samples of math typesetting. If the group doesn't mind, I'll do one a day for a while. All, if this bothers you on this list, let me know and I'll just send them to Hans. Contrast Context \defineenumeration [example] [location=serried, text=Example, before=\blank, after=\blank, way=bychapter, style=slanted] \startexample Use \mat\ to sketch the conic section with equation \startformula r=\frac{4}{1+0.5\cos\theta}. \stopformula \stopexample with AMSLatex, \documentclass{article} \usepackage{amsmath} \newtheorem{example}{Example}[section] %Special typeset of the Matlab logo \def\mat{{\rm M}{\sc atlab}} \begin{document} \begin{example} Use \mat\ to sketch the conic section with equation $$ r=\frac{4}{1+0.5\cos\theta}. $$ \end{example} \end{document} Note the typesetting of \cos\theta in this Context example. The cos gets set in italic with not very good spacing. Dvi attached. --=====================_936845480==_ Content-Type: application/octet-stream; name="example.dvi"; x-mac-type="4F445649"; x-mac-creator="4F544558" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="example.dvi" 9wIBg5LAHDsAAAAAA+gbIFRlWCBvdXRwdXQgMTk5OS4wOS4wODoxMjQ2iwAAAAEAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////oAJ5AACNoP2jAACgAj8AAI2g/eQAAI2NjZE+ AADzDhryIlYACgAAAAoAAAAGY21ieDEwuUV4YW1wbGWRA9VUMC4xjo6SAIEuIvMP/QAnOgAKAAAA CgAAAAZjbXRpMTC6VXNllgOT5/MHS/FgeQAKAAAACgAAAAVjbXIxMLJN8xCMLfgUAAoAAAAKAAAA B2NtY3NjMTC7YZH/VVR0bGFik7p0b5Nza2V0Y2iTdGhlk2Ob/30nb25pY5NzZZhjdGlvbpN3aXRo k2WYcXVhdGlvbo6fGidqjZIAxQCt8woLoGI+AAoAAAAKAAAABmNtbWkxMLVykQMONbI9jY2Nn/k8 JI2RG1MrNI6RA/pLnwR3D4kAAGZmADOxwZ8JKNaNMZYCOOArkzC1OrI1jZEBqqhjb3OOkRC437US jo6OjpE43z86jo6fHgAAjZIA6AAAsjGOjoz4AAAAKgGDksAcOwAAAAAD6AJ5AAABlwAAAAgAAfMQ jC34FAAKAAAACgAAAAdjbWNzYzEw8w/9ACc6AAoAAAAKAAAABmNtdGkxMPMOGvIiVgAKAAAACgAA AAZjbWJ4MTDzCgugYj4ACgAAAAoAAAAGY21taTEw8wdL8WB5AAoAAAAKAAAABWNtcjEw+QAAAakC 39/f39/f --=====================_936845480==_--