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 ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________