Questions tagged [stacking-symbols]

{stacking-symbol} is about mathematical symbols created by stacking existing symbols above each other.

Filter by
Sorted by
Tagged with
161
votes
5answers
580k views

The \bar and \overline commands

I want to represent, say, the closure of a set or the extended reals, e.g., $\bar{\mathbb{R}}$ but unfortunately this creates a bar that is much too small (horizontally) and can barely be seen. On the ...
150
votes
2answers
372k views

\Rightarrow with text above it [duplicate]

When using the command \Rightarrow is there any way to put text above it? I have tried \overbrace but is there a way to do it without this?
95
votes
7answers
69k views

Typeset an = with an ! above

I've seen an equals sign with a small exclamation mark on top being used to say "equals because of data that was given in the problem", for example for a boundary condition or initial value in a ...
49
votes
4answers
131k views

How to get an “approximately proportional to” symbol

I've looked everywhere, and there does not seem to be a symbol for this, i.e. a \propto with a \sim underneath. I've googled ways of combining these two symbols but haven't found anything satisfactory....
48
votes
3answers
65k views

How to put something at the top of the \longrightarrow?

I would like to put something at the top of the \longrightarrow, something like \longrightarrow^{k\rightarrow\infty}. However, instead of putting k\rightarrow\infty on the top right corner, I would ...
42
votes
2answers
144k views

How to write “is distributed as” under a certain hypothesis? [duplicate]

I'd need a special symbol used in statistics. What I need is a tilde with something written upon it. I can get the tilde by using \sim, but I need to add a superscript over it (H_0). If I use \sim^{...
38
votes
3answers
43k views

How to stack limits for maths operators?

I have a question on how is it possible to create a \sum with two lower limits directly positioned right underneath each other. I have tried hard and cant seem to get anywhere with it.
30
votes
6answers
17k views

How can I type “lambda-bar”?

I would like to be able to add the symbol "lambda-bar" (see below) into an equation. How can I do this?
25
votes
4answers
10k views

What is the command for a sum symbol superimposed on an integral sign?

I want to express a sum over all discrete states and an integral over all continuum states. Usually, the sign for this is a $\sum$ superimposed on an $\int$. Is there a command to make this symbol? If ...
23
votes
2answers
30k views

Is there an “underscript” command?

Is there a way to do underscripts? By "underscript" I mean a small font underneath the text object like limits or sums have. I don't want it to behave like a math operator though, where it is typeset ...
21
votes
3answers
21k views

A better notation to denote arcs for an American high school textbook

For years, I've been using a hobbled together command to get the arc notation as used in the textbooks adopted by high schools in my area. I'm not really all that pleased with the result: it's just ...
19
votes
2answers
9k views

How to typeset “evaluated at” vertical bar with two conditions instead of one?

I would like to typeset the differential of a multivariate function evaluated at a point where two of the variables take precise value. I typeset the "evaluated at" using a vertical bar, at the bottom ...
18
votes
3answers
8k views

Arrow between parts of equation in LaTeX

I want to make an arrow under an equation pointing from one part of the equation to another. A bit like an underbrace, but with an arrow. How can I do this?
18
votes
3answers
68k views

Add a comment on top of “equal” and “approximate” symbols [duplicate]

I was wondering whether it is possible to add some comment on top of the \approx symbol in a similar way that the command \xrightarrow{text} produces an arrow with text over it.
18
votes
1answer
3k views

How can I make an overset symbol at the same size and height as \bar except with a different symbol?

Apologies for the cryptic title, but I was not sure how best to phrase the question in one sentence. I am essentially trying the create a vector symbol with \rightharpoonup as the top instead of the ...
15
votes
4answers
11k views

Vertical double asterisk that aligns well with the double dagger

The LaTeX text footnote symbol sequence begins with ∗ † ‡ § ¶ ∥. I'd like to define a vertical double asterisk ⁑ (\textastdbl) so that I can insert it into the sequence: * ⁑ † ‡ § ¶ ∥ (note: actual ...
14
votes
3answers
12k views

\shortstack when writing text in nodes in TikZ

I have seen the command \shortstack in some nodes in TikZ (for example, the accepted answer here). What is used for? I couldn't find its definition in the TikZ manual.
13
votes
5answers
9k views

How to get the \bar over a relation?

When adding a \bar to a relation the spacing around the relation is removed: \documentclass{article} \begin{document} $x > y$ $x \bar{>} y$ \end{document} So, how does one do this correctly?...
12
votes
2answers
3k views

How can i shrink (or expand) the vertical spacing in \stackrel?

I've seen the following command used a lot to make the triangle-equals operator that means "is defined as": \newcommand{\defeq}{\stackrel{\triangle}{=}} However, I don't like how far apart the ...
12
votes
3answers
19k views

Creating non-math mode substitutes for \overset and \underset not dependent on the amsmath package

I have been using \overset and \underset to stack text, e.g.: \documentclass{article} \usepackage{amsmath} \begin{document} $\overset{\text{a}}{\text{b}}$ \\ $\underset{\text{c}}{\text{d}}$ \end{...
12
votes
2answers
5k views

Change vertical space in overset

How can I decrease the space in overset? I found this solution online, but it doesn't look quite like the original overset (note I know it is difficult to come up with a solution to handle all cases ...
12
votes
1answer
1k views

How does one make a 'proper' (aesthetically pleasing) double widetilde?

I'm heaving problems with correctly vertically stacking two widetilde's (i.e. one on top of the other). I managed to reduce the space between them, but I don't know how to force them to be exactly ...
11
votes
3answers
3k views

position of the slash in hatted \slashed

So I want to denote the Dirac operator with a hat, and I tried both \hat{\slashed{D}} and \slashed{\hat{D}}: the first one has the $^$ rather distant to the $\slashed{D}$, while the second one has the ...
11
votes
1answer
351 views

Straight Braces

Can I make a variant of Latex Braces? In some equations system, I'd like to use a left brace like in this picture:
10
votes
8answers
12k views

frown and mathop/stackrel/overset

I need something like \stackrel{\frown}{MM'} to express the fact that MM' is some path. But I am not really satisfied by the look of the result. The \frown is too high. Would you please have a ...
10
votes
3answers
6k views

How to write a pretty \not \varepsilon

How can I write a pretty \not\varepsilon? I want something like \notin, since I use \varepsilon as a relation symbol like \in.
10
votes
4answers
1k views

How to put bullet symbol on top of downarrow symbol

I want to put bullet symbol on top of downward arrow symbol. Can someone help me on this? \documentclass{article} \usepackage{graphicx} \begin{document} The transition is represented with $\mathrel{...
10
votes
2answers
3k views

Looking for \bigCap or \bigdoublecap

I know \Cap (or \doublecap) and I know \bigcap. However, now I also need \bigCap (or \bigdoublecap) which is a \bigcap with another \cap in between. I already tried using \stackinset from the ...
10
votes
2answers
966 views

conventional temperature symbol

Looking for a symbol for the thermodynamic concept of conventional Temperature corresponding to \SI{298.15}{\kelvin} or \SI{25}{\Celsius} it is basically an uppercase T with a lowercase c overlaying ...
10
votes
4answers
32k views

How to typeset an isomorphism symbol ($\simeq$) with a long bar

Is there any way to typeset in LaTeX a \simeq with a longer bar, or equivalently \stackrel{\sim}{\longrightarrow} without the arrowhead?
9
votes
2answers
6k views

How to stack three relations

Is it possible to stack three relations or symbols ontop of one another? Specifically I would like to stack three symbols, R, \rightleftarrows and L in order to define a pair of adjoint functors $R:C\...
9
votes
1answer
221 views

TikZ: Adjust two words among each other by one character

I would like to create a logo in LaTeX. Here I need to adjust two words relative to each other by a chosen letter. Here is an example, where I'd like to get the two red characters exact among the ...
9
votes
2answers
196 views

Strange behavior of underset

Why aren't the arrows put under the equal sign if they are less than .7em or .3cm? \documentclass{article} \usepackage{mathtools} \usepackage{tikz} \usetikzlibrary{arrows.meta} \newcommand{\...
9
votes
3answers
176 views

Stacking thick bars below a symbol

I am using the following commands to place an arbitrary number of specialized, thick bars (\xbar) below a letter. \documentclass[prb,preprint]{revtex4-1} \usepackage{stackengine} \stackMath \...
9
votes
1answer
9k views

How to put symbol around the equal sign?

In the question Latex Math Symbol: Vitanyi puts a tiny plus symbol over his equals. How do I do that?, there was an answer to how to place additional sign over the equal sign. And my question is, what ...
9
votes
2answers
1k views

Typesetting arc over the letter upside down

How can I, using standard tools and packages, draw a "smile" over a letter? For example, I can typeset \wideparen{x} using yhmath package, but I need that arc to be upside down. Of course I want it to ...
8
votes
4answers
805 views

How do I create this semi-enclosed arrow symbol?

I would like to create a symbol for \implies and \impliedby where they are enclosed in a rotated lidless box as shown in the picture. Can anybody tell me how I could achieve this?
8
votes
3answers
6k views

double tilde symbol under letter

Currently, I'm representing second and fourth order tensor with this (taken from someone, and i don't really get how it works): % tensor 2: \newcommand{\tend}[1]{\oalign{\mbox{\boldmath$#1$}\...
8
votes
2answers
956 views

overlay symbols

I would like to overload some symbols. Basically they would take no space so \symbol1\symbol2\symbol3 would exist on the page in the same position as either one of the symbols. Ideally I'd like ...
8
votes
2answers
955 views

Combine two symbols to one fully scalable

I have to put a colon inside a bigcup symbol, so that the result is treated exactly like the latter. I tried different approaches following various posts here and on other places. The best result ...
8
votes
3answers
1k views

Superimpose letter on integral symbol

Good Afternoon all, I am trying to typeset a symbol that I have been using to represent the integral of a regulated function. This symbol is the standard integral symbol, with the letter "R" ...
8
votes
2answers
965 views

How to put a symbol inside another in math mode?

In math mode, I would like to put a symbol inside another. Let say I want to put an x inside a V. I would like x to be in the empty space inside the letter V. I guess I need to put V in a box, then x ...
8
votes
1answer
3k views

How to create \Delta with dot in it?

I am just looking for ways to write different \Delta´s (so many different variants of the Alexander polynomial). So I came up with the idea to have a dot in it. But the problem I noticed is, if I ...
8
votes
1answer
10k views

How to center text under math symbols

I was looking for a way to center text underneath math symbols such as constraints or regions. More specifically, from vector calculus, if we were to have a double integral bounded by some region D, ...
7
votes
3answers
5k views

How do I get a equals sign under letters?

To show that a letter is a matrix my math book puts a equals sign under the letter. How do I do this?
7
votes
3answers
4k views

How to put a symbol inside a circle arrow?

I'm trying to draw a clockwise circle arrow with a symbol inside. My current solution requires manual alignment of the content, and as such doesn't look very good. \makebox[0pt][l]{\huge$\...
7
votes
2answers
1k views

Math symbol similar to $\Pi$ but with crossed legs

I would like to realize a symbol that looks similar to a \Pi, but with its two legs crossed, like in an \mathrm{X}. In other words, I want the bar in \overline{\mathrm{X}} to be moved down just a ...
7
votes
3answers
993 views

`\stackrel` but lower

I am trying to place a frown above a times so it behaves like a hat. I have tried: \stackrel{\frown}{\times} {\frown \above 0pt \times} \overset{\frown}{\times} \mathrlap{\frown}\times {\frown\atop\...
7
votes
2answers
748 views

How can I underline mathematics using a harpoon of variable size?

I am a new user of LaTeX. I want to underline the answers to mathematics problems using a \rightharpoondown symbol. If possible, I would like a \rightharpoondown of variable size, as in the image ...
7
votes
1answer
465 views

How do I get a tilted equal sign for an equation?

For example, this is what I am looking for: Usually for limits where the value is 0 or 1 of a particular expression (e^x) in this case, you might see something like a tilted 45 degrees equal sign, ...