4
votes
1answer
69 views

Automatic tabular cell switching

Now I want to automatically switch cols and rows by counting. I have already pinned the issue down to the alignment character &: \newcounter{myRow} \newcounter{myCol}[myRow] \setcounter{myRow}{1} ...
7
votes
4answers
167 views

typesetting long lists of numbers - is automatic tabling possible?

I have quite a lot of lists of numbers I need to put into my document. I am not sure how best to typeset them. Inspired by reading Add \midrule Every 5 Lines Automatically the other day, I sort of ...
18
votes
4answers
533 views

Avoid repeating [hbt] and \centering for every table

In a document I'm writing, I'm using the familiar [hbt] option for my floating tables, and I center them. I'd like to avoid repeating that every time I'm creating a table. I assume it's easy to add ...
2
votes
2answers
88 views

Updating words throughout document

In my job we deliver several of hundred physical assemblies per project - typically to offshore platforms in Nordsjøen - each one has a corresponding tag (and also other metadata such as item ...
7
votes
2answers
98 views

Setting an “attribute” for Theorem to be accessed later

I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
3
votes
1answer
226 views

Automatic arrangement of equations with comments

This question led to a new package: conteq I am writing a paper with multiple chains of equations or inequalities, with optional explanations. Depending on the size of the equations, I use one ...
7
votes
2answers
409 views

Auto-generating tables using etoolbox

I have a particular problem which I am trying to solve using etoolbox, but I can't figure out how. What I'm trying to do is to auto-generate a table based on information from a previous table. This is ...
15
votes
3answers
627 views

Mathematical functions inside LaTeX tables

I have several tables where I have tables which may look like this: ------------------------------------- | X | Y | X + Y | X - Y | (X + Y)/2 | ------------------------------------- | | | | ...
0
votes
0answers
45 views

Creating tables from files [duplicate]

Possible Duplicate: How typeset a numeric table from a CSV file I use the pgfplots package to add graphics to my LaTeX documents. Usually I have a data set in a .dat (plain text) document ...
0
votes
2answers
703 views

How to create a new command with variable numbers of arguments

I am creating one command to define a functional requirement and many non functional requeriment in a table. I wrote the following code: \newcounter{Number} ...
2
votes
3answers
349 views

Best way to print key-value pairs: table, array or matrix?

I have a series of values that need to be printed row-wise in multiple columns. (These values, held as \def variables, are generated programatically and some of them can be empty strings.) The ...
5
votes
2answers
392 views

Tab not as extra alignment tab

Is there a way to have LaTeX render the tabs in a tabular environment to determine the columns so that there is no further need for the ampersands & ? Most of the time the columns only contain a ...
12
votes
3answers
1k views

Generating a table of glyphs with XeTeX

I am trying to get XeTeX to generate a table of all the possible glyphs of a given font, but can not figure out how to make XeTeX know how many glyphs the font has, so I have to specify an exact ...
4
votes
1answer
161 views

How to avoid duplication of longtable setup code

I have many longtable's in my document. Everything is the same across all the tables, except for the caption and the content (of course). How can I avoid duplicating the stuff required to set up ...
2
votes
1answer
598 views

Macro for tabbing with complex line breaks (or similar environment)

I have a complicated transcription with mid-line aligned text. I've been using tabbing to do it automatically, but it obviously doesn't do line breaks. I want to write a macro (unless something ...
6
votes
1answer
6k views

Auto-fit table column widths based on content

Is there any solution in LaTeX tables that implements similar functionality to MSWord's AutoFit?