ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* chapters in columns
@ 2001-04-20 11:03 AlterEgo Qasars
  2001-04-20 11:21 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: AlterEgo Qasars @ 2001-04-20 11:03 UTC (permalink / raw)


Good evening.

I'd like to ask one more question:
Let's suppose I'm typesetting in two columns. I'd like
the \chapter command to switch to one column, typeset
the chapter stuff and then to switch back to double
columns.

How can this be done? My attemts always failed?

Many greetings,
M.K.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: chapters in columns
  2001-04-20 11:03 chapters in columns AlterEgo Qasars
@ 2001-04-20 11:21 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-04-20 11:21 UTC (permalink / raw)
  Cc: ConTeXt mailing list

At 01:03 PM 4/20/01 +0200, AlterEgo Qasars wrote:
>Good evening.
>
>I'd like to ask one more question:
>Let's suppose I'm typesetting in two columns. I'd like
>the \chapter command to switch to one column, typeset
>the chapter stuff and then to switch back to double
>columns.
>
>How can this be done? My attemts always failed?

\def\MyChapter#1%
  {\stopcolumns
   \chapter{#1}
   \startcolumns}

could work for you

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: chapters in columns
  2001-04-23  9:50 AlterEgo Qasars
@ 2001-04-23 10:14 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-04-23 10:14 UTC (permalink / raw)
  Cc: ConTeXt mailing list

At 11:50 AM 4/23/01 +0200, AlterEgo Qasars wrote:
>Mr. Hagen wrote:
>
>> \def\MyChapter#1%
>>   {\stopcolumns
>>    \chapter{#1}
>>    \startcolumns}
>>
>> could work for you
>
>It is sure that this works (I'm doing it now), but then
>I cannot use crossreferences since I cannot program the
>optional parameters. Is there something as in LaTeX for
>making optional paras?

\def\MyChapter%
  {\dosingleempty\doMyChapter}

\def\doMyChapter[#1]#2%
  {\stopcolumns
   \chapter[#1]{#2}
   \startcolumns}

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: chapters in columns
@ 2001-04-23  9:50 AlterEgo Qasars
  2001-04-23 10:14 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: AlterEgo Qasars @ 2001-04-23  9:50 UTC (permalink / raw)


Mr. Hagen wrote:

> \def\MyChapter#1%
>   {\stopcolumns
>    \chapter{#1}
>    \startcolumns}
>
> could work for you

It is sure that this works (I'm doing it now), but then
I cannot use crossreferences since I cannot program the
optional parameters. Is there something as in LaTeX for
making optional paras?

Many thanks,
M.K.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-23 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-20 11:03 chapters in columns AlterEgo Qasars
2001-04-20 11:21 ` Hans Hagen
2001-04-23  9:50 AlterEgo Qasars
2001-04-23 10:14 ` Hans Hagen

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).