Skip to main content
5 votes
Accepted

How can I typeset \sim-like arrow?

\documentclass{article} \usepackage{mathtools} % for \mathllap \usepackage{MnSymbol} % for \rightlsquigarrow \usepackage{scalerel} % for \scalerel \newcommand{\approxrightarrow}{ \mathrel{ \...
hair-splitter's user avatar
3 votes
Accepted

Mathjax/latex/amsmath command for Unicode Character “⨳” (U+2A33)

In unicode-math (or mathml in a browser) or mathjax with a suitable font you could simply use ⨳ unicode-math for lualatex and xelatex, and compatible packages such as stix2 for pdflatex also define \...
David Carlisle's user avatar
3 votes

Construct symbol for map onto itself

My solution uses pgf. You will be able to adjust the width of the horizontal lines, the height, the line width, the arrow type, or even the baseline. \documentclass{article} \usepackage{tikz} \...
gxono's user avatar
  • 528
2 votes

\mid, | (vertical bar), \vert, \lvert, \rvert, \divides

Old question, but it got bumped to the front page… The character printed by |, \mid, \lvert and \rvert is always the same, but with different math class: | is an ordinary symbol; \mid is a relation ...
egreg's user avatar
  • 1.2m
2 votes

How to get \coloneqq the other way round?

Following up on the comments: use \eqqcolon from mathtools. \documentclass{article} \usepackage{mathtools} \begin{document} $a\coloneqq b$ $c\eqqcolon d$ \end{document}
mbert's user avatar
  • 5,116
2 votes
Accepted

Construct symbol for map onto itself

You can clip the arrow. Complications arise due to the peculiar bounding box of arrows in Computer Modern fonts. \documentclass{article} \usepackage{amsmath} \usepackage{trimclip} \makeatletter \...
egreg's user avatar
  • 1.2m
1 vote

Automated quotation marks with "" symbol

This doesn't satisfy all your desiderata. TeX is not a word processor but a mark-up language. As such, things work differently and that has both advantages and disadvantages. In some cases, the same ...
cfr's user avatar
  • 211k
1 vote
Accepted

Font shape and size substitution error when using dingbat in the same document as esvect

stix uses \DeclareMathSizes{10}{10}{7.5}{6} But font U/esvect/m/n is not available in size 7.5pt. Uesvect.fd defines only some sizes: \DeclareFontShape{U}{esvect}{m}{n}{% <5><6><...
cabohah's user avatar
  • 15.6k
1 vote

Getting a symbol similar to number 1 but easily distinguishable from it

A couple of suggestion: 1 in Helvetica bold 1 in Euler bold \documentclass{article} \usepackage{amsmath} \newcommand{\hone}{\text{\usefont{OT1}{phv}{b}{n}1}} \newcommand{\eone}{\text{\usefont{U}{...
egreg's user avatar
  • 1.2m
1 vote

How can I write Arabic Mathematical Symbols in Latex?

this works with XeLaTeX \documentclass[2pt,a4paper]{article} \usepackage{amsmath,amsfonts,amssymb,mathrsfs,tikz,fancyhdr} \usepackage{fontspec} % For loading OpenType fonts \usepackage{unicode-math} % ...
Mohamed Emad's user avatar
1 vote

Parallelogram symbol

Add this macro: \newcommand{\parallelogram}{% \tikz[scale=0.08, baseline=-0.5ex]{% \draw (0,0) -- (1,0) -- (1.5,1) -- (0.5,1) -- cycle; }% } Just call $\parallelogram$
Herman Jaramillo's user avatar
1 vote

\mid, | (vertical bar), \vert, \lvert, \rvert, \divides

I think it is helpful to compare the definitions of these commands: %%% From kernel % \mid \DeclareMathSymbol{\mid}{\mathrel}{symbols}{"6A} % | and \vert (the same) \DeclareMathDelimiter{|}{\...
Stephen's user avatar
  • 5,263

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