4 votes
Accepted

Alignat: column not flushing right to the margin

I suggest you use an align* environment and place the comments in \tag* "wrappers"; \tag* is a macro provided by the amsmath package. User @Celdor has already made this suggestion in a ...
user avatar
  • 440k
2 votes

Labeling equations in a table

Why \rotatebox[origin=c]{0}{$\stone$}? You can manually step the equation counter. \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} % not sure what's the purpose of these commands \...
user avatar
  • 994k
1 vote

How do I vertically center the text in a single cell next to multi-line 'makecell' cells in a tabular environment with variable widths?

Use \makecell[c] in the other cells of the row. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{makecell} \begin{document} \begin{table}[h] \begin{tabular}{|c|c|c|c|c|c|c|c|} \...
user avatar
1 vote
Accepted

Pass parameters in the new command so that it can be utilized in the whole document

Like this: % Handling the crossover of intersecting lines % Author: Steffen Knoll \documentclass{article} \usepackage[english]{babel} % Set page size and margins % Replace `letterpaper' with `a4paper'...
user avatar
  • 4,588
1 vote

Labeling equations in a table

With use of the tabularray packages: two possible solutions \documentclass{article} \usepackage{tabularray} \UseTblrLibrary{amsmath, booktabs, counter, varwidth} \begin{document} \addtocounter{...
user avatar
  • 255k
1 vote

Labeling equations in a table

Whether something like this is better, or something like WinnieNotThePooh's answer might depend on how compact you want the table, but if you want something more compact, you could just manually ...
user avatar
  • 36.9k
1 vote
Accepted

Alignment of dates in `\cventry` in moderncv

The way I see it, there are a couple of options: You could use a smaller font, or abbreviate expected to exp. or similar. (Be sure to use a space after 2022 to allow for a linebreak.) You could move ...
user avatar
  • 5,686
1 vote
Accepted

Column Alignment For Table

If I understand correctly: you don't want the header on a single line (perhaps because it'd be too wide?) and you want it horizontally centered. Here's something that's very close to your second ...
user avatar
  • 1,467
1 vote

Column Alignment For Table

Here is something I came up with. Alignment is better. \begin{tblr}{colspec={|c|c|c|},hlines} {Time \\ (seconds), \(x\)} & {Height\\(feet),\(y\)} \\ 0.5 & 20 \\ 1 & 24 ...
user avatar
  • 494
1 vote
Accepted

How to properly align the line without equal sign with the other lines

You could use \{ as the alignment point. \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} &\{ f \colon A \to B \} \\ ={}&\{ g \colon C \to D \} \end{...
user avatar
  • 440k
1 vote

Alignat: column not flushing right to the margin

You can create your own macro \commentedmath with two parameters: math and comment based on TeX primitive: \hbox to\hsize {$math$ \hss comment} For example, like this: \def\commentedmath#1#2{\par \...
user avatar
  • 53.6k
1 vote
Accepted

Question to all Chemfig-enthusiasts: How to put '+' on same line

Do you want something like this? \documentclass{article} \usepackage{chemfig} \usepackage{amssymb} \begin{document} \schemestart \chemfig[atom sep=24pt]{C([2]-H)([4]-H)(-\charge{90=\|,-...
user avatar
  • 1,390
1 vote
Accepted

hfill in equation (split, align or subequations, ...)

Do you mean something like \qedhere? \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry} \usepackage{mathtools} \...
user avatar
  • 994k

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