* Grid typesetting, colums and vertical spacing
@ 2010-04-20 12:11 Jan Pohanka
2010-04-20 13:54 ` Peter Rolf
0 siblings, 1 reply; 3+ messages in thread
From: Jan Pohanka @ 2010-04-20 12:11 UTC (permalink / raw)
To: ntg-context
Hello,
I'm trying to typeset on the grid, but I also need to reduce vertical
spacing around headings. Unfortunately when i specify the 'before/after'
setting for head, grid typesetting fails.
Is there any option to make \blank more flexible?
(I'm using MKII)
example:
\setupoutput[pdftex]
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
width=middle,height=middle,margin=0cm,header=0cm]
\setupbodyfont[10pt]
\mainlanguage[cz]
\enableregime[utf8]
\setuppagenumbering[location=]
\setuphead[section][style={\bf}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well
\starttext
\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
\startcolumnset[my]
\section{Pokus}
\input knuth
\input knuth
\subsection{Pokus 2}
\input knuth
\input knuth
\input knuth
\subsection{Pokus 3}
\input knuth
\stopcolumnset
\stoptext
greetings
Jan
--
Ing. Jan Pohanka
Department of Measurement
Faculty of Electrical Engineering
Czech Technical University
Technická 2, 16627 Praha 6
tel. 224352058
email: pohanj1@fel.cvut.cz
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Grid typesetting, colums and vertical spacing
2010-04-20 12:11 Grid typesetting, colums and vertical spacing Jan Pohanka
@ 2010-04-20 13:54 ` Peter Rolf
0 siblings, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2010-04-20 13:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello Jan,
Am 20.04.2010 14:11, schrieb Jan Pohanka:
>
> Hello,
>
> I'm trying to typeset on the grid, but I also need to reduce vertical
> spacing around headings. Unfortunately when i specify the 'before/after'
> setting for head, grid typesetting fails.
> Is there any option to make \blank more flexible?
> (I'm using MKII)
>
see
http://www.pragma-ade.com/general/manuals/details.pdf
and (maybe outdated example)
http://archive.contextgarden.net/message/20051226.174723.f5c32d5c.en.html
Best wishes, Peter
> example:
>
>
> \setupoutput[pdftex]
>
> \setuppapersize[A4,landscape][A4,landscape]
> \setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
> width=middle,height=middle,margin=0cm,header=0cm]
>
> \setupbodyfont[10pt]
>
> \mainlanguage[cz]
> \enableregime[utf8]
>
> \setuppagenumbering[location=]
>
> \setuphead[section][style={\bf}]
> \setuphead[section][before={\blank[halfline,flexible]}] % not working well
> % \setuphead[section][after={\blank[halfline,flexible]}] % not working well
>
>
> \starttext
>
> \setuplayout[grid=yes] \showgrid
> \definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
>
> \startcolumnset[my]
>
> \section{Pokus}
> \input knuth
> \input knuth
> \subsection{Pokus 2}
> \input knuth
> \input knuth
> \input knuth
> \subsection{Pokus 3}
> \input knuth
>
> \stopcolumnset
>
> \stoptext
>
>
> greetings
> Jan
>
>
___________________________________________________________________________________
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] 3+ messages in thread
* Grid typesetting, colums and vertical spacing
@ 2010-04-19 20:21 Honza Pohanka
0 siblings, 0 replies; 3+ messages in thread
From: Honza Pohanka @ 2010-04-19 20:21 UTC (permalink / raw)
To: ntg-context
Hello,
I'm trying to typeset on the grid, but I also need to reduce vertical
spacing around headings. Unfortunately when i specify the 'before/after'
setting for head, grid typesetting fails.
Is there any option to make \blank more flexible?
(I'm using MKII)
example:
\setupoutput[pdftex]
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
width=middle,height=middle,margin=0cm,header=0cm]
\setupbodyfont[10pt]
\mainlanguage[cz]
\enableregime[utf8]
\setuppagenumbering[location=]
\setuphead[section][style={\bf}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well
\starttext
\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
\startcolumnset[my]
\section{Pokus}
\input knuth
\input knuth
\subsection{Pokus 2}
\input knuth
\input knuth
\input knuth
\subsection{Pokus 3}
\input knuth
\stopcolumnset
\stoptext
greetings
Jan
--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:
http://www.opera.com/mail/
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2010-04-20 13:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20 12:11 Grid typesetting, colums and vertical spacing Jan Pohanka
2010-04-20 13:54 ` Peter Rolf
-- strict thread matches above, loose matches on Subject: below --
2010-04-19 20:21 Honza Pohanka
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).