ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Guravage <guravage@literatesolutions.com>
To: ntg-context@ntg.nl
Subject: How to place text before a table inside a column environment
Date: Thu, 22 Jul 2021 11:52:35 +0200	[thread overview]
Message-ID: <CAL-A5Lbu-r-O6UZDeF3HVafABjyPDkivHik84+wHuV3e4ERO7w@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]

I have created a table and placed it inside a columns environment; which
works as advertised. However, if I place any text before the column
environment, the columns break. More clearly stated, only one column
appears on the first table page; whereas two columns resume on subsequent
pages. I have attached a mwe where you can use --mode=title to invoke the
broken columns.

Any advice on how to place text above the columns environment would be
gratefully received.

With kind regards,

Michael

[-- Attachment #1.2: Type: text/html, Size: 668 bytes --]

[-- Attachment #2: mwe.tex --]
[-- Type: text/x-tex, Size: 434 bytes --]

\startsetups[tablesettings]
  \setupTABLE[c][1][style=\tfc, color=darkred, align=left]
  \setupTABLE[c][2][width=3cm, align=middle]
  \setupTABLE[c][each][frame=off]
\stopsetups

\switchtobodyfont[10pt]

\starttext
  \doifmode{title}{\title{Rooster}}

  \startcolumns[n=2]
    \bTABLE[split=yes, setups=tablesettings]
    \dorecurse{75}{\bTR \bTD 25 \eTD \bTD aug, wo \eTD \bTD Lecture \eTD \eTR}
    \eTABLE
  \stopcolumns
\stoptext

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2021-07-22  9:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22  9:52 Michael Guravage [this message]
2021-07-22 10:00 ` Henning Hraban Ramm
2021-07-22 10:42   ` Michael Guravage
2021-07-22 11:13     ` Henning Hraban Ramm
2021-07-22 11:36       ` Michael Guravage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL-A5Lbu-r-O6UZDeF3HVafABjyPDkivHik84+wHuV3e4ERO7w@mail.gmail.com \
    --to=guravage@literatesolutions.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).