ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tables & localfootnote alignment
@ 2007-06-14 18:04 Dave
  2007-06-15 11:48 ` Peter Rolf
  0 siblings, 1 reply; 4+ messages in thread
From: Dave @ 2007-06-14 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi all,

I am trying to add footnotes to a table but need for them to be aligned on
the left (flush) edge of the table.  I've tried everything I can think of
but I'm stuck (with deadlines looming).  Below is a quick example....

Many thanks,
Dave

%%%
% TeXExec | context source date: 2007.04.17 12:51
%%%

setupcaption[table][location=top]

\starttext

% Portrait
\startlocalfootnotes[n=0]
\placetable
  [page]
  [table1]
  {Caption goes here}
\placelegend
{ % Rules
  \setupTABLE[frame=off]
  \setupTABLE[column][first][leftframe=off]
  \setupTABLE[column][last][rightframe=off]
  \setupTABLE[row][first][topframe=on,bottomframe=on]
  \setupTABLE[row][last][bottomframe=on]
  % Alignment
  \setupTABLE[column][1][align=right]
  \setupTABLE[column][2][align=right]
  \setupTABLE[column][3][align=right]
  % Width
  \setupTABLE[option=stretch]
  % Table
  \bTABLE
  % Heading
  \bTR\bTH Column 1\footnote{footnote for column 1}
  \eTH\bTH Column 2\footnote{fn 4 col 2}
  \eTH\bTH Description \eTH\eTR
  % Body
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \eTABLE
}
{\framed{%
   {\placelocalfootnotes}
}
\stoplocalfootnotes


% Landscape
\startlocalfootnotes[n=0]
\placetable
  [90]
  [table2]
  {Caption goes here}
\placelegend
{ % Rules
  \setupTABLE[frame=off]
  \setupTABLE[column][first][leftframe=off]
  \setupTABLE[column][last][rightframe=off]
  \setupTABLE[row][first][topframe=on,bottomframe=on]
  \setupTABLE[row][last][bottomframe=on]
  % Alignment
  \setupTABLE[column][1][align=right,width=6cm]
  \setupTABLE[column][2][align=right,width=5cm]
  \setupTABLE[column][3][align=right,width=11cm]
  % Width
  \setupTABLE[option=stretch,textwidth=22cm]
  % Table
  \bTABLE
  % Heading
  \bTR\bTH Column 1\footnote{footnote for column 1}
  \eTH\bTH Column 2\footnote{fn 4 col 2}
  \eTH\bTH Description \eTH\eTR
  % Body
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
  \eTABLE
}
{\framed{%
   {\placelocalfootnotes}
}
\stoplocalfootnotes


\stoptext

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

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

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

end of thread, other threads:[~2007-06-15 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-14 18:04 Tables & localfootnote alignment Dave
2007-06-15 11:48 ` Peter Rolf
2007-06-15 12:19   ` Wolfgang Schuster
2007-06-15 13:56     ` Dave

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