Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stacking-symbols]

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

2
votes
1answer
65 views

Less-than OR Less-than-equal with one symbol

I want to write a less-than-equal sign with a brace around the equal sign. Something like this, but in "nice" (at the moment, it doesn't really look as expected): \documentclass{article} \usepackage{...
9
votes
2answers
164 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{\...
2
votes
1answer
34 views

Symbol similar to \pitchfork for tangent component

I want to define a symbol analogous to \pitchfork from amssymb, which I use meaning "transverse". My new symbol will stand for "tangent" and I want it to be a \cap with a horizontal bar over it, ...
3
votes
2answers
72 views

how to write multiple overlapping underbraces

I am trying to write overlapping underbraces for this equation and I can't get the second underbrace right! Any ideas?...
9
votes
3answers
120 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 \...
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 ...
0
votes
2answers
375 views

How to get a “approximately follows distribution” symbol?

I want to create an "approximately follows distribution" symbol. It should be a \sim with one dot above and one below. I have tried using \underset and \overset, but I cannot get the dots to be the ...
0
votes
0answers
46 views

How do I define a new accumulation symbol? [duplicate]

An accumulation symbol in LaTeX is a symbol that has a subscript and a superscript, normally used to state the limits of a running index, directly above and below it. The best-known examples are the ...
7
votes
2answers
341 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 ...
3
votes
4answers
543 views

How to stack a symbol on another of same size but with no vertical centering?

I have something like \[a = \langle a + b, c + d, e + f \rangle\] But I want to stack another vector right above the right hand side, centered horizontally (with respect to corresponding elements ...
6
votes
2answers
329 views

How to properly format equation symbols

While writing a couple of equations, I stumbled upon a problem of poor spacing. Example in question: \documentclass{amsart} \usepackage{IEEEtrantools} \begin{document} \begin{IEEEeqnarray}{rCl} \...
0
votes
0answers
18 views

What is the LaTeX command for this symbol? Looks like \smile over a \frown [duplicate]

The symbol looks like this: In context: It occurs in the paper: "Linear type theory for asynchronous session types - S. J. Gay & V. T. Vasconcelos". What command can I use to generate this ...
2
votes
3answers
344 views

Align on equal sign when using stackrel (by defining a single command)

Edit. I realized that my anwer was not complete. Indeed I missed to state that I need a solution that works together with normal aligned stuff (i.e. without the \stackrel command). The first equation ...
3
votes
1answer
833 views

Consistent custom equality and subset symbols

I would like to produce a handful of symbols with the following descriptions: A subset (or rather \subseteq) symbol with the extra line replaced by a 'forward' arrow. A similar symbol with a '...
12
votes
5answers
1k 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?...
1
vote
2answers
2k views

Symbol to denote “weak star convergence”

how do I type the weak star convergence symbol, i.e. star symbol over \rightharpoonup? I tried \xrightharpoon{\ast}, but it is not working.
3
votes
1answer
1k views

How to print “~” in order to put text above it

How do I put text over symbols? gives some very good answers to placing text above a symbol (=), which works for many other symbols which as +, @ etc. However none of the solutions work for ~, I had ...
3
votes
2answers
68 views

Font-independent custom symbols

I was interested in using a custom symbol. So, I played around with some numbers in a MWE (because it was much faster to compile) before trying it out in my original document. I wound up with the ...
4
votes
2answers
85 views

Creating three sided boxes that “close in” the floor and ceil functions

Like Cameron Martin who asked this question, I want notation for an operator that replaces the weak inequalities in \floor and \ceil with strict inequalities. Jordan Glen proposed \ceil{\bar{N^\ast}}...
7
votes
3answers
472 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\...
2
votes
2answers
51 views

Alignment problem, stacking

Hello, everyone! Numberphile has this great video on Euler's constant, and I would like to replicate one of the ways to get e. So far I managed to come this far, but I don't know how to create the ...
2
votes
2answers
99 views

Decreasing limits

I have the following codes. Is it possible to decrease the size of limits in minimum phrase? Thanks in advance. ‎ \documentclass[12pt‎ , ‎a4paper]{article}‎ \usepackage{mathtools} \...
1
vote
1answer
510 views

Numbers inside triangles

I found a good answer here about how to insert characters into circles, but how could one place a triangular order around a character? Would it involve $\triangle$?
2
votes
1answer
102 views

Stack Logic Symbols in Tikz

I want to reproduce diagrams like the following in tikz (taken from Sider's Logic for Philosophy, p. 189): In particular, I can't figure out how to stack symbols as they are in this image (having 1s ...
1
vote
1answer
88 views

Define a symbol with \stackrel, that works inline without changing the height of the line

\documentclass{article} \usepackage[margin=6cm]{geometry} \usepackage{graphicx} \newcommand\mysymbol {\ensuremath{\stackrel{(\mathsf{lin})}{\longrightarrow_{(1)}}}} \begin{document} This is an ...
4
votes
1answer
48 views

Help recalling a package which automatically calculates derivative orders

I distinctly recall stumbling upon a package which typeset derivatives nicely, and moreover automatically calculated some of the indices involved in partial differentiation. Unfortunately, I can't ...
6
votes
3answers
179 views

How to center the higher glyph(s) in a `\stackrel` or stretch the lower glyph?

I currently am using a relation \newcommand{\Lsense}{\stackrel{\mathbb{L}^1}{=}} but unfortunately, the \mathbb{L}^1 is not nicely centred over the = symbol. I read some other answers that involve ...
12
votes
1answer
899 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 ...
5
votes
1answer
225 views

Half overlap two symbols from amssymb

I am using the empty and filled triangle amssymb but i need a third one. It should look like the \blacktriangleright in the first half and like \rhd in the second half. MWE \documentclass{article} \...
2
votes
2answers
248 views

double integrals with a bar

I usually use \fint to denote normalized integration. I would like to produce the same slanted line across a double integral \iint. The command \fiint does not seem to exist. How can I get this ...
1
vote
2answers
1k views

how to print long relation operators like simeq and sim with text above in latex

ENV xelatex --version XeTeX 3.14159265-2.6-0.99991 (TeX Live 2014) bibtex --version BibTeX 0.99d (TeX Live 2014) \mathrel{\simeq\!\simeq} not what I want. \stackrel{\text{mytext}{\simeq}} the ...
3
votes
1answer
167 views

Custom “H” symbols for double affine Hecke algebra

I'd like to create some custom symbols for double affine Hecke algebras. Specifically, I would like to "double" the usual "H" symbols, for example $\mathcal{H}$, $\mathbb{H}$ or $\mathbf{H}$. By ...
2
votes
2answers
253 views

Combine several math symbols in one symbol properly

How to put several math symbols together in one and make it work as a single math symbol? It should be invulnerable to font size and scaling. For example I want to have this weird symbol: and I ...
3
votes
2answers
8k views

how to put symbol on top of tensor product

How do I put a $\frown$ right on top of $\otimes$? I tried \stackrel but it leaves too much space between symbols.
1
vote
0answers
747 views

Transpose of a matrix with tilde:

What is the best way to write the transpose with a tilde on top? Some authors use this notation. I used \overset{\thicksim}{ABC} because \tilde{ABC} does not work either. The idea is that the tilde ...
2
votes
2answers
118 views

I would like to use vertical dots to indicate I am omitting arrows

I have a diagram with many parallel arrows between objects in XYpic. Eventually, they become too numerous to all display. I would like to indicate this with two outside horizontal arrows and some \...
3
votes
2answers
675 views

How to put a bar on top of a hat

I'm trying to type the conjugate of the fourier transform, so I want a bar over a hat. I only really know one way of doing this but these come out VERY scrambled: $\overline{hat{f}}$ or $\bar{\hat{f}}$...
2
votes
1answer
90 views

Footmark closer to text

I want the footmark to be closer to the inequality sign. \stackrel{\footnotemark[1]}{\leq} \footnotetext[1]{Test}
2
votes
1answer
2k views

Functional Notation in Latex

Is there a way to display a mathematical function in the following format $f: \mathbb{N} \to \mathbb{N}$ $x \to x^2$ with the x -> x^2 just below the definition of the domain and ...
1
vote
1answer
228 views

\stackrel{-}{x} of different letters makes overline at different quote

I'm writing my PhD Thesis. I have a stylistic problem with an equation. These are the code and the output (the red lines are mine). Per ovviare a questi due inconvenienti si è ritenuto opportuno ...
2
votes
2answers
137 views

How do I stack multiple conditions in a column in math mode? [duplicate]

I am experimenting with multiple integrals and volume (and area) elements. I can write the integral, $A = \int_a^t{\left|f\left(x\right)\right|dx} $, as $A = \int_a^t{\int_0^{\left|f\left(x\...
0
votes
1answer
33 views

How can I write underset tag properly in the reaction below?

I am using mhchem tools for writing chemical reaction in my blog. How should I rewrite the code in the reaction below so that the text Rust appears just below the product? And this is the code I have ...
1
vote
2answers
177 views

How to make this Conceptual Dependency direction symbol in LaTex?

I've tried several approaches using large brackets and arrows but can't get them to work. Thanks in advance.
4
votes
1answer
183 views

a \frac{}{} with knobs

What definition code gives mathematics mode output that looks like this? Often \(A\) | \(B\) inline, and \[\frac{A}{B}\] in display mode, is the notation for ``A if and only if B''. If A \cirf B ...
2
votes
1answer
234 views

Drawing dashed `\subseteq` symbol

I am trying to draw a dashed \subseteq symbol: (in contrast to \not\subseteq or \varsubsetneq and \nsubseteq from the amsfonts package) but having no success. Is there any known way to do this? Also ...
1
vote
5answers
532 views

The Distinct symbols [duplicate]

How do I write the symbol x cross in LaTeX. I want the x with a line across the centre point of X. I searched the internet but couldn't get it. This is a picture of the symbol
5
votes
3answers
2k views

How to put symbols of equal size on top of each other?

I would like to put (any) two symbols on top of each other. With \overset the one on top is smaller. However, I want them to appear vertically centered and of equal size. How can this be done? ...
1
vote
1answer
82 views

Negating (\not) a stackrel expression

I am using the following command to generate an arrow with a superscript, which is then negated: \not \stackrel{x}{\Longrightarrow} The problem is that the "\not" slash appears far to the left on ...
8
votes
2answers
634 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 ...
4
votes
2answers
893 views

an \underhat and \underwidehat

So $\hat x$ and $\widehat x$ give upper hats of different length, however, unlike \overbrace{} had an \underbrace{}, one sometimes needs an \uhat and \uwidehat. What is the best (cleanest, fewest ...