# Linked Questions

3answers
3k views

### Can LaTeX perform simple math operations? [duplicate]

Possible Duplicate: How can I automatically calculate sums in a LaTeX table? Can LaTeX do simple math? I have a table with two columns and want to automatically add a third column which ...
2answers
855 views

### Adding numerical values in a LaTeX tabular column [duplicate]

Possible Duplicate: How can I automatically calculate sums in a LaTeX table? Does anyone know if the is a TeX/LaTeX package which will make an ordinary tabular environment work as a simple ...
8answers
9k views

### Is it possible to connect a database to LaTeX to produce data-driven documents?

I'm starting to write a LaTeX-based reference manual, and have realised that a lot of my needs could be solved by writing a database and then producing the reference manual from that. Lots of my pages ...
3answers
5k views

### Can LaTeX perform calculation like Excel formula table?

I wonder if this feature is available in TeX system? For example, given a formula within a table, it can apply the formula and display data after the calculation.
6answers
6k views

### Floating point calculations in LaTeX?

I am looking for a method to do minimal floating point / integer calculations in LaTeX, not for the purpose of package writing, but for the production of actual text. Here is an example to illustrate....
6answers
2k views

### Creating Table: On Mastering LaTeX

Guys, I am one the process of mastering LaTeX, so that later when times come I shall be fully prepared to typeset almost anything without thinking twice. So during this awesome process, I am now ...
3answers
1k 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 | ------------------------------------- | | | | ...
4answers
548 views

### Sum of values spread across tables in document? (like in Word)

My document is structured as follows: * Bla bla bla Quantity | Item | Price per item | Total price ---------+----------+----------------+------------ 5 | Sandwich | 5.00 | ...
2answers
900 views

### How to print subtotals in each page of a long table?

Some invoices need print a large list of items. In this case, and in my country, invoices must print the subtotal of the previous page for each break page, and add to the last subtotal the accumulated ...
1answer
198 views

### summation line for multiple rows

Is there a way to add multiple lines of numbers using a "summation line"? Specifically, I want to create something like the below, only better looking. \documentclass{article} \usepackage{fontspec,...
1answer
145 views

### Autosum Table contents in LaTeX

I am trying to add the contents of a latex table, having something like this in mind: How can I automatically calculate sums in a LaTeX table? But this solution does not work for me... Is there any ...
1answer
69 views

### Time calculation with spreadtab

I come from this question: How can I automatically calculate sums in a LaTeX table? I want to do the same but with "timing" calculations. So my example would look like this: \documentclass{article} \...