Changing Body Font
Hey list, I am trying to change the body font of my document in the environment file to use the Ubuntu font provided at, /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf , by the ttf-ubuntu-font-family package. I have tried the following, but it did not appear to change anything, \setupbodyfont[ubuntu,11pt][file:ubuntu-r][features=default] I also tried, \setupbodyfont[ubuntu,11pt] Any help would be appreciated. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
Please take a look at the simplefonts module.
\usemodule[simplefonts]
\setmainfont[Ubuntu]
\switchtobodyfont[11pt]
(please correct me anyone, if I'm wrong).
On Wed, Jun 22, 2011 at 4:10 PM, Kip Warner
Hey list,
I am trying to change the body font of my document in the environment file to use the Ubuntu font provided at,
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
, by the ttf-ubuntu-font-family package. I have tried the following, but it did not appear to change anything,
\setupbodyfont[ubuntu,11pt][file:ubuntu-r][features=default]
I also tried,
\setupbodyfont[ubuntu,11pt]
Any help would be appreciated.
-- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
___________________________________________________________________________________ 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
___________________________________________________________________________________
Am 23.06.2011 um 01:33 schrieb John Haltiwanger:
Please take a look at the simplefonts module.
\usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt]
(please correct me anyone, if I'm wrong).
Use \setupbodyfont to change the font size for whole document, \switchtobodyfont doesn’t change the size for the header/footer. Wolfgang
On Thu, 2011-06-23 at 05:31 +0200, Wolfgang Schuster wrote:
Am 23.06.2011 um 01:33 schrieb John Haltiwanger:
Please take a look at the simplefonts module.
\usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt]
(please correct me anyone, if I'm wrong).
Use \setupbodyfont to change the font size for whole document, \switchtobodyfont doesnt change the size for the header/footer.
Wolfgang
Thanks Wolfgang. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
participants (3)
-
John Haltiwanger
-
Kip Warner
-
Wolfgang Schuster