* Text Indentation and Space Around Headers
@ 2012-03-08 17:08 Emmanuel Asante
2012-03-08 17:37 ` Wolfgang Schuster
2012-03-08 17:41 ` Marco
0 siblings, 2 replies; 5+ messages in thread
From: Emmanuel Asante @ 2012-03-08 17:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 480 bytes --]
Hi All,
I want to indent all text in a document except the chapter header text by a
given amount. I have used the following to achieve it:
\setupnarrower[left=3cm]
and
\startnarrower[left]
\stopnarrower
But I have the feeling that there has to be a better way of doing it.
Secondly, how do I control the space around headers? I would like to reduce
the big between the chapter header and the first paragraph. Any help will
be very much appreciated.
Regards,
Emmanuel
[-- Attachment #1.2: Type: text/html, Size: 872 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Text Indentation and Space Around Headers
2012-03-08 17:08 Text Indentation and Space Around Headers Emmanuel Asante
@ 2012-03-08 17:37 ` Wolfgang Schuster
2012-03-08 17:54 ` Emmanuel Asante
2012-03-08 17:41 ` Marco
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-03-08 17:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 08.03.2012 um 18:08 schrieb Emmanuel Asante:
> Hi All,
>
> I want to indent all text in a document except the chapter header text by a given amount. I have used the following to achieve it:
> \setupnarrower[left=3cm]
>
> and
>
> \startnarrower[left]
>
> \stopnarrower
>
> But I have the feeling that there has to be a better way of doing it.
It’s easier to move the headings to the left.
> Secondly, how do I control the space around headers? I would like to reduce the big between the chapter header and the first paragraph. Any help will be very much appreciated.
\setuphead[chapter][after={\blank[…]}]
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Text Indentation and Space Around Headers
2012-03-08 17:37 ` Wolfgang Schuster
@ 2012-03-08 17:54 ` Emmanuel Asante
0 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Asante @ 2012-03-08 17:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1353 bytes --]
Thanks Wolfgang, it works.
On Thu, Mar 8, 2012 at 10:37 AM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:
>
> Am 08.03.2012 um 18:08 schrieb Emmanuel Asante:
>
> > Hi All,
> >
> > I want to indent all text in a document except the chapter header text
> by a given amount. I have used the following to achieve it:
> > \setupnarrower[left=3cm]
> >
> > and
> >
> > \startnarrower[left]
> >
> > \stopnarrower
> >
> > But I have the feeling that there has to be a better way of doing it.
>
> It’s easier to move the headings to the left.
>
> > Secondly, how do I control the space around headers? I would like to
> reduce the big between the chapter header and the first paragraph. Any help
> will be very much appreciated.
>
> \setuphead[chapter][after={\blank[…]}]
>
> 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 : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2076 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Text Indentation and Space Around Headers
2012-03-08 17:08 Text Indentation and Space Around Headers Emmanuel Asante
2012-03-08 17:37 ` Wolfgang Schuster
@ 2012-03-08 17:41 ` Marco
2012-03-08 18:06 ` Emmanuel Asante
1 sibling, 1 reply; 5+ messages in thread
From: Marco @ 2012-03-08 17:41 UTC (permalink / raw)
To: ntg-context
On 2012-03-08 Emmanuel Asante <emmanuela.asante@gmail.com> wrote:
> I want to indent all text in a document except the chapter header
> text by a given amount.
That's a strange way of doing things, if I get it right what you
mean. If you want to have the number in the margin, you can use
\setupheads [alternative=inmargin]
or you can provide a negative indent for the heads
\setupheads [margin=-2cm]
which has the same effect as indenting everything else.
> Secondly, how do I control the space around headers?
\setuphead [chapter]
[
after=, % To remove the space
%after={\blank[1cm]},
%after={\blank[2cm]},
]
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Text Indentation and Space Around Headers
2012-03-08 17:41 ` Marco
@ 2012-03-08 18:06 ` Emmanuel Asante
0 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Asante @ 2012-03-08 18:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1555 bytes --]
On Thu, Mar 8, 2012 at 10:41 AM, Marco <netuse@lavabit.com> wrote:
> On 2012-03-08 Emmanuel Asante <emmanuela.asante@gmail.com> wrote:
>
> > I want to indent all text in a document except the chapter header
> > text by a given amount.
>
> That's a strange way of doing things, if I get it right what you
> mean. If you want to have the number in the margin, you can use
>
> \setupheads [alternative=inmargin]
>
> or you can provide a negative indent for the heads
>
> \setupheads [margin=-2cm]
>
> which has the same effect as indenting everything else.
>
> > Secondly, how do I control the space around headers?
>
> \setuphead [chapter]
> [
> after=, % To remove the space
> %after={\blank[1cm]},
> %after={\blank[2cm]},
> ]
>
> Marco
>
>
Marco,
No, I don't want the number in the margin. As you and Wolfgang have
suggested, it is easier to move the headers to the left than to move the
text to the right. I will play around with it and see what I get.
Thanks
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2714 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-08 18:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-08 17:08 Text Indentation and Space Around Headers Emmanuel Asante
2012-03-08 17:37 ` Wolfgang Schuster
2012-03-08 17:54 ` Emmanuel Asante
2012-03-08 17:41 ` Marco
2012-03-08 18:06 ` Emmanuel Asante
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).