ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: Pavneet Arora <pavneet_arora@waroc.com>,
	 mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Orphans and widows in Natural Tables
Date: Fri, 10 Jun 2016 00:50:55 +0200	[thread overview]
Message-ID: <5759F2CF.6000503@gmail.com> (raw)
In-Reply-To: <20160609202108.GN39769@lahore>


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

> Pavneet Arora <mailto:pavneet_arora@waroc.com>
> 9. Juni 2016 um 22:21
> Related to my previous enquiry, I have the same issue with another part
> of the report card that uses Natural Tables.
>
> I'd like to keep two rows together as a unit, and not have the table
> split between them. Is that possible, and how?
>
> advTHANKSance
>
>
>
> \definefontfamily[mainface][rm][Latin Modern Roman]
> \definefontfamily[mainface][ss][Latin Modern Sans]
> \definefontfamily[mainface][tt][Latin Modern Typewriter]
> \definefontfamily[mainface][mm][Latin Modern Math]
> %\definefontfamily[mainface][rm][Andada][sc=file:AndadaSC-Regular.otf]
> %\definefontfamily[mainface][ss][Fira Sans]
> %\definefontfamily[mainface][tt][Inconsolata]
> %\definefontfamily[mainface][mm][Latin Modern Math]
>
> \setupbodyfont[mainface,9pt]
>
> \starttext
> \setupTABLE[frame=off, split=repeat]
> \setupTABLE[r][last][bottomframe=on]
> \setupTABLE[c][1][width=3.0in]
> \setupTABLE[c][2][width=0.5in, align=flushright]
> \setupTABLE[c][3][width=0.5in, align=flushright]
> \setupTABLE[c][4][width=2.5in]
> \bTABLE
> \bTABLEhead
> \bTR[topframe=on, bottomframe=on]
> \bTH {\bf Unit Description} \eTH
> \bTH {\bf Weight} \eTH
> \bTH {\bf Mark} \eTH
> \bTH \eTH
> \eTR
> \eTABLEhead
> \bTABLEbody
> \dorecurse{10}{
> %% Need to keep Unit description row and comment row together.
> \bTR[topframe=on]
> \bTD {\sc Unit } \eTD
> \bTD 10 \eTD
> \bTD 99 \eTD
> \bTD \eTD
> \eTR
> \bTR
     \bTR[samepage=before]
> \bTD[nc=4] \input lorem.tex \eTD
> \eTR
> }
> \eTABLEbody
> \eTABLE
> \stoptext
>
> <<<< MWE
Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2016-06-09 22:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 20:21 Pavneet Arora
2016-06-09 20:41 ` Aditya Mahajan
2016-06-09 22:50 ` Wolfgang Schuster [this message]

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=5759F2CF.6000503@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pavneet_arora@waroc.com \
    /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).