1
vote
1answer
57 views

How to do Three column Addition?

I want to write a primary school sheet of exercices (additions in columns) with big digits in LaTeX. When i want to do two columns, it is easy with xlop, but i can't to do three columns! How to do ...
2
votes
0answers
52 views

Display math and tabular

I'm pretty new to latex and having some trouble. I have multiple math formulas which I'd like to organize on the page. i used: \begin{tabular}{p{6cm}p{6cm}} \[...\] & \[...\]\\ \end{tabular} ...
0
votes
1answer
45 views

How to remove space in math mode inside a tabular environment

I'm using some semantics formula that contains both math symbols and text inside a p{} column in a tabular environment. The formula is too long to fit in the column, then LaTeX has to create new lines ...
2
votes
1answer
77 views

Equation + explanation below

I have to write an explanation to my equation, and I would like to do it, below the equation. But, I do not know how to do that. It should look like this: My preamble look like this: ...
6
votes
2answers
274 views

Tables: Missing $ inserted

I'm trying to learn how to use Latex so I've got a little bit of problems in understanding what is the mistake that I've made. In this case I'm compiling a Table containing multiple datas about ...
4
votes
2answers
159 views

Compiling problem

I have had the problem of compiling my document with the following table in it: \begin{table}[!h] \centering\small \caption{Thickness measurements on the two tubes.} \label{tab:Thickness_measurement} ...
1
vote
1answer
115 views

Why is $ required around \oplus in a math environment?

I wrote the following: \begin{equation*} \begin{tabular}{c|c|c} P & Q & P \oplus Q \\ \hline \text{T} & \text{T} & \text{F} \\ \text{T} & \text{F} & \text{T} \\ \text{F} & ...
1
vote
1answer
92 views

I can't find/fix the errors in order to be able to compile it

\documentclass{article} \usepackage{amsmath} \begin{document} $These are two truth tables for the following: $\neg (p \vee q)$ is logically equivalent to $(\neg p) \wedge (\neg q)$ ...
5
votes
2answers
98 views

How to create a math environment with one row on one side, and two on the other?

I have the following math equations: \begin{align*} &\mathcal{H} = \mathcal{H}^{(0)} + \mathcal{H}^{(1)} \\ &\mathcal{H}^{(0)} = -\frac{\hbar^2}{2m}(\nabla_{1}^{2} + \nabla_{2}^{2}) - ...
6
votes
1answer
188 views

Math mode for csvsimple Import

I am currently struggling when I try to import a CSV file which contains math code using the following code: \documentclass{article} \usepackage{csvsimple} \usepackage{amssymb} % Math symbols ...
2
votes
0answers
91 views

Errors using dmath for multiline equation breaking in a table with booktabs package?

I would appreciate if you can help me find a solution/way out to the following problem. I am using the booktabs package to get a nice looking table. I have a long equation in the table which I ...
6
votes
2answers
115 views

Placing Matrices in Tables

I was curious if it was possible to create a matrix within a table? for example i wanted to create a 2 column table with left containing text and the right containing a matrix. Could someone tell me ...
6
votes
1answer
109 views

pgfplotstable: fixed precision, switch-case?

I tried using pgfplotstable to format an external txt file, but some problems arrived. My goal is to show the numbers with fixed, fixed zerofill, precision two and with the presign, which should ...
3
votes
1answer
121 views

How to convert all numbers into math mode

I have a table converted from excel. I want to transform the numbers in the table to the math mode, i.e., 15 -> $15$. Is there any visual way I can use it. I am using TexStudio. CODE: ...
3
votes
2answers
116 views

\mathbf ignored in table column specification

I have a long table whose columns are to be typeset in math-mode and bold. To avoid repeating \(\mathbf{cell value}\) for each row, I defined in a column specification how each cell under it was to be ...
8
votes
2answers
263 views

Put names on top of matrix

I am trying to produce 3 matrices on the same line. And on top of the each matrix, there is a name. I tried using tabular for the names and then I use align for the matrices. However, this creates ...
3
votes
0answers
52 views

