Fonts and Textelements
![](https://secure.gravatar.com/avatar/4b9d778932a4446ac76a0924a536c05b.jpg?s=120&d=mm&r=g)
Hi all, I want to typeset some texts with palatino fonts. Of course, all elements of the text on the page including pagenumbers, equationnumbers, footnotes and so on should be typesetted with Palatino. With the following testfile I get only the maintext and the equations with the right fonts. The other elements are typesetted with cmr-fonts. What Do I wrong? With many thanks for any hint Albrecht \setupoutput[pdftex] \setupfontsynonym [Serif] [handling=punctuation] \setupfontsynonym [Sans] [handling=punctuation] \setupfontsynonym [Mono] [handling=punctuation] \usetypescript [berry] [ec] \definetypeface [postscript] [rm] [serif] [palatino] [default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=.9] \definetypeface [postscript] [tt] [mono] [courier][default][rscale=.9] \definetypeface [postscript] [mm] [math] [palatino] [default] [encoding=ec] \switchtotypeface [postscript] [11pt] \setupalign [hanging] \starttext \input tufte {\sc Tufte}\footnote{abcdefgh {\sc Tufte}} \placeformula $$E=mc^2$$ \placeformula $$\Delta E=\Delta mc^2$$ \ss \input tufte \tt \input tufte \stoptext
![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
alkauffm@rz.uni-potsdam.de writes: Hi,
\switchtotypeface [postscript] [11pt]
\setupbodyfont[postscript,11pt]
\setupalign [hanging] \starttext \input tufte {\sc Tufte}\footnote{abcdefgh {\sc Tufte}}
\placeformula $$E=mc^2$$ \placeformula $$\Delta E=\Delta mc^2$$
don't use $$, spacing gets wrong. Use \startformula...\stopformula instead Patrick (... does not like too much math)
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 00:48 17/04/2003 +0200, alkauffm@rz.uni-potsdam.de wrote:
Hi all,
I want to typeset some texts with palatino fonts. Of course, all elements of the text on the page including pagenumbers, equationnumbers, footnotes and so on should be typesetted with Palatino. With the following testfile I get only the maintext and the equations with the right fonts. The other elements are typesetted with cmr-fonts. What Do I wrong?
With many thanks for any hint Albrecht
\setupoutput[pdftex] \setupfontsynonym [Serif] [handling=punctuation] \setupfontsynonym [Sans] [handling=punctuation] \setupfontsynonym [Mono] [handling=punctuation] \usetypescript [berry] [ec] \definetypeface [postscript] [rm] [serif] [palatino] [default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=.9] \definetypeface [postscript] [tt] [mono] [courier][default][rscale=.9] \definetypeface [postscript] [mm] [math] [palatino] [default] [encoding=ec]
\switchtotypeface [postscript] [11pt]
a \switchto... only changes the running text, while \setup... changes the page ornaments as well, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
![](https://secure.gravatar.com/avatar/8b3c344f0adba6016612e05447039f44.jpg?s=120&d=mm&r=g)
\setupfontsynonym [Serif] [handling=punctuation]
I do not find this command in any manual. Is it the same thing as \definefontsynomym? More generally, how does \definefoo differ from \setupfoo where foo is some context macro call? John Culleton ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/
participants (4)
-
alkauffm@rz.uni-potsdam.de
-
Hans Hagen
-
John Culleton
-
Patrick Gundlach