ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Font switching on title page
Date: Sun, 01 Feb 2015 12:04:34 +0100	[thread overview]
Message-ID: <54CE0842.4020702@gmx.es> (raw)
In-Reply-To: <54CE0201.8030402@googlemail.com>

On 02/01/2015 11:37 AM, Jörg Weger wrote:
> I have started to design a title page for a paper.
> 
> First comes an information block at bodyfont size \tf (all in sans 
> serif), followed by the title of the paper in \bfd, then the author 
> (=me) in \bfa. The information block that follows then should be in 
> bodyfont size again, but it isn’t, it is too tall. What am I missing 
> about font switching? Is it maybe because it is a makeup page?

Hi Jörg,

"pagestate=stop" is the default in makeups, so you don’t need to add it.

\tf only changes the font to roman, but not the size. I don’t know
whether there is a switch that does that.

The best way avoid problems when using font switches is to enclose them
in braces.

Such as in (complete sample):

\definemakeup[titlepage][doublesided=no]

\starttext

\starttitlepagemakeup[top=,]

{\ss

information \crlf
about \crlf
university \crlf
and \crlf
course \par}

\blank[4*line]

{\bfd \ss

Paper \par}

\blank

{\bfa \ss

by me}

\blank[4*line]

{\ss

my \crlf
information, \crlf
adress \crlf
etc.}

\stoptitlepagemakeup

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2015-02-01 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01 10:37 Jörg Weger
2015-02-01 11:04 ` Pablo Rodriguez [this message]
2015-02-01 12:00   ` Jörg Weger
2015-02-01 12:55     ` Pablo Rodriguez
2015-02-02 10:26   ` Wolfgang Schuster

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=54CE0842.4020702@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /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).