ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Need help with \setuphead and spacing
Date: Sat, 2 Apr 2011 17:55:11 +0200	[thread overview]
Message-ID: <BANLkTinHvLy7_+sK_Ju962zG=hQ39Mq7Aw@mail.gmail.com> (raw)
In-Reply-To: <nvitacolonna-A159A4.15300702042011@news.gmane.org>

On Sat, Apr 2, 2011 at 3:30 PM, Nicola <nvitacolonna@gmail.com> wrote:
> 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!
Currently there are  few examples on typesetting math with mkiv; maybe you can
wikify someone from your paper ?


-- 
luigi
___________________________________________________________________________________
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:[~2011-04-02 15:55 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
2011-04-02 15:55     ` luigi scarso [this message]
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='BANLkTinHvLy7_+sK_Ju962zG=hQ39Mq7Aw@mail.gmail.com' \
    --to=luigi.scarso@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).