2
votes
1answer
64 views

Time calculations

Based on a given starting time, I'd like to automatically calculate a time table. Based on https://groups.google.com/forum/#!topic/de.comp.text.tex/BQrRUYmDrHw I put the following MWE together: ...
4
votes
1answer
105 views

Calculating averages and more

I am translating a Word document into LaTeX as a learning experience. Now there is this table, that already has hard-coded values. However, I would like to have it generic, so that changing a single ...
3
votes
1answer
120 views

A problem with underfull \hbox in alignment (tabular*) and/or perhaps the calc package

I am getting an underfull \hbox in alignment (badness 10000) with tabular*. The warning goes away if I adjust the table width by 0.00002pt (as per the MWE below). The difference seems to arise ...
6
votes
4answers
286 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 | ...
0
votes
0answers
137 views

Spread tab and Calculation in Table

I tried the following, \documentclass[a4paper,12pt]{article} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.65in]{geometry} \usepackage{multirow} \usepackage{spreadtab} ...
1
vote
1answer
200 views

Using multicolumn and multirow together with spreadtab

I tried this piece down \documentclass[a4paper,12pt]{article} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.65in]{geometry} \usepackage{multirow} \usepackage{spreadtab} ...
3
votes
1answer
335 views

Calculations in Table using spreadtab

When I use this piece, \documentclass[a4paper,12pt]{report} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.65in]{geometry} \usepackage{multirow} \usepackage{spreadtab} \usepackage{url} ...
2
votes
0answers
103 views

Use input inside a spreadtab environment with calculations

My aim is to create a command for inserting tables, which will format the table, and add calculations on its values, given a file containing the raw data of the rows only. ...
0
votes
1answer
111 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 ...
7
votes
2answers
2k views

Create a table with calculations of binomial and poisson distribution

Well, I was looking for some tables on the internet about the binomial and poisson distribution (not the cumulative ones) in LaTeX format. But I've only found the code of the cumulative distributions, ...
5
votes
1answer
113 views

How to calculate the number of cells per line

Assume I have a table with a dynamic number of rows and columns, and I want to fill the table with n elements. Assume an element has the constant length x, and I want to say make floor(linewitdth/x) ...
4
votes
2answers
209 views

divide table cells by a certain amount

I made a mistake in the values that i put in the table. I need to divide all the values by 105. Is there a method where i can do it without having to replace this with a completely new table ? % ...
2
votes
0answers
439 views

Project management tables (with cost “spread sheets”) using spreadtab [closed]

I'm trying to create a simple project management table detailing costs per task and milestone, using spreadtab: The code for the latter is: \begin{spreadtab}{{tabularx}{\textwidth}{lXllr}} \toprule ...
1
vote
1answer
600 views

Sequent Calculus

What is sequent calculus? See wiki: http://en.wikipedia.org/wiki/Sequent_calculus So basicaly I'd like to produce something like this: Maybe using Tikz?
5
votes
2answers
610 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 ...
4
votes
3answers
2k 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 ...
0
votes
1answer
174 views

Why did my exact calculation still produce small gaps on the most left and right table rules?

I have specified each tabular cell width exactly using formula ##1\linewidth-2\tabcolsep-1.5\arrayrulewidth as shown in the following code snippet: \documentclass[dvips,dvipsnames,rgb]{book} ...
34
votes
5answers
10k views

How can I automatically calculate sums in a LaTeX table?

Sometimes I would like LaTeX to automatically calculate sums (or other simple arithmetic) for me, eg. in a table. I would like to ensure that when I update the table, I don't accidentally forget to ...