Linked Questions
102 questions linked to/from The mysteries of \mathpalette
1
vote
2
answers
1k
views
Underscript, subscript and superscript add the same time possibly via \mathoperator* without trailing space
I have a symbol, which I want to give a underscipt, subscript and superscript.
I tried:
\DeclareMathOperator*{\wmat}{w}
\wmat_2_i^j
But now I get a space between my symbol and the sub and ...
4
votes
1
answer
514
views
How TeX / LaTeX proportionally scales \frac, \sum super/subscripts, etc
Wondering what the scaling proportion is when you do above/below on \sum, nested fractions, or super/subscripts on something.
Wondering if it's the same in all of these different situations. It looks ...
2
votes
2
answers
317
views
Using \setlength inside \mathchoice
I've written some somewhat complex tikz macros which use a length to set their scale. I've realised I want them to have a different scale when used inside display math versus inline math mode, and I ...
4
votes
2
answers
570
views
Necessity of nested \text within math mode for proper \mathchoice-based scaling
Quick summary: \text can be used to ensure proper scaling with respect to the correct math style. When exactly should one use it for that purpose? What need is there for nested invocations of \text ...
4
votes
2
answers
439
views
How to "resume" alignat
Minimal example:
\documentclass{report}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{2}
A \hspace{12.5pt} & \hspace{12.5pt} && A \\[10pt]
B \\[10pt]
C \hspace{12....
3
votes
2
answers
562
views
align block not properly aligning
I'm using amsmath and want to display a state-space representation where all equal-signs are alligned, and the elements in-between are centered. Just like align should do, to my understanding. But I ...
5
votes
1
answer
297
views
Automatically use long arrows in display mode
I'd like to have the command \to produce the arrow from \longrightarrow, but only when in a display mode, making use of the available space.
More precisely, the output of
So we have a map $A \to B$.
...
3
votes
2
answers
724
views
Align equation with conditions and another equation
I would like to align 6 and 7 with equation 8 and 9. I wish to align this at the equals sign.
What I have now:
which I got using the code below:
\begin{numcases}{O(t) =}
\textbf{W}^T S(...
4
votes
2
answers
342
views
Get Quotes to Top of Fraction Latex
I am trying to put a fraction in quotes in LaTeX. I have the following so far:
\documentclass{article}
\newcommand*{\mquote}[1]{\text{``\(#1\)''}}
\begin{document}
\[
\frac{f(x)}{g(x)} \implies \...
2
votes
1
answer
1k
views
overbrace on columns of a matrix not working when the width of entries are different
I need to add overbrace on columns of a matrix. I tried How do I label different rows or columns of a matrix using braces? and Build a matrix with overbrace on some columns , They both work until no ...
4
votes
2
answers
214
views
Aligning equations in a list
I would like a list of equations (ideally using enumitem's enumerate environment) aligned (e.g.) by the equal sign. Is there a way to achieve that?
The following produces a list of equations that are ...
0
votes
1
answer
2k
views
Does anyone know the name of this symbol? [duplicate]
Does anyone know the name of this rotated, filled in, black square symbol?
4
votes
2
answers
355
views
how to use onslide to apply underbrace beneath operation
I am trying to apply a simple transition in beamer, after writing the operation without having to repeat the equation every time. I try the code :
\begin{frame}
\frametitle{Exemples}
\begin{...
0
votes
1
answer
581
views
Double equal sign - Problem with \usepackage[T1]{fontenc}
I have made a macro to type a double equal sign but the signs are thinner when I use \usepackage[T1]{fontenc} (see the picture and the code below). How can I fix this?
\documentclass[12pt,a4paper]{...
3
votes
1
answer
788
views
get width and height of character in the power
I want to create a "minus-sign" in a superscript of a letter in math mode using \rule{width}{height} to get control over the look of it. In principle, I get something to my liking, but I fail to make ...