10 votes

How to align text under the brackets

The reason the middle of the three underbraces isn't aligned vertically with the other two is that the first argument of the associated \underbrace directive doesn't contain material that protrudes ...
  • 470k
10 votes

How to align text under the brackets

You want to make the formulas to have the same height. Here I use \mathstrut, but in the optional argument you may use any \vphantom. \documentclass{article} \usepackage{amsmath} \newcommand{\...
  • 1.1m
8 votes
Accepted

How can I stack these items on top of each others at the bottom of a vertical bar?

I would just use \substack: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} y &= y_0 + \sum_{n = 1}^{\infty} \frac{x^n}{n!} \, f_n(x, y) \bigg\vert_{\substack{x =...
  • 585k
6 votes
Accepted

How can I force 'description' to start on a new line when using 'enumerate'?

One way to get what you want is to simply add a small negative vertical space at the beginning of the embedded enumerate list. We can do this using the before key which can inject code before the list ...
  • 208k
5 votes

How can I force 'description' to start on a new line when using 'enumerate'?

Use \hfill after the description item. I've also removed the topsep before the following list. \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description} \item[Offset]\...
5 votes
Accepted

3 vertical points between three equations that are lined up

The magic word is \vdotswithin{...}. It horizontally centers \vdots in a box of the same width as .... Note that the \vdots in the first column are centered within the = which I consider better than ...
  • 2,625
5 votes

Align vertically 2 circuits

Although I would use @Skillmon method here (centering the arrow would be quite complex here, see Vertical alignment of tikz circle in equation, for example), is good to know the existence of the ...
  • 34.8k
5 votes
Accepted

Align vertically 2 circuits

One way to do this could look like this (I'd personally work more with relative placement than this, but this might do for OP). The used scopes are not necessary for this, I only added them for ...
  • 53.2k
5 votes
Accepted

Redoing the align environment with a specific formatting

Here's a quick tikzmark version (though without the library because we don't need any advances techniques it has to offer). Change the outer ysep to adjust the white space between the = and the actual ...
4 votes
Accepted

Text not vertically aligned in tabularx cell

I'm afraid that ghsystem should be updated, because with TeX Live 2022 (but also 2021) it tries to do \chemmacros_load_module:n {nomenclature} but chemmacros in its most recent versions uses \...
  • 1.1m
4 votes

Redoing the align environment with a specific formatting

As stated in the comments, you can place the equals signs in \tikzmarknodes (add {} for proper spacing) and then use tikz to draw lines between these nodes (which can span over several lines): \...
4 votes

Problem with a TikZcd between curly braces

you would see the same with \left\{\begin{array}[t]... The X are aligned on the baseline so the construct has large depth, but \{ are vertically centred. Nudge the baseline of the tikz: \...
4 votes
Accepted

Problem with a TikZcd between curly braces

When a TikZ picture has been created it will be just a box with its lowest point of the bounding box on the baseline. TikZ-CD overwrites this default. For a 1-row diagram it will be placed in such a ...
3 votes

Why does this alignment not work with this "cases" environment?

You can use the IEEEeqnarraybox environment from the IEEEtrantools package. Its usage is somewhat like tabular environment. Here is a helpful documentation of the environment. \documentclass{article} ...
  • 2,999
3 votes

Centering large column heading above 3 columns

You could avoid the problem by using the tabularray package for your table: \documentclass{article} \usepackage{tabularray} \begin{document} \begin{table}[htbp] \begin{tblr}{ colspec={|X[l]|X[r]|...
3 votes

Problem with a TikZcd between curly braces

Use gathered. \documentclass{article} \usepackage{geometry} \usepackage{amsmath} \usepackage{tikz-cd} \newcommand{\tricd}[3]{% \begin{gathered}% \begin{tikzcd}[ ampersand replacement=\&...
  • 1.1m
3 votes

Higher quotation marks in equations

You raise quotes the required amount, but never lower them. \documentclass{article} \makeatletter \NewDocumentCommand{\mathquotes}{m}{% #1 = subformula to be quoted {\mathpalette\mathquotes@{#1}}% ...
  • 1.1m
2 votes

Higher quotation marks in equations

Quotation marks are not delimiters so you can't use \left...\right or \Big and friends. And these only work on single characters, which '' is not. This solution will raise the quotation marks to the ...
  • 801
2 votes
Accepted

(Fancyhdr) How to center text, but aligned to the left?

You can put the material in a centered cell of a tabular (and remove the space between columns with @{} so the text is immediately at the left margin). I have added the showframe package for better ...
  • 4,086
2 votes

Problem with a TikZcd between curly braces

You can add \vcenter{\hbox{...}} around the tikzcd. \documentclass{article} \usepackage{geometry} \usepackage{amsmath} \usepackage{tikz-cd} \newcommand{\tricd}[3]{% \vcenter{\hbox{\begin{tikzcd}[...
  • 34.5k
3 votes

Why does this alignment not work with this "cases" environment?

split can only be used at the top level of equation or align (in the latter case only one alignment point in the outer align is allowed). Using split inside aligned is an error and LaTeX tells you. ...
  • 1.1m
2 votes

How to align cells vertically in a nested tabular?

I asked the question too quickly. The solution is counterintuitive, but still fairly simple. For the inner tabular, we need to add the option [t] for vertical alignment. I kept trying to set the ...
  • 241
2 votes

Multiple columns using Block and nicematrix package

nicematrix package provides the option T for blocks to align columns. \Block does not create space if it has two or more rows/columns. You still need to determine the space for your text manually by ...
2 votes
Accepted

Splitting fractions and aligning

Here's a solution that defines a macro called \leftfrac, which acts similarly to \splitfrac except that it left-aligns the rows. \documentclass{article}% or some other suitable document class %\...
  • 470k
2 votes

Why does this alignment not work with this "cases" environment?

The whole line will get a single equation number (if you decide to have it numbered), so I personally don't see any (too important) reason why you should use split here. You should get the desired ...
  • 2,625
1 vote

Centering large column heading above 3 columns

This equalizes the three columns by precomputing the widths needed, assuming that you want the three columns the same width. I also threw in my (aesthetic) version. \documentclass{article} \begin{...
  • 74.2k
1 vote

Multiple columns using Block and nicematrix package

That's a fairly simple table. You wouldn't need to load nicematrix in this case. \multicolumn is enough to sort it out. Regarding the rules, if you want to use those defined in booktabs, still have ...
  • 7,054
1 vote

Multiple columns using Block and nicematrix package

I'm not very familiar with nicematrix, but your table is simple to write by use of the tabularray package: \documentclass[12pt]{article} \usepackage{lipsum} \usepackage{tabularray} \UseTblrLibrary{...
  • 277k
1 vote
Accepted

How to align text under the brackets

Short answer Add the same \vphantom spacer to all underbraces, passing it the character with the longest descender. The \vphantom itself can be anywhere in the argument of the \underbrace command: \...
  • 233
1 vote
Accepted

Vertical misalignment of the references

Assuming standard settings, your bibliography is typeset as justified text - just like normal text in the rest of your document. This means that TeX tries to make all lines meet up evenly on the right ...
  • 169k

Only top scored, non community-wiki answers of a minimum length are eligible