Can we draw a distribution via LaTeX code inside a table? [duplicate]

I would like to draw graphs in a table similar to Table 1 (page 4), "Distribution" column as given in this paper - http://www.cc.gatech.edu/~sbakhshi/gilbert.chi13.pinterest.pdf Is this an image or ...
7
votes
3answers
206 views

Position both math environment and tikz picture in the tabular

\usepackage{tikz} \begin{document} \begin{tabular}[b]{@{}ccc@{}} \begin{tikzpicture}[grow=right,sloped] \tikzstyle{level 1}=[level distance=2cm, sibling distance=2cm] \tikzstyle{level 2}=[level ...
4
votes
1answer
868 views

Creating multiplication table of symmetric group S_3

How one can create multiplication table of symmetric group S_3? (In that table 6 columns and 6 rows) Edit: here some progress: \begin{table} \begin{tabular}{l|llllll} ~ & e & a ...
0
votes
0answers
47 views

How to write Euclidean division [duplicate]

I tried to use the tabular but the \hline spread over the whole line (even under the 77).
4
votes
1answer
148 views

Datatool cannot use math macros in tabular headers from csv file

I am making a LaTeX table using a CSV file and the datatools package. Here is a minimal working example: \documentclass{minimal} \usepackage{datatool} \usepackage{filecontents} ...
6
votes
1answer
111 views

Allow [ characters in tables without entering math-mode (from R)

I have R code that produces latex code like: \begin{tabular}{D{.}{.}{7}D{.}{.}{7}} \toprule \multicolumn{1}{c}{x} & \multicolumn{1}{c}{y} \\ \midrule [1, 5) & 1 \\ [1, 5) & 2 \\ [5, 8) ...
8
votes
3answers
565 views

lining figures in tables and math, old style figures in text

I’m using TeXLive 2012, up to date on Ubuntu 12.10. When I use the libertine package with the option osf and newtxmath for math fonts, I get oldstyle numbers everywhere, but I only want to use them in ...
1
vote
1answer
200 views

Two columns of equations, aligned and just one number per column

I'm writing a two-column document, and I want to display two sets of large equations floating at the top. Each equation set should be aligned within the same column, and only the two top equations ...
7
votes
2answers
97 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 ...
13
votes
2answers
9k views

Math mode in tabular without having to use $…$ everywhere

\begin{tabular}{|l|l|l|} \hline Column A & Column B \\ \begin{math} x & y \\ \end{math} \end{tabular} This won't let me compile and gives a lot of errors, how do I enable math mode in a ...
4
votes
1answer
540 views

Citing a reference in a table

I was preparing a table in my research paper where I was having a formula in one column and the name of the Mathematician who discovered it in another column. I also want to cite the paper of the ...
0
votes
1answer
267 views

LaTeX \bar in table [duplicate]

I'm very new to Latex. So i want to put a \bar W in a table but the bar is covered by the horizontal line of table.So it becomes invisible. I tried adding \noalign{\smallskip} after \hline but it cuts ...
6
votes
1answer
172 views

How to use only mathematical input in the first column with pgfplotstable

I can use a mix of text and mathematical input in the first column of a table generated with pgfplots with no problem, and also mathematical input in, e.g. the last column, as this mwe shows: ...
7
votes
1answer
291 views

How to define a table column to always be a math equation, while others are text?

I'd like to typeset a table listing some equations, something like Euler's formula & e^{i\phi} &= \cos\phi + i\sin\phi Euler's identity & 1 + e^{i\pi} &= 0 Putting this in a ...
2
votes
1answer
151 views

Formatting a conditional table of coefficients in LaTeX

I'm totally blanking on how to format this, or even what to use as a search term to see if anyone has asked about it before. I would like to make a conditional table of coefficients (ie. two tables ...
3
votes
1answer
219 views

Line break in a table cell for a math equation?

In the middle of typing up an assessment and trying to work out how to get equations to work inside a table environment \documentclass [11pt] {article} \usepackage{amsmath} \usepackage{pdflscape} ...
2
votes
1answer
978 views

Math in table mixed with text and proper alignment

I have some problems using tabular environment mixed with math formulars, multiple lines and alignment. I have this code: \begin{tabular}[!ht]{p{5cm}p{5cm}p{5cm}} \toprule Col1 & Col2 ...
2
votes
2answers
475 views

Multicolumn proofs, align within tabular?

I want to condense my assignment by laying out each solution as a table with a picture on one side and the proof on the other. To make matters worse, I need to be able to include some equation ...
14
votes
3answers
1k views

How can I illustrate decimal to binary conversion?

As part of my homework for discrete math I need to convert different decimal values, both positive and negative, to 8-bit binary representations using signed magnitude, 1's complement, and 2's ...
5
votes
3answers
284 views

slim braces in a table

We need to make clear that certain data is the same in several rows. An underbrace taken from math-mode does the job quite well, but is unfortunately way too prominent in the table, especially in ...
4
votes
3answers
278 views

math size in a table

I have a long table and I want to fit it in one page. Table has number and symbol entries. The size to the table can be reduced if I can reduce the font size. How can I reduce the font size in this ...
4
votes
3answers
2k views

hspace in tabular

How can I move the summation equation that appears at the bottom of column 3 to be centered with the column 3rd column. Using \hspace hasn't been successful thus far. ...
8
votes
1answer
1k views

siunitx: Bold single numeric cells

I'm struggling to make a single numeric cell in an siunitx table bold. (A similar question for making a whole column bold is available here.) I want to define a simple macro which I can set for the ...
1
vote
1answer
311 views

Using \cdots in Table - error: Missing $ inserted

Am getting countless error messages for 'Missing $' and Extra }, or 'forgotten $'. I am building a table and trying to fill some cells with dots (\cdots, \vdots etc). The first line in the table with ...
2
votes
1answer
179 views

Math in table doesn't work

I have a table, which code is: \documentclass[a4paper]{report} \usepackage{booktabs} \usepackage{fullpage} \usepackage{multirow} \usepackage{array} \usepackage{threeparttable} \usepackage{amsmath} ...
7
votes
2answers
443 views

How to make \tfrac work in >{}?

When I used >{$\sqrt\bgroup\tfrac}c<{\egroup$}, I got the following output. The weird part happened at the last column. How to fix it? \documentclass[border=3pt]{standalone} ...
3
votes
1answer
302 views

Subequations inside a table

I am trying to insert a subequation system inside a table. This is the idea of what I want: \begin{table*}[tb] \centering \caption{Device Modelling Specifications.} \label{tab:deviceModelling} ...
2
votes
1answer
3k views

Math mode in tables

I am trying to write notations like degree, micro etc in a table with math mode on. To form the table, i am using - \usepackage{booktabs} \usepackage{array} But in my table when i type $^\circ$ ...
3
votes
1answer
166 views

imagen beside a math

how I can make me stay in the following way but instead of using $ using the command / begin {align} for me to number the mathematical formulas to reference them later? \begin{center} ...
2
votes
1answer
269 views

Recreate efficiently this figure

I am writing a technical document, and I need to explain several steps of a construction which use matrices and linear equations. I was puzzled how I would create my figures and one paper I reference ...
4
votes
3answers
931 views

Can't enter calculation in table

I'm kind of new to LaTeX and I want to put these 3 calculations in a table. But I'm getting errors \begin{tabular}{ l | c | r } \begin{math} \frac{9250}{7650} = 1,21 & \frac{10126}{7986} = ...
15
votes
2answers
11k views

Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...
4
votes
1answer
689 views

Math column in tabular without “array” package

I'd like to do something like \begin{tabular}{>{$}c<{$} c} but I'm not able to use the array package (which defines >{...} and <{...}) due to technical restrictions. Is there any ...
37
votes
6answers
6k views

Best way to create an system of equations environment?

I am trying to write a few systems of equations, and I want the terms to be nicely spaced as below 2x + y + 3z = 10 \\ x + y + z = 6 \\ x + 3y + 2z = 13 Now, using ...