[Tex/LaTex] How to define a right arrow with bar in LaTeX math-modesymbols could any one tell me how I can define the following symbol in Latex please? It looks like an implies symbol concatenated with a vertical bar. Best Answer The stmaryrd font has \mapsfromchar: \documentclass{article} \usepackage{amsmath} \usepackage{stmaryrd} \newcommand{\Rightarrowbar}{\Rightarrow\mapsfromchar} \newcommand{\Leftarrowbar}{\mapstochar\Leftarrow} \begin{document} $a\Rightarrowbar b$ $a\Leftarrowbar b$ \end{document} If stmaryrd is not an option for you, it's possible to reflect \mapstochar: \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \newcommand{\fakedmapsfromchar}{% \mathrel{\mathpalette\reflectmathchar\mapstochar}% } \makeatletter \newcommand{\reflectmathchar}[2]{% \reflectbox{$\m@th#1#2$}% } \makeatother \newcommand{\Rightarrowbar}{\Rightarrow\fakedmapsfromchar} \newcommand{\Leftarrowbar}{\mapstochar\Leftarrow} \begin{document} $a\Rightarrowbar b$ $a\Leftarrowbar b$ \end{document} Related Solutions[Tex/LaTex] Wedge with vertical bar This overlaps three things: wedge/vee, shortmid, and shortmid raised to a correct height. The numbers suit cm and lm fonts, for other fonts they might need to be modified. See here for a quick course on \ooalign. \documentclass{article} \usepackage{amssymb} \makeatletter \newcommand\@@vertwv[3]{\mathop{\ooalign{% $#1#3$\cr \hfil$#1\shortmid$\hfil\cr \hfil\raisebox{#2}{$#1\shortmid$}\hfil\cr}}} \newcommand\@vertwv[1]{\mathchoice {\@@vertwv{\displaystyle }{0.38ex}{#1}}% {\@@vertwv{\textstyle }{0.38ex}{#1}}% {\@@vertwv{\scriptstyle }{0.28ex}{#1}}% {\@@vertwv{\scriptscriptstyle}{0.21ex}{#1}}} \newcommand\vertwedge{\@vertwv\wedge} \newcommand\vertvee {\@vertwv\vee } \makeatother \begin{document} \[ a\vertwedge b \neq a\vertvee b \] \[ \textstyle a\vertwedge b \neq a\vertvee b \] \[ \scriptstyle a\vertwedge b \neq a\vertvee b \] \[ \scriptscriptstyle a\vertwedge b \neq a\vertvee b \] \end{document} [Tex/LaTex] How to make an overset symbol at the same size and height as \bar except with a different symbol This is a clear case for \accentset from the accents package: \documentclass{article} \usepackage{accents} \newcommand{\vect}[1]{\accentset{\rightharpoonup}{#1}} \begin{document} $\vect{x}$ \end{document} Related Question[Tex/LaTex] Not equal sign (≠) with a vertical bar
Best Answer
The
stmaryrd
font has\mapsfromchar
:If
stmaryrd
is not an option for you, it's possible to reflect\mapstochar
: