Skip to main content
6 votes

Wedge inside of itself math symbol

Not really pretty… \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \makeatletter \newcommand{\Wedge}{\DOTSB\mathbin{\mathpalette\Wedge@\relax}} \newcommand{\Wedge@}[2]{% \ooalign{...
egreg's user avatar
  • 1.1m
5 votes
Accepted

Superfluous space at start of aligned inside multlined

it looks like a bug that aligned is picking up the nested settings (I think I have seen that before) but you can work around it by setting it outside the display \documentclass[a4paper]{article} \...
David Carlisle's user avatar
5 votes
Accepted

Squished ```\equiv'''

Put two \equiv signs with some backup in the middle. \documentclass{article} \newcommand{\Equiv}{\equiv\joinrel\equiv} \begin{document} $a = b$ $a \equiv b$ $a \Equiv b$ \end{document} The ...
egreg's user avatar
  • 1.1m
4 votes

Vertical alignment of \underset

With some “primitive” coding: \documentclass{article} \usepackage{amsmath,amssymb} \makeatletter \newcommand{\tofrom}[2]{\mathrel{\tofrom@{#1}{#2}}} \newcommand{\tofrom@}[2]{% \vbox{\...
egreg's user avatar
  • 1.1m
4 votes
Accepted

Wedge inside of itself math symbol

Another approach could be this looking the answer here importing the only symbol (rotated) $\ggg$ from mathabx package: \documentclass[12pt]{article} \DeclareFontFamily{U}{matha}{\hyphenchar\font45} \...
Sebastiano's user avatar
  • 56.5k
4 votes
Accepted

Aligning equal signs and brackets at the same time

You want to use gather and a nested alignedat with three points of alignment. \documentclass{article} \usepackage{amsmath} \newcommand{\hx}{\hat{x}} \newcommand{\hy}{\hat{y}} \newcommand{\hz}{\hat{z}}...
egreg's user avatar
  • 1.1m
4 votes

How to typeset the a combination of math and a plot

There is no problem in adding array in an equation. With the w{c}{2em} column type, you get fixed width (change the length to your liking). Omitting rules is done as usual in array or tabular. \...
egreg's user avatar
  • 1.1m
4 votes
Accepted

How to make amsmath gather not floatable

You can use \allowdisplaybreaks during document preparation. \documentclass[fleqn]{article} \usepackage{amsmath} \usepackage{lipsum} \newcommand{\openupnext}[2]{% \AddToHookNext{env/#1/begin}{\...
egreg's user avatar
  • 1.1m
3 votes
Accepted

Automatically typeset subscripts upright - how to make it compatible with greek letters?

However these [earlier solutions] do not work when including greek letters in a subscript The second posting you've cross-referenced contains a LuaLaTeX-based solution [shameless self-citation alert!]...
Mico's user avatar
  • 513k
3 votes
Accepted

How to typeset the a combination of math and a plot

you can use array enviroment, \documentclass{article} \usepackage{amsmath, amssymb, array} \renewcommand\arraystretch{1.5} \begin{document} \[ |I,T,T_3 = T \rangle = \begin{array}{|w{c}{1.8cm}|w{c}{...
ljguo's user avatar
  • 1,377
3 votes

How can I write these expressions better?

I suggest you use an alignat*{4} environment for the three-row expression. Do please get rid of all \hspace* directives and of most instances of \cdot. Definitely don't use \\\\; instead, use \\[\jot] ...
Mico's user avatar
  • 513k
3 votes

Aligning equal signs and brackets at the same time

(I updated this answer after receiving additional information from the OP.) how can I align the first equation = sign with the second one, but maintain the alignment of the yz, zx and xy terms [in ...
Mico's user avatar
  • 513k
3 votes

Problem with multiple \label

I suspect that there's some interaction between amsmath and chemmacros. The solution is to comment out the faulty \label. Anyway it doesn't make sense to \label a line in align* if you \label in ...
egreg's user avatar
  • 1.1m
2 votes

Persistent subscript placement with or without superscript

Using subdepth package there is the alignment of the subscripts. See the orange line. \documentclass[12pt]{article} \usepackage{subdepth} \begin{document} $a^{x}_{m+2} \quad a_{m+2}$ \end{document}
Sebastiano's user avatar
  • 56.5k
2 votes

Wrap text in equations?

Probably not optimal, but you can try the varwidth package with inline math, and define a command like \newcommand{\restrain}[2][5cm]{% \begin{varwidth}{#1} \centering $#2$ \end{varwidth} } ...
jlab's user avatar
  • 3,759
2 votes

Wrap text in equations?

Late to the party, but I noticed the presence of a lot of useless parentheses that don't add to clarity, but rather hinder reading. The added spaces don't help either. \documentclass{article} \...
egreg's user avatar
  • 1.1m
2 votes

How can I group different equations into a single label using the amsmath package?

As suggest by the user @David Carlisle in the first comment, we use aligned enviroment. \documentclass[12pt]{article} \usepackage{geometry} \usepackage{amsmath} \begin{document} \begin{equation} \...
Sebastiano's user avatar
  • 56.5k
2 votes
Accepted

Why this wrong horizontal spacing in mathmode?

Either use -ed form inside gather, here aligned, separate the environments, use only align* or add space manually as proposed by egreg. Example: \documentclass[12pt,letterpaper,twoside]{book} \...
jlab's user avatar
  • 3,759
2 votes

Equation labels increase the counter in LaTeX amsmath

You just need to define a suitable label format and use \theequation instead of the counter set up for eqfloat. \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathtools} ...
egreg's user avatar
  • 1.1m
2 votes
Accepted

Cross Referencing Equations with Hyperref: No Capital Letter

As you already load the cleveref package, you could actually use it: \documentclass{article} \usepackage{amsmath} \usepackage[pdfa,hidelinks]{hyperref} \usepackage[noabbrev]{cleveref} \begin{...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

How do you automatically layout a large number of equations?

Define myenv as \newenvironment{myenv}[1][\quad]{% \begin{center}% \renewcommand\\{#1}% }{% \end{center}% } Without an optional argument, the rules will be \quad apart and the lines are ...
gernot's user avatar
  • 49.9k
2 votes

How can I write this on latex?

Maybe you can start from the following code that essentially uses a tabular environment with an \hline. Add the following code to your preamble: \newcommand\fillin[2][0pt]{% \begin{tabular}[t]{c} \...
gernot's user avatar
  • 49.9k
2 votes

How can I write these expressions better?

First of all I'd get rid of all \cdot symbols that aren't idiomatic in mathematics. If you really want them, at least get rid of all \hspace*{0.1cm} instructions that just make the text harder to read....
egreg's user avatar
  • 1.1m
2 votes

How to typeset the a combination of math and a plot

Not a hard one. \documentclass{article} \usepackage{nicematrix} \begin{document} \begin{equation} \lvert I, T, T_3=T>=\begin{NiceArray}{cc}[hvlines, first-row] p & n\\ & \...
NBur's user avatar
  • 5,051
2 votes

Automatically typeset subscripts upright - how to make it compatible with greek letters?

Using this solution I referenced earlier with LuaLaTeX instead of pdfLaTeX works fine with greek letters (pdfLaTeX will simply not generate a pdf at all). I find it more user-friendly, than Mico's Lua-...
armel's user avatar
  • 53
2 votes

Wedge inside of itself math symbol

There's always the TikZ option... \documentclass{article} \usepackage{tikz, scalerel} \newcommand{\Wedge}{\mathbin{\scalerel*{\tikz{ \path[use as bounding box](-.04,0)rectangle(.24,.23); \...
Sandy G's user avatar
  • 46.5k
1 vote
Accepted

How to redefine the align environment in terms of itself?

You're missing an argument to \RenewDocumentEnvironment, but it's not so important. The most relevant error is that \align and \endalign aren't really what you might expect. \documentclass{article} \...
egreg's user avatar
  • 1.1m
1 vote

How to align some lines to a specific alignment, and some other lines to another specific alignment, where some lines has justified text?

The following is a simple way to achieve what you're after, setting the mathematical expression in an align, and using \qquad to push content to the right. \documentclass{article} \usepackage{...
Werner's user avatar
  • 606k
1 vote

Insert specific form of tau

Usually, a specific letter form has no real consequence on the symbol's meaning. Anyway, if you really need that letterform, you can import it from the standard Adobe Symbol font. \documentclass{...
egreg's user avatar
  • 1.1m
1 vote

Wrap text in equations?

An harmonized view code. \documentclass[12pt]{article} \usepackage{geometry} \usepackage{amsmath} \begin{document} $ \left(\left(\vcenter{\hbox{$\displaystyle \frac{\left(\begin{array}{c} \texttt{5dc}+...
Sebastiano's user avatar
  • 56.5k

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