ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: columns and \definemakeup
Date: Wed, 30 Apr 2008 08:07:20 +0200	[thread overview]
Message-ID: <115224fb0804292307n65efc19cl28b663b5def52287@mail.gmail.com> (raw)
In-Reply-To: <873ap4lgnq.fsf@googlemail.com>

On Tue, Apr 29, 2008 at 7:22 PM, Suno Ano <suno.ano@googlemail.com> wrote:
>  >| On Tue, 29 Apr 2008 13:40:59 +0200,
>  >| Wolfgang Schuster
>  >| who can be reached at: schuster.wolfgang@googlemail.com
>  >| (whose comments are cited below with " Wolfgang> "),
>  >| had this to say in article <115224fb0804290440r4de3ace9s4c5b5f2fee372e59@mail.gmail.com>
>  >| in newsgroups gmane.comp.tex.context
>  >| concerning the subject of Re: columns and \definemakeup
>  >| (see <87lk2xnd6w.fsf@googlemail.com> <115224fb0804290432u47e4665alf7a5b21d9116c7a2@mail.gmail.com> for more details)
>
>  Wolfgang> Alternative solution:
>
>  Wolfgang> \Definelayout
>  Wolfgang>   [titlepage]
>  Wolfgang>   [header=0pt,
>  Wolfgang>    footer=0pt,
>  Wolfgang>    backspace=4cm,
>  Wolfgang>    width=12cm]
>
> [skipping a lot of lines ...]
>
>
> Thank you Wolfgang, it works! However, I tried but did not figure out
> how to also change the fontsize from within the \definelayout block. Is
> it possible?

No possible, \definelayout is resposible for margings, textheight and width ...
not for the fontsize

> I want to change the fontsize to 11pt. I know I could use
> \switchtobodyfont but I would rather save myself some typing in the
> future and put it in the \definelayout block -- or something else that
> does not require me typing it over and over again if \definelayout is
> the wrong way to go here altogether (/me is still a novice to ConTeXt).

Not within \definelayout but see below.

> Same as for the fontsize -- can I "demand" two columns from within the
> \definelayout block instead of always putting \startcolumns[n=2]
> respectively \stopcolumns in the actual source?

\definestartstop
 [titlepage]
 [before={\setuplayout[titlepage]\bgroup\switchtobodyfont[11pt]\startcolumns},
  after={\stopcolumns\egroup\page[right]\setuplayout[reset]}]


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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2008-04-30  6:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 10:54 Suno Ano
2008-04-29 11:32 ` Wolfgang Schuster
2008-04-29 11:40   ` Wolfgang Schuster
2008-04-29 17:22     ` Suno Ano
2008-04-30  6:07       ` Wolfgang Schuster [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=115224fb0804292307n65efc19cl28b663b5def52287@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).