Non-linebreaking \setup[head|paragraph]
Hello,
I'd like to \define or \setuphead or \setupparagraph (or \setup
Am 21.12.2010 um 16:39 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
I'd like to \define or \setuphead or \setupparagraph (or \setup
) a command which would produce the similar thing as the native LaTeX \paragraph{name} does. This command should "sublevel" the \subsubsection (so it would generate numbers when being used), it would have an extra space after it and it would not produce the line-break.
An example of its use is in the attached .gif (screenshot of a document created by LaTeX); I'm trying to generate the "*4.2.3.1 Stavební jámy* Hladina ..." (originally produced by the code "\paragraph{Stavební jámy} Hladina ..." by LaTeX).
How to achieve this in Ctx?
\setuphead[...][alternative=text] Wolfgang
Thanks, Wolfgang, it works fine.
BTW: Is there a place ([source] file) where to find the default 'after' and 'before' commands for \part, \chapter, \section etc.?
And also the default Ctx spacing before/after these heads?
Lukas
On Tue, 21 Dec 2010 17:36:18 +0100, Wolfgang Schuster
I'd like to \define or \setuphead or \setupparagraph (or \setup
) a command which would produce the similar thing as the native LaTeX \paragraph{name} does. \setuphead[...][alternative=text]
Wolfgang
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Am 21.12.2010 um 18:21 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Thanks, Wolfgang, it works fine.
BTW: Is there a place ([source] file) where to find the default 'after' and 'before' commands for \part, \chapter, \section etc.?
For MkIV you can find the defaults in strc-def.mkiv. Wolfgang
On 21-12-2010 4:39, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I'd like to \define or \setuphead or \setupparagraph (or \setup
) a command which would produce the similar thing as the native LaTeX \paragraph{name} does. This command should "sublevel" the \subsubsection (so it would generate numbers when being used), it would have an extra space after it and it would not produce the line-break.
An example of its use is in the attached .gif (screenshot of a document created by LaTeX); I'm trying to generate the "*4.2.3.1 Stavební jámy* Hladina ..." (originally produced by the code "\paragraph{Stavební jámy} Hladina ..." by LaTeX).
How to achieve this in Ctx?
\definehead[paragraph][subsubsection] \setuphead[paragraph] [alternative=text,style=bold] \chapter{Chapter} \section{Section} \subsection{SubSection} \paragraph{paragraph} \input tufte ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster