From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Need help with \setuphead and spacing
Date: Sat, 02 Apr 2011 15:30:07 +0200 [thread overview]
Message-ID: <nvitacolonna-A159A4.15300702042011@news.gmane.org> (raw)
In-Reply-To: <20110402135950.0a07eef4@glyph>
In article <20110402135950.0a07eef4@glyph>, Marco <netuse@lavabit.com> wrote:
> 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}
That works great!
I must say that, looking backwards, the choice of using ConTeXt for my paper (as
opposed to LaTeX) has turned out to be a winning one, although at the beginning
I was a little afraid of using a typesetting system that is still under active
development. With the help of the people from this list I have been able to
easily solve many layout and typographical challenges (at least, challenges for
me). So, thank you!
Nicola
___________________________________________________________________________________
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 13:30 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
2011-04-02 13:30 ` Nicola [this message]
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=nvitacolonna-A159A4.15300702042011@news.gmane.org \
--to=nvitacolonna@gmail.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).