From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: Need help with \setuphead and spacing
Date: Sat, 2 Apr 2011 13:59:50 +0200 [thread overview]
Message-ID: <20110402135950.0a07eef4@glyph> (raw)
In-Reply-To: <nvitacolonna-A654AA.13421302042011@news.gmane.org>
On 2011-04-02 Nicola <nvitacolonna@gmail.com> wrote:
> 1) I need to shift the title 12pt below the top margin.
> This is my command now:
>
> \definefont[TitleStyle][SerifBold at 14pt]
> \setuphead[title][
> style=TitleStyle,
> align=middle,
> textstyle=WORD,
before={\blank[12pt,force]},
> after={\blank[3pt]}
> ]
>
> But 'before' does not seem to have any effect. My document starts with
> \starttext\title{...}.
>
> 2) I need (sub)section titles indented by .75cm, regardless of the section
> number, so that in:
>
> 1 First Section
> 1.1 First Subsection
> 100 Another Section Title
> 100.1 Another subsection
>
\setuphead [chapter,section] [command=\myseccmd]
\def\myseccmd#1#2{\hbox to .75cm{#1}#2}
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-04-02 11:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 11:42 Nicola
2011-04-02 11:59 ` Marco [this message]
2011-04-02 13:30 ` Nicola
2011-04-02 15:55 ` luigi scarso
2011-04-02 15:59 ` Wolfgang Schuster
2011-04-02 17:23 ` Marco
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=20110402135950.0a07eef4@glyph \
--to=netuse@lavabit.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).