Linked Questions

0
votes
0answers
58 views

How to centralize specific objects in a table [duplicate]

Lads, when I'm generating this table with letters, it doesn't centralize objects as I would expect, meaning all objects should be as large as the largest one. My code is: \documentclass{article} \...
73
votes
12answers
12k views

How to iterate over a comma separated list?

How can I iterate, loop, process, or otherwise do something, with each element from a comma separated list of things? This question has been asked perhaps many many times, and the are already lots of ...
18
votes
6answers
846 views

How to let three subscripts and three superscripts to be aligned

Suppose I need to get a formula like $L^{2,3/4,5/6}_{1,2,3}$ in Latex. Then $2$--$1$, $3/4$--$2$, $5/6$--$3$ is not aligned. See Then how can I let these three to be aligned?
13
votes
3answers
7k views

Equal spacing in matrix

I'm trying to create a matrix that has equal spacing between each of the columns, but so far I have not been very succesful. The code I'm using right now is \documentclass{article} \usepackage{...
11
votes
3answers
817 views

How to provide more horizontal space between cases in a system?

I have the following ugly system: This is my LaTeX code: \newcommand{\Aaa}{\begin{bmatrix} 1 & 0 \\ 0 & -1\end{bmatrix}} \newcommand{\Ba}{\begin{bmatrix} 0 & 1 \\ -1 & 0\end{bmatrix}}...
10
votes
4answers
463 views

Vertical alignment of degree unit and other elements in table

I am trying to improve the appearance of the below table such that: The set union symbols \cup align vertically with the commas from the 2nd and last rows The middle column angle values are still ...
8
votes
2answers
17k views

How to typeset piecewise-defined functions? [duplicate]

I am attempting to write out the basic process for finding the absolute value of some number. In ASCII, this is what I am attempting to write. |X| = { x if x > 0 0 if x = 0 ...
6
votes
4answers
517 views

Side to side sum+product of matrices

I have been trying to write these matrices which are the results of a cointegration problem. However, I'm struggling to write down the second member of my matrices. As you can this is my code: \begin{...
2
votes
2answers
2k views

Align position of decimal point within tabularx

I have made a table with 5 columns, of which I'd like the last 4 to be of the same width. Therefore I was told I should use tabluarx. Using this package my output looks fine, but I have also numbers ...
6
votes
3answers
381 views

How to stretch horizontal length

In this paper, Daniel J. Bernstein used horizontally stretched lines (page 7). I was trying to do the same. I saw this question, but none of the answers could produce the desired result. Can anybody ...
5
votes
1answer
2k views

polynom division without package polynom

I am quite new to TeX, so i don't know how to represent polynom division in latex. I can't use package polynom, since I don't have a polynom with numbers so this is a generic solution for this ...
3
votes
2answers
504 views

Align math explanation [duplicate]

Any possibility to align the fractions (units in general) too? Wobei: \begin{flalign*} \noindent \tab \rho _{KOH} & = 2.04 \frac{g}{cm^3} &\\ M_{KOH} & = 56.10 \frac{g}{mol} &\\ c_{...
4
votes
2answers
841 views

equations inside matrix/array — aligning on charater

Suppose I have a system of equations I'd like to present as a vector. Using amsmath, something like \begin{equation} \begin{pmatrix} (2)(2)+(-1)(-3) \\ (4)(2)+(3)(-3) \end{pmatrix} \end{equation} ...
6
votes
3answers
282 views

How to align the middle of some words

I want to align the middle of a "word" with something else. Let me explain. The following is what I have. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} a&:=b\\ c&...
6
votes
2answers
464 views

replacing eqnarray when several alignment tabs are present

I have three mathematical equations which I would like to have typeset in one block such that they are aligned at the equality sign = and the following comment. Up until now, I've been using eqnarray ...

15 30 50 per page