How do I define a right arrow with bar in LaTeX?
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.
math-mode symbols
New contributor
add a comment |
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.
math-mode symbols
New contributor
Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure
– sab hoque
17 hours ago
For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.
– Harald Hanche-Olsen
17 hours ago
add a comment |
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.
math-mode symbols
New contributor
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.
math-mode symbols
math-mode symbols
New contributor
New contributor
edited 9 hours ago
Davislor
6,9741431
6,9741431
New contributor
asked 17 hours ago
CXBCXB
333
333
New contributor
New contributor
Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure
– sab hoque
17 hours ago
For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.
– Harald Hanche-Olsen
17 hours ago
add a comment |
Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure
– sab hoque
17 hours ago
For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.
– Harald Hanche-Olsen
17 hours ago
Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure
– sab hoque
17 hours ago
Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure
– sab hoque
17 hours ago
For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.
– Harald Hanche-Olsen
17 hours ago
For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.
– Harald Hanche-Olsen
17 hours ago
add a comment |
3 Answers
3
active
oldest
votes
The stmaryrd
font has mapsfromchar
:
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar 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{mathpalettereflectmathcharmapstochar}%
}
makeatletter
newcommand{reflectmathchar}[2]{%
reflectbox{$m@th#1#2$}%
}
makeatother
newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar b$
end{document}
add a comment |
Something like this?
documentclass{article}
usepackage{mathtools}
newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}
begin{document}
$ A myRightarrow B$
end{document}
add a comment |
One can always build a symbol by himself (thanks to samcarter, this is a scalable version):
documentclass[margin=1mm]{standalone}
usepackage{graphicx}
usepackage{amssymb}
newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
begin{document}
$1yoursymbol2$ {Huge $1yoursymbol2$}
end{document}
Caution: This doesn't work in subscript. I'm trying to find some solution...
2
If you use a unit that scales with the font, this will also work with other font sizes. For examplehspace{-0.45em}
instead ofhspace{-4.3pt}
– samcarter
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
CXB is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481480%2fhow-do-i-define-a-right-arrow-with-bar-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The stmaryrd
font has mapsfromchar
:
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar 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{mathpalettereflectmathcharmapstochar}%
}
makeatletter
newcommand{reflectmathchar}[2]{%
reflectbox{$m@th#1#2$}%
}
makeatother
newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar b$
end{document}
add a comment |
The stmaryrd
font has mapsfromchar
:
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar 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{mathpalettereflectmathcharmapstochar}%
}
makeatletter
newcommand{reflectmathchar}[2]{%
reflectbox{$m@th#1#2$}%
}
makeatother
newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar b$
end{document}
add a comment |
The stmaryrd
font has mapsfromchar
:
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar 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{mathpalettereflectmathcharmapstochar}%
}
makeatletter
newcommand{reflectmathchar}[2]{%
reflectbox{$m@th#1#2$}%
}
makeatother
newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar b$
end{document}
The stmaryrd
font has mapsfromchar
:
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar 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{mathpalettereflectmathcharmapstochar}%
}
makeatletter
newcommand{reflectmathchar}[2]{%
reflectbox{$m@th#1#2$}%
}
makeatother
newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}
begin{document}
$aRightarrowbar b$
$aLeftarrowbar b$
end{document}
answered 15 hours ago
egregegreg
729k8819263237
729k8819263237
add a comment |
add a comment |
Something like this?
documentclass{article}
usepackage{mathtools}
newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}
begin{document}
$ A myRightarrow B$
end{document}
add a comment |
Something like this?
documentclass{article}
usepackage{mathtools}
newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}
begin{document}
$ A myRightarrow B$
end{document}
add a comment |
Something like this?
documentclass{article}
usepackage{mathtools}
newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}
begin{document}
$ A myRightarrow B$
end{document}
Something like this?
documentclass{article}
usepackage{mathtools}
newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}
begin{document}
$ A myRightarrow B$
end{document}
edited 15 hours ago
answered 16 hours ago
BernardBernard
174k776207
174k776207
add a comment |
add a comment |
One can always build a symbol by himself (thanks to samcarter, this is a scalable version):
documentclass[margin=1mm]{standalone}
usepackage{graphicx}
usepackage{amssymb}
newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
begin{document}
$1yoursymbol2$ {Huge $1yoursymbol2$}
end{document}
Caution: This doesn't work in subscript. I'm trying to find some solution...
2
If you use a unit that scales with the font, this will also work with other font sizes. For examplehspace{-0.45em}
instead ofhspace{-4.3pt}
– samcarter
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
add a comment |
One can always build a symbol by himself (thanks to samcarter, this is a scalable version):
documentclass[margin=1mm]{standalone}
usepackage{graphicx}
usepackage{amssymb}
newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
begin{document}
$1yoursymbol2$ {Huge $1yoursymbol2$}
end{document}
Caution: This doesn't work in subscript. I'm trying to find some solution...
2
If you use a unit that scales with the font, this will also work with other font sizes. For examplehspace{-0.45em}
instead ofhspace{-4.3pt}
– samcarter
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
add a comment |
One can always build a symbol by himself (thanks to samcarter, this is a scalable version):
documentclass[margin=1mm]{standalone}
usepackage{graphicx}
usepackage{amssymb}
newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
begin{document}
$1yoursymbol2$ {Huge $1yoursymbol2$}
end{document}
Caution: This doesn't work in subscript. I'm trying to find some solution...
One can always build a symbol by himself (thanks to samcarter, this is a scalable version):
documentclass[margin=1mm]{standalone}
usepackage{graphicx}
usepackage{amssymb}
newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
begin{document}
$1yoursymbol2$ {Huge $1yoursymbol2$}
end{document}
Caution: This doesn't work in subscript. I'm trying to find some solution...
edited 15 hours ago
answered 16 hours ago
JouleVJouleV
8,15222153
8,15222153
2
If you use a unit that scales with the font, this will also work with other font sizes. For examplehspace{-0.45em}
instead ofhspace{-4.3pt}
– samcarter
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
add a comment |
2
If you use a unit that scales with the font, this will also work with other font sizes. For examplehspace{-0.45em}
instead ofhspace{-4.3pt}
– samcarter
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
2
2
If you use a unit that scales with the font, this will also work with other font sizes. For example
hspace{-0.45em}
instead of hspace{-4.3pt}
– samcarter
16 hours ago
If you use a unit that scales with the font, this will also work with other font sizes. For example
hspace{-0.45em}
instead of hspace{-4.3pt}
– samcarter
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
@samcarter Added! Thank you very much!
– JouleV
16 hours ago
add a comment |
CXB is a new contributor. Be nice, and check out our Code of Conduct.
CXB is a new contributor. Be nice, and check out our Code of Conduct.
CXB is a new contributor. Be nice, and check out our Code of Conduct.
CXB is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481480%2fhow-do-i-define-a-right-arrow-with-bar-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure
– sab hoque
17 hours ago
For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.
– Harald Hanche-Olsen
17 hours ago