Is there any LaTeX environment which lets you express a table in a similar logical fashion to HTML or MediaWiki tables?

  • Size defined by the number of cells found, rather than pre-specified in the table definition.
  • Automatically puts lines in the right places without having to specify each line individually.
  • Auto-scales columns to balance how much text each one has while fitting in page width.
  • Cell entries have optional rowspan or colspan attribute.
  • Word-wrap available in each cell.
  • more or less \begin{tabulary}{\textwidth}{|*{40}{L|} does most of that (tabulary package) – David Carlisle Sep 3 '13 at 14:53
  • 3
    This is exactly how the ConTeXt TABLE macros work. Like CSS, you can also specify table styling separately from the table content. – Aditya Sep 3 '13 at 17:19
  • tabulary doesn't seem to handle rowspan very well (at all?) especially if you want lines around each cell - \cline{2-6} only works if you keep track of which areas weren't covered by a rowspanned cell. – OJW Sep 4 '13 at 17:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.