Re: [NTG-context] Text Indentation and Space Around Headers
On Thu, Mar 8, 2012 at 10:41 AM, Marco wrote: > On 2012-03-08 Emmanuel Asante 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 > > ___ > ___ 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 ___
Re: [NTG-context] Text Indentation and Space Around Headers
Thanks Wolfgang, it works. On Thu, Mar 8, 2012 at 10:37 AM, Wolfgang Schuster < schuster.wolfg...@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 > > ___ > ___ 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 ___
Re: [NTG-context] Text Indentation and Space Around Headers
On 2012-03-08 Emmanuel Asante 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 ___
Re: [NTG-context] Text Indentation and Space Around Headers
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 ___
[NTG-context] Text Indentation and Space Around Headers
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 ___ 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 ___