Hi, How do I insert a noalign in tabulate. It seems that noalign messes up the width calculations of paragraphs. This is what I tried. \starttext \starttabulate \NC tufte \NC \input tufte \NR \NC zapf \NC \input zapf \NR \stoptabulate \starttabulate \NC tufte \NC \input tufte \NR \noalign{Some quotes} \NC zapf \NC \input zapf \NR \stoptabulate \starttabulate \NC tufte \NC \input tufte \NR \TABLEnoalign{Some quotes} \NC zapf \NC \input zapf \NR \stoptabulate \stoptext Suggestions? Aditya
Aditya Mahajan wrote:
Hi,
How do I insert a noalign in tabulate. It seems that noalign messes up the width calculations of paragraphs. This is what I tried.
\starttext
\starttabulate \NC tufte \NC \input tufte \NR \NC zapf \NC \input zapf \NR \stoptabulate
\starttabulate \NC tufte \NC \input tufte \NR \noalign{Some quotes} \NC zapf \NC \input zapf \NR \stoptabulate
\starttabulate \NC tufte \NC \input tufte \NR \TABLEnoalign{Some quotes} \NC zapf \NC \input zapf \NR \stoptabulate
\stoptext
Suggestions?
as much trial and error for me as for you \starttabulate \NC tufte \NC \input tufte \NR \NC zapf \NC \input zapf \NR \stoptabulate \starttabulate \NC tufte \NC \input tufte \NR \noalign{\hbox{Some quotes}} \NC zapf \NC \input zapf \NR \stoptabulate \starttabulate \NC tufte \NC \input tufte \NR \TABLEnoalign{\hbox{Some quotes}} \NC zapf \NC \input zapf \NR \stoptabulate otherwise you get a paragraph ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 13 Aug 2007, Hans Hagen wrote:
Aditya Mahajan wrote:
Hi,
How do I insert a noalign in tabulate. It seems that noalign messes up the width calculations of paragraphs. This is what I tried.
\starttext
\starttabulate \NC tufte \NC \input tufte \NR \NC zapf \NC \input zapf \NR \stoptabulate
\starttabulate \NC tufte \NC \input tufte \NR \noalign{Some quotes} \NC zapf \NC \input zapf \NR \stoptabulate
\starttabulate \NC tufte \NC \input tufte \NR \TABLEnoalign{Some quotes} \NC zapf \NC \input zapf \NR \stoptabulate
\stoptext
Suggestions?
as much trial and error for me as for you
\starttabulate \NC tufte \NC \input tufte \NR \NC zapf \NC \input zapf \NR \stoptabulate
\starttabulate \NC tufte \NC \input tufte \NR \noalign{\hbox{Some quotes}} \NC zapf \NC \input zapf \NR \stoptabulate
\starttabulate \NC tufte \NC \input tufte \NR \TABLEnoalign{\hbox{Some quotes}} \NC zapf \NC \input zapf \NR \stoptabulate
otherwise you get a paragraph
It seems that noalign messes up width calculation. Here is one possibility: \startbuffer \starttabulate \NC nofautotabulate \NC \the\nofautotabulate \NC \NR \NC tabulatewidth \NC \the\tabulatewidth \NC \NR \NC tufte \NC \input tufte \NC \NR \mynoalign{\vbox{some quotes that are used for generating sample text in a lot of \CONTEXT\ documents again and again}} \NC zapf \NC \input zapf \NC \NR \stoptabulate \stopbuffer \starttext \let\mynoalign\noalign \getbuffer \page \def\mynoalign {\iftrialtypesetting \expandafter\gobbleoneargument \else \expandafter\TABLEnoalign \fi} \getbuffer \stoptext Aditya
participants (2)
-
Aditya Mahajan
-
Hans Hagen