ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Pavneet Arora <pavneet_arora@waroc.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: simpleslides help needed
Date: Sat, 21 Jul 2012 14:06:39 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1207211357440.23249@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <50080097.4030107@waroc.com>

Hi Pavneet,

I am CCing the list as others might find this useful as well.

On Thu, 19 Jul 2012, Pavneet Arora wrote:

> One more question, though:  if one wanted to design the slides with 
> *different* title and body fonts, as I do, how would one do that?  This is 
> why I tried \setupbodyfont and ran into my initial difficulties.

Use

\setupSlideTitle
    [style={ any font command }]

The default value of style is \switchtobodyfont[\SlideTitleSize]. The 
easiest way to switch fonts is to use \definefont or, if you are using the 
simplefonts module, \definesimplefont. For example:

\usemodule[simpleslides]
\usemodule[simplefonts][size=\NormalSize]

\definesimplefont[SlideTitleFont][Dejavu Sans][size=\SlideTitleSize]

\setupSlideTitle[style=\SlideTitleFont]

\starttext

\SlideTitle{Knuth}

\input knuth

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


      parent reply	other threads:[~2012-07-21 18:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18  0:41 Pavneet Arora
2012-07-18  3:33 ` Wolfgang Schuster
2012-07-23 21:21   ` Pavneet Arora
2012-07-24  4:22     ` Wolfgang Schuster
2012-07-24 10:51       ` Pavneet Arora
2012-07-24 11:44         ` Sietse Brouwer
2012-07-24 12:19           ` Pavneet Arora
2012-07-18  7:42 ` Hans Hagen
2012-07-18 11:23   ` Pavneet Arora
2012-07-18 12:13     ` Hans Hagen
2012-07-18 15:09     ` Aditya Mahajan
2012-07-18 15:18 ` Aditya Mahajan
     [not found]   ` <50080097.4030107@waroc.com>
2012-07-21 18:06     ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.02.1207211357440.23249@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pavneet_arora@waroc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).