ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Changing Body Font
@ 2011-06-22 23:10 Kip Warner
  2011-06-22 23:33 ` John Haltiwanger
  0 siblings, 1 reply; 4+ messages in thread
From: Kip Warner @ 2011-06-22 23:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 556 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changing Body Font
  2011-06-22 23:10 Changing Body Font Kip Warner
@ 2011-06-22 23:33 ` John Haltiwanger
  2011-06-23  3:31   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: John Haltiwanger @ 2011-06-22 23:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1315 bytes --]

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 <kip@thevertigo.com> wrote:

> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2099 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changing Body Font
  2011-06-22 23:33 ` John Haltiwanger
@ 2011-06-23  3:31   ` Wolfgang Schuster
  2011-06-26  0:21     ` Kip Warner
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2011-06-23  3:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changing Body Font
  2011-06-23  3:31   ` Wolfgang Schuster
@ 2011-06-26  0:21     ` Kip Warner
  0 siblings, 0 replies; 4+ messages in thread
From: Kip Warner @ 2011-06-26  0:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 592 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-26  0:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 23:10 Changing Body Font Kip Warner
2011-06-22 23:33 ` John Haltiwanger
2011-06-23  3:31   ` Wolfgang Schuster
2011-06-26  0:21     ` Kip Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).