How to type this arrow in math mode?
I need an arrow like the following:
I tried
newcommand{wedgearrow}{mathrel{/}joinrelssearrow} %stmaryrd
but it doesn't work well.
math-mode arrows
New contributor
add a comment |
I need an arrow like the following:
I tried
newcommand{wedgearrow}{mathrel{/}joinrelssearrow} %stmaryrd
but it doesn't work well.
math-mode arrows
New contributor
add a comment |
I need an arrow like the following:
I tried
newcommand{wedgearrow}{mathrel{/}joinrelssearrow} %stmaryrd
but it doesn't work well.
math-mode arrows
New contributor
I need an arrow like the following:
I tried
newcommand{wedgearrow}{mathrel{/}joinrelssearrow} %stmaryrd
but it doesn't work well.
math-mode arrows
math-mode arrows
New contributor
New contributor
New contributor
asked yesterday
Eclipse SunEclipse Sun
1484
1484
New contributor
New contributor
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
No tikz
...works across math styles.
documentclass{article}
usepackage{scalerel,stmaryrd}
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline{$scalerel{%
ooalign{kern.05pt/cr/}mkern-8.5mu}{ssearrow}$}
newcommand{wedgearrow}{mathrel{scalerel*{%
usebox{wedgearrowbaseline}}{X}}} %stmaryrd
begin{document}
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
end{document}
add a comment |
Similar to Ahrtaler's answer, the difference being that it also cooperates with subscripts (and all math styles) and becomes bold if one is in bold mode. I recommend this thread for further reading.
documentclass{article}
usepackage{tikz}
usepackage{amsmath}
makeatletter
DeclareRobustCommand{checkbold}[1]{% https://tex.stackexchange.com/a/24635/121799
edef@tempa{math@version}edef@tempb{bold}%
ifx@tempa@tempb%
def#1{1}%
else
def#1{0}%
fi}
makeatother
tikzset{wedge arrow/.style={->,line cap=round,line join=round}}
newcommand{wedgearrow}{checkboldtmp%
ensuremath{mathrel{%
mathchoice{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.075ex]{draw[line width={(1+0.33*tmp)*0.045em},wedge arrow](0,0) -- (60:0.45em) -- ++(-60:0.45em);}
}{%
tikz[baseline=-0.06ex]{draw[line width={(1+0.33*tmp)*0.035em},wedge arrow](0,0) -- (60:0.35em) -- ++ (-60:0.35em);}
}}}}
begin{document}
$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
boldmath$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
unboldmath
end{document}
EDITs:
- added
mathrel
at Eclipse Sun's suggestion. - Made the macro detect the font weight, too, so the arrow goes bold in
boldmath
orboldsymbol
, just like the standard arrows. - Added round line caps and joins, motivated by Joey's comment.
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
|
show 1 more comment
I think you could do something like that:
documentclass{scrartcl}
usepackage{tikz}
newlength{textsize}
makeatletter
setlength{textsize}{f@size pt}
makeatother
newcommand{wedgearrow}{%
resizebox {!} {textsize} {
begin{tikzpicture}
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
end{tikzpicture}}
}
begin{document}
Hi this wedgearrow is a wedgearrow
end{document}
add a comment |
With mathpalette
: the slash is resized to the same vertical size as the arrow, a bit widened for compensating the stroke width and vertically placed to fit.
Some manual adjustment is needed for getting the tops to meet.
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
usepackage{graphicx}
makeatletter
newcommand{wedgearrow}{mathrel{mathpalettewedge@arrowrelax}}
newcommand{wedge@arrow}[2]{%
begingroup
sboxz@{$m@th#1ssearrow$}%
sboxtw@{resizebox{!}{dimexprhtz@+dpz@}{raisebox{depth}{$m@th#1/$}}}%
raisebox{-dpz@}{scalebox{1.1}[1]{boxtw@}}% slash
mathchoice{mkern-2.5mu}{mkern-2.5mu}{mkern-3mu}{mkern-3.5mu}%
boxz@ % arrow
endgroup
}
makeatother
begin{document}
$Kwedgearrow L_{Kwedgearrow L_{Kwedgearrow L}}$
{Huge$Kwedgearrow L$}
end{document}
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
});
}
});
Eclipse Sun 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%2f484215%2fhow-to-type-this-arrow-in-math-mode%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
No tikz
...works across math styles.
documentclass{article}
usepackage{scalerel,stmaryrd}
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline{$scalerel{%
ooalign{kern.05pt/cr/}mkern-8.5mu}{ssearrow}$}
newcommand{wedgearrow}{mathrel{scalerel*{%
usebox{wedgearrowbaseline}}{X}}} %stmaryrd
begin{document}
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
end{document}
add a comment |
No tikz
...works across math styles.
documentclass{article}
usepackage{scalerel,stmaryrd}
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline{$scalerel{%
ooalign{kern.05pt/cr/}mkern-8.5mu}{ssearrow}$}
newcommand{wedgearrow}{mathrel{scalerel*{%
usebox{wedgearrowbaseline}}{X}}} %stmaryrd
begin{document}
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
end{document}
add a comment |
No tikz
...works across math styles.
documentclass{article}
usepackage{scalerel,stmaryrd}
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline{$scalerel{%
ooalign{kern.05pt/cr/}mkern-8.5mu}{ssearrow}$}
newcommand{wedgearrow}{mathrel{scalerel*{%
usebox{wedgearrowbaseline}}{X}}} %stmaryrd
begin{document}
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
end{document}
No tikz
...works across math styles.
documentclass{article}
usepackage{scalerel,stmaryrd}
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline{$scalerel{%
ooalign{kern.05pt/cr/}mkern-8.5mu}{ssearrow}$}
newcommand{wedgearrow}{mathrel{scalerel*{%
usebox{wedgearrowbaseline}}{X}}} %stmaryrd
begin{document}
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
end{document}
edited yesterday
answered yesterday
Steven B. SegletesSteven B. Segletes
161k9206417
161k9206417
add a comment |
add a comment |
Similar to Ahrtaler's answer, the difference being that it also cooperates with subscripts (and all math styles) and becomes bold if one is in bold mode. I recommend this thread for further reading.
documentclass{article}
usepackage{tikz}
usepackage{amsmath}
makeatletter
DeclareRobustCommand{checkbold}[1]{% https://tex.stackexchange.com/a/24635/121799
edef@tempa{math@version}edef@tempb{bold}%
ifx@tempa@tempb%
def#1{1}%
else
def#1{0}%
fi}
makeatother
tikzset{wedge arrow/.style={->,line cap=round,line join=round}}
newcommand{wedgearrow}{checkboldtmp%
ensuremath{mathrel{%
mathchoice{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.075ex]{draw[line width={(1+0.33*tmp)*0.045em},wedge arrow](0,0) -- (60:0.45em) -- ++(-60:0.45em);}
}{%
tikz[baseline=-0.06ex]{draw[line width={(1+0.33*tmp)*0.035em},wedge arrow](0,0) -- (60:0.35em) -- ++ (-60:0.35em);}
}}}}
begin{document}
$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
boldmath$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
unboldmath
end{document}
EDITs:
- added
mathrel
at Eclipse Sun's suggestion. - Made the macro detect the font weight, too, so the arrow goes bold in
boldmath
orboldsymbol
, just like the standard arrows. - Added round line caps and joins, motivated by Joey's comment.
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
|
show 1 more comment
Similar to Ahrtaler's answer, the difference being that it also cooperates with subscripts (and all math styles) and becomes bold if one is in bold mode. I recommend this thread for further reading.
documentclass{article}
usepackage{tikz}
usepackage{amsmath}
makeatletter
DeclareRobustCommand{checkbold}[1]{% https://tex.stackexchange.com/a/24635/121799
edef@tempa{math@version}edef@tempb{bold}%
ifx@tempa@tempb%
def#1{1}%
else
def#1{0}%
fi}
makeatother
tikzset{wedge arrow/.style={->,line cap=round,line join=round}}
newcommand{wedgearrow}{checkboldtmp%
ensuremath{mathrel{%
mathchoice{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.075ex]{draw[line width={(1+0.33*tmp)*0.045em},wedge arrow](0,0) -- (60:0.45em) -- ++(-60:0.45em);}
}{%
tikz[baseline=-0.06ex]{draw[line width={(1+0.33*tmp)*0.035em},wedge arrow](0,0) -- (60:0.35em) -- ++ (-60:0.35em);}
}}}}
begin{document}
$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
boldmath$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
unboldmath
end{document}
EDITs:
- added
mathrel
at Eclipse Sun's suggestion. - Made the macro detect the font weight, too, so the arrow goes bold in
boldmath
orboldsymbol
, just like the standard arrows. - Added round line caps and joins, motivated by Joey's comment.
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
|
show 1 more comment
Similar to Ahrtaler's answer, the difference being that it also cooperates with subscripts (and all math styles) and becomes bold if one is in bold mode. I recommend this thread for further reading.
documentclass{article}
usepackage{tikz}
usepackage{amsmath}
makeatletter
DeclareRobustCommand{checkbold}[1]{% https://tex.stackexchange.com/a/24635/121799
edef@tempa{math@version}edef@tempb{bold}%
ifx@tempa@tempb%
def#1{1}%
else
def#1{0}%
fi}
makeatother
tikzset{wedge arrow/.style={->,line cap=round,line join=round}}
newcommand{wedgearrow}{checkboldtmp%
ensuremath{mathrel{%
mathchoice{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.075ex]{draw[line width={(1+0.33*tmp)*0.045em},wedge arrow](0,0) -- (60:0.45em) -- ++(-60:0.45em);}
}{%
tikz[baseline=-0.06ex]{draw[line width={(1+0.33*tmp)*0.035em},wedge arrow](0,0) -- (60:0.35em) -- ++ (-60:0.35em);}
}}}}
begin{document}
$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
boldmath$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
unboldmath
end{document}
EDITs:
- added
mathrel
at Eclipse Sun's suggestion. - Made the macro detect the font weight, too, so the arrow goes bold in
boldmath
orboldsymbol
, just like the standard arrows. - Added round line caps and joins, motivated by Joey's comment.
Similar to Ahrtaler's answer, the difference being that it also cooperates with subscripts (and all math styles) and becomes bold if one is in bold mode. I recommend this thread for further reading.
documentclass{article}
usepackage{tikz}
usepackage{amsmath}
makeatletter
DeclareRobustCommand{checkbold}[1]{% https://tex.stackexchange.com/a/24635/121799
edef@tempa{math@version}edef@tempb{bold}%
ifx@tempa@tempb%
def#1{1}%
else
def#1{0}%
fi}
makeatother
tikzset{wedge arrow/.style={->,line cap=round,line join=round}}
newcommand{wedgearrow}{checkboldtmp%
ensuremath{mathrel{%
mathchoice{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.1ex]{draw[line width={(1+0.33*tmp)*0.06em},wedge arrow](0,0) -- (60:0.6em) -- ++ (-60:0.6em);}
}{%
tikz[baseline=-0.075ex]{draw[line width={(1+0.33*tmp)*0.045em},wedge arrow](0,0) -- (60:0.45em) -- ++(-60:0.45em);}
}{%
tikz[baseline=-0.06ex]{draw[line width={(1+0.33*tmp)*0.035em},wedge arrow](0,0) -- (60:0.35em) -- ++ (-60:0.35em);}
}}}}
begin{document}
$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
boldmath$Awedgearrow B_{Cwedgearrow D}$ {Large $Awedgearrow B_{Cwedgearrow D}$}
unboldmath
end{document}
EDITs:
- added
mathrel
at Eclipse Sun's suggestion. - Made the macro detect the font weight, too, so the arrow goes bold in
boldmath
orboldsymbol
, just like the standard arrows. - Added round line caps and joins, motivated by Joey's comment.
edited 21 hours ago
answered yesterday
marmotmarmot
117k5150283
117k5150283
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
|
show 1 more comment
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
yesterday
Thanks! Should we use something like
mathrel
so that the spacing looks better?– Eclipse Sun
yesterday
Thanks! Should we use something like
mathrel
so that the spacing looks better?– Eclipse Sun
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Yes, that's a great suggestion!
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
@EclipseSun Now it also sees the font weight, Of course, you can change the appearance (angles, baseline, line width etc.) at will without the need to learn many commands, and the line joins and so on are automatically appealing. Loading TikZ *only for that might be a bit much, but if you are considering inventing more symbols that might be a good choice.
– marmot
yesterday
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
23 hours ago
|
show 1 more comment
I think you could do something like that:
documentclass{scrartcl}
usepackage{tikz}
newlength{textsize}
makeatletter
setlength{textsize}{f@size pt}
makeatother
newcommand{wedgearrow}{%
resizebox {!} {textsize} {
begin{tikzpicture}
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
end{tikzpicture}}
}
begin{document}
Hi this wedgearrow is a wedgearrow
end{document}
add a comment |
I think you could do something like that:
documentclass{scrartcl}
usepackage{tikz}
newlength{textsize}
makeatletter
setlength{textsize}{f@size pt}
makeatother
newcommand{wedgearrow}{%
resizebox {!} {textsize} {
begin{tikzpicture}
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
end{tikzpicture}}
}
begin{document}
Hi this wedgearrow is a wedgearrow
end{document}
add a comment |
I think you could do something like that:
documentclass{scrartcl}
usepackage{tikz}
newlength{textsize}
makeatletter
setlength{textsize}{f@size pt}
makeatother
newcommand{wedgearrow}{%
resizebox {!} {textsize} {
begin{tikzpicture}
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
end{tikzpicture}}
}
begin{document}
Hi this wedgearrow is a wedgearrow
end{document}
I think you could do something like that:
documentclass{scrartcl}
usepackage{tikz}
newlength{textsize}
makeatletter
setlength{textsize}{f@size pt}
makeatother
newcommand{wedgearrow}{%
resizebox {!} {textsize} {
begin{tikzpicture}
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
end{tikzpicture}}
}
begin{document}
Hi this wedgearrow is a wedgearrow
end{document}
answered yesterday
AhrtalerAhrtaler
1566
1566
add a comment |
add a comment |
With mathpalette
: the slash is resized to the same vertical size as the arrow, a bit widened for compensating the stroke width and vertically placed to fit.
Some manual adjustment is needed for getting the tops to meet.
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
usepackage{graphicx}
makeatletter
newcommand{wedgearrow}{mathrel{mathpalettewedge@arrowrelax}}
newcommand{wedge@arrow}[2]{%
begingroup
sboxz@{$m@th#1ssearrow$}%
sboxtw@{resizebox{!}{dimexprhtz@+dpz@}{raisebox{depth}{$m@th#1/$}}}%
raisebox{-dpz@}{scalebox{1.1}[1]{boxtw@}}% slash
mathchoice{mkern-2.5mu}{mkern-2.5mu}{mkern-3mu}{mkern-3.5mu}%
boxz@ % arrow
endgroup
}
makeatother
begin{document}
$Kwedgearrow L_{Kwedgearrow L_{Kwedgearrow L}}$
{Huge$Kwedgearrow L$}
end{document}
add a comment |
With mathpalette
: the slash is resized to the same vertical size as the arrow, a bit widened for compensating the stroke width and vertically placed to fit.
Some manual adjustment is needed for getting the tops to meet.
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
usepackage{graphicx}
makeatletter
newcommand{wedgearrow}{mathrel{mathpalettewedge@arrowrelax}}
newcommand{wedge@arrow}[2]{%
begingroup
sboxz@{$m@th#1ssearrow$}%
sboxtw@{resizebox{!}{dimexprhtz@+dpz@}{raisebox{depth}{$m@th#1/$}}}%
raisebox{-dpz@}{scalebox{1.1}[1]{boxtw@}}% slash
mathchoice{mkern-2.5mu}{mkern-2.5mu}{mkern-3mu}{mkern-3.5mu}%
boxz@ % arrow
endgroup
}
makeatother
begin{document}
$Kwedgearrow L_{Kwedgearrow L_{Kwedgearrow L}}$
{Huge$Kwedgearrow L$}
end{document}
add a comment |
With mathpalette
: the slash is resized to the same vertical size as the arrow, a bit widened for compensating the stroke width and vertically placed to fit.
Some manual adjustment is needed for getting the tops to meet.
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
usepackage{graphicx}
makeatletter
newcommand{wedgearrow}{mathrel{mathpalettewedge@arrowrelax}}
newcommand{wedge@arrow}[2]{%
begingroup
sboxz@{$m@th#1ssearrow$}%
sboxtw@{resizebox{!}{dimexprhtz@+dpz@}{raisebox{depth}{$m@th#1/$}}}%
raisebox{-dpz@}{scalebox{1.1}[1]{boxtw@}}% slash
mathchoice{mkern-2.5mu}{mkern-2.5mu}{mkern-3mu}{mkern-3.5mu}%
boxz@ % arrow
endgroup
}
makeatother
begin{document}
$Kwedgearrow L_{Kwedgearrow L_{Kwedgearrow L}}$
{Huge$Kwedgearrow L$}
end{document}
With mathpalette
: the slash is resized to the same vertical size as the arrow, a bit widened for compensating the stroke width and vertically placed to fit.
Some manual adjustment is needed for getting the tops to meet.
documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}
usepackage{graphicx}
makeatletter
newcommand{wedgearrow}{mathrel{mathpalettewedge@arrowrelax}}
newcommand{wedge@arrow}[2]{%
begingroup
sboxz@{$m@th#1ssearrow$}%
sboxtw@{resizebox{!}{dimexprhtz@+dpz@}{raisebox{depth}{$m@th#1/$}}}%
raisebox{-dpz@}{scalebox{1.1}[1]{boxtw@}}% slash
mathchoice{mkern-2.5mu}{mkern-2.5mu}{mkern-3mu}{mkern-3.5mu}%
boxz@ % arrow
endgroup
}
makeatother
begin{document}
$Kwedgearrow L_{Kwedgearrow L_{Kwedgearrow L}}$
{Huge$Kwedgearrow L$}
end{document}
answered 20 hours ago
egregegreg
733k8919313256
733k8919313256
add a comment |
add a comment |
Eclipse Sun is a new contributor. Be nice, and check out our Code of Conduct.
Eclipse Sun is a new contributor. Be nice, and check out our Code of Conduct.
Eclipse Sun is a new contributor. Be nice, and check out our Code of Conduct.
Eclipse Sun 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%2f484215%2fhow-to-type-this-arrow-in-math-mode%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