Difference between revisions of "M-database"

From Wiki
Jump to navigation Jump to search
m (moved m-database to M-database: move to Uppercase)
Line 13: Line 13:
 
   before=\bTABLE,after=\eTABLE]
 
   before=\bTABLE,after=\eTABLE]
  
\startMyTable % columns are separated with a tab (not with a space)
+
% columns are separated with a tab (not with a space)
 +
\startMyTable
 
Cows Total Milking Pregnant
 
Cows Total Milking Pregnant
 
01/1995 1709 1449 260
 
01/1995 1709 1449 260

Revision as of 14:13, 21 January 2014

< m-database source | MyWay | Tables Overview >


TODO: more examples and explanation (See: To-Do List)


\usemodule[database]

\defineseparatedlist
  [MyTable]
  [separator=tab,
   left=\bTD,right=\eTD,
   first=\bTR,last=\eTR,
   before=\bTABLE,after=\eTABLE]

% columns are separated with a tab (not with a space)
\startMyTable
Cows	Total	Milking	Pregnant
01/1995	1709	1449	260
01/1996	1713	1444	269
...	...	...	...
11/2004	1457	1295	161
11/2005	1421	1263	158
\stopMyTable

Links

  • exceltex - LaTeX package to fetch data from Excel documents ([1])
  • tab4tex - Preprocessor for LaTeX tabular environments