All Questions
Tagged with vertical-alignment math-mode
177 questions
3
votes
1
answer
71
views
Vertical alignment in `cases` environment
Consider these two equations using \begin{cases}:
$$
\begin{cases}
a & b \\
\sum_{\substack{c \\ d \\ e \\ f \\ g}} & h
\end{cases}
$$
$$
\begin{cases}
a & b \\
\left(\sum_{\substack{c \\ ...
4
votes
3
answers
171
views
How to fix spacing with multiline math inside table cells?
I need to create an exam where the pupils choose the correct answer and check the corresponding checkbox. The possible answers have to be arranged in a table, the checkboxes need to be in the bottom ...
2
votes
2
answers
54
views
Minipages with equations inconsistently vertically aligned [duplicate]
I'm trying to put three equations side-by-side in columns, with an ellipsis on the right as a fourth column, but the vertical alignment of the equations is very inconsistent. My code is:
\...
1
vote
1
answer
53
views
Vertical positioning of subscripts in math mode depending on superscripts is unexpected
I was trying to align subscripts in factors of a term like X_y^zX_y, and the first thing I tried was X_y^zX_y^{\mathstrut}, but this did not work. So I investigated and discovered some quite ...
1
vote
0
answers
58
views
On the vertical positioning of the subscript for the restriction symbol
Based on this original answer of @egreg, and this answer proposed to a previous question I asked some time ago, currently I have my command for restriction of function defined as below:
\ExplSyntaxOn
\...
3
votes
1
answer
50
views
Get vertical alignement for superscripted and non-superscripted subscripts
Writing the following code \frame{$a_{B^-} + a_{B}$} produces:
wherein the bottom of the B letters are not aligned. I can solve this issue by adding \usepackage{subdepth} and \frame{$a_{B^-} + a_{B\...
3
votes
2
answers
266
views
Make zero and plus sign same size inside subscript in math mode
I want to make plus and zero sign equal size to make the following picture symmetric;
for instance, to align with respect to the plus sign but without using && or something like that.
Here's ...
3
votes
2
answers
188
views
How to break alignment on a row inside the align environment?
I'm trying to typeset the Gell-Mann matrices in LaTeX on Overleaf, these are 8 matrices 3x3.
The code I'm using is
\documentclass[a4paper, 11pt, twoside, titlepage]{report}
\usepackage{amsmath, ...
0
votes
0
answers
24
views
Alignment between different subequation environments [duplicate]
I have two consecutive subequation environments with no text in between, I would like to align the four equations in the two environments.
Current code:
\documentclass{article}
\usepackage{amsmath, ...
4
votes
4
answers
298
views
Small vertical spacing glitch
I'm having a small vertical spacing issue with the following fraction:
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tensor}
\usepackage{pifont}
...
0
votes
0
answers
72
views
Automatically provide a linebreak every time I input a new line under align*
Apologies if this has been asked before; I couldn't find any other such questions. Currently, when I use the align* environment from LaTeX, I have to manually \\ for every new line. Is there a way, at ...
2
votes
2
answers
105
views
Creating a complex aligned equation with blockarray
I am trying to create the following equation. The main challenge is vertically aligning the = sign with curly brace and aligning the bottom rows below the horizontal line.
Desired Figure
Current ...
3
votes
3
answers
198
views
How do I move the \fboxsep in the middle
I am trying to create these number bonds with squares for the numbers but I am not sure how to move the box towards the middle.
\documentclass{article}
\usepackage{enumitem,multicol,xcolor}
\fboxsep=...
3
votes
2
answers
115
views
Align equations with align
I want to align the following equation over multiple lines:
\documentclass{amsart}
\begin{document}
\begin{align*}
\tilde{E}^{n+1} \left( \Sigma X \right)
&= \left[ \Sigma^{\infty} \Sigma X, \...
8
votes
3
answers
232
views
Overline leads to inconsistent positions of superscript
I am looking to write this simple product of two powers of complex numbers, but the difference in positioning of the powers in the conjugated and non-conjugated cases bothers me. The potential \...