Fonts and Textelements
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
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)
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 -------------------------------------------------------------------------
\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