How to type this arrow in math mode? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageHow do I write above a left-right arrow?How to draw an arrow with a different head?how to draw a vertical arrow with text over it?Arrow in text modeMath mode - bidirectional mapArrow through text in Math modestealth hook arrow in inline math?How to invert the direction of an arrow?Longer arrow over text in math modeArrow between lines in the align environment
Time to Settle Down!
Why do we need to use the builder design pattern when we can do the same thing with setters?
What does it mean that physics no longer uses mechanical models to describe phenomena?
What is "gratricide"?
What is the topology associated with the algebras for the ultrafilter monad?
Why is it faster to reheat something than it is to cook it?
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
Disembodied hand growing fangs
Maximum summed subsequences with non-adjacent items
Did Deadpool rescue all of the X-Force?
Why do we bend a book to keep it straight?
AppleTVs create a chatty alternate WiFi network
Performance gap between vector<bool> and array
What is a fractional matching?
Did Krishna say in Bhagavad Gita "I am in every living being"
Is there any word for a place full of confusion?
Is it fair for a professor to grade us on the possession of past papers?
How often does castling occur in grandmaster games?
Can anything be seen from the center of the Boötes void? How dark would it be?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
How does light 'choose' between wave and particle behaviour?
How to compare two different files line by line in unix?
An adverb for when you're not exaggerating
Is CEO the "profession" with the most psychopaths?
How to type this arrow in math mode?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageHow do I write above a left-right arrow?How to draw an arrow with a different head?how to draw a vertical arrow with text over it?Arrow in text modeMath mode - bidirectional mapArrow through text in Math modestealth hook arrow in inline math?How to invert the direction of an arrow?Longer arrow over text in math modeArrow between lines in the align environment
I need an arrow like the following:
I tried
newcommandwedgearrowmathrel/joinrelssearrow %stmaryrd
but it doesn't work well.
math-mode arrows
add a comment |
I need an arrow like the following:
I tried
newcommandwedgearrowmathrel/joinrelssearrow %stmaryrd
but it doesn't work well.
math-mode arrows
add a comment |
I need an arrow like the following:
I tried
newcommandwedgearrowmathrel/joinrelssearrow %stmaryrd
but it doesn't work well.
math-mode arrows
I need an arrow like the following:
I tried
newcommandwedgearrowmathrel/joinrelssearrow %stmaryrd
but it doesn't work well.
math-mode arrows
math-mode arrows
asked Apr 10 at 22:20
Eclipse SunEclipse Sun
1585
1585
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
No tikz
...works across math styles.
documentclassarticle
usepackagescalerel,stmaryrd
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline$scalerel%
ooalignkern.05pt/cr/mkern-8.5mussearrow$
newcommandwedgearrowmathrelscalerel*%
useboxwedgearrowbaselineX %stmaryrd
begindocument
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
enddocument
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.
documentclassarticle
usepackagetikz
usepackageamsmath
makeatletter
DeclareRobustCommandcheckbold[1]% https://tex.stackexchange.com/a/24635/121799
edef@tempamath@versionedef@tempbbold%
ifx@tempa@tempb%
def#11%
else
def#10%
fi
makeatother
tikzsetwedge arrow/.style=->,line cap=round,line join=round
newcommandwedgearrowcheckboldtmp%
ensuremathmathrel%
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);
begindocument
$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
boldmath$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
unboldmath
enddocument
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
Apr 10 at 23:07
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
Apr 11 at 0:00
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@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
Apr 11 at 2:55
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
|
show 1 more 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.
documentclassarticle
usepackageamsmath
usepackagestmaryrd
usepackagegraphicx
makeatletter
newcommandwedgearrowmathrelmathpalettewedge@arrowrelax
newcommandwedge@arrow[2]%
begingroup
sboxz@$m@th#1ssearrow$%
sboxtw@resizebox!dimexprhtz@+dpz@raiseboxdepth$m@th#1/$%
raisebox-dpz@scalebox1.1[1]boxtw@% slash
mathchoicemkern-2.5mumkern-2.5mumkern-3mumkern-3.5mu%
boxz@ % arrow
endgroup
makeatother
begindocument
$Kwedgearrow L_Kwedgearrow L_Kwedgearrow L$
Huge$Kwedgearrow L$
enddocument
add a comment |
I think you could do something like that:
documentclassscrartcl
usepackagetikz
newlengthtextsize
makeatletter
setlengthtextsizef@size pt
makeatother
newcommandwedgearrow%
resizebox ! textsize
begintikzpicture
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
endtikzpicture
begindocument
Hi this wedgearrow is a wedgearrow
enddocument
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
);
);
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.
documentclassarticle
usepackagescalerel,stmaryrd
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline$scalerel%
ooalignkern.05pt/cr/mkern-8.5mussearrow$
newcommandwedgearrowmathrelscalerel*%
useboxwedgearrowbaselineX %stmaryrd
begindocument
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
enddocument
add a comment |
No tikz
...works across math styles.
documentclassarticle
usepackagescalerel,stmaryrd
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline$scalerel%
ooalignkern.05pt/cr/mkern-8.5mussearrow$
newcommandwedgearrowmathrelscalerel*%
useboxwedgearrowbaselineX %stmaryrd
begindocument
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
enddocument
add a comment |
No tikz
...works across math styles.
documentclassarticle
usepackagescalerel,stmaryrd
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline$scalerel%
ooalignkern.05pt/cr/mkern-8.5mussearrow$
newcommandwedgearrowmathrelscalerel*%
useboxwedgearrowbaselineX %stmaryrd
begindocument
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
enddocument
No tikz
...works across math styles.
documentclassarticle
usepackagescalerel,stmaryrd
newsaveboxwedgearrowbaseline
saveboxwedgearrowbaseline$scalerel%
ooalignkern.05pt/cr/mkern-8.5mussearrow$
newcommandwedgearrowmathrelscalerel*%
useboxwedgearrowbaselineX %stmaryrd
begindocument
$Kwedgearrow L$
$scriptstyle Kwedgearrow L$
$scriptscriptstyle Kwedgearrow L$
enddocument
edited Apr 11 at 2:50
answered Apr 11 at 2:30
Steven B. SegletesSteven B. Segletes
163k9206419
163k9206419
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.
documentclassarticle
usepackagetikz
usepackageamsmath
makeatletter
DeclareRobustCommandcheckbold[1]% https://tex.stackexchange.com/a/24635/121799
edef@tempamath@versionedef@tempbbold%
ifx@tempa@tempb%
def#11%
else
def#10%
fi
makeatother
tikzsetwedge arrow/.style=->,line cap=round,line join=round
newcommandwedgearrowcheckboldtmp%
ensuremathmathrel%
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);
begindocument
$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
boldmath$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
unboldmath
enddocument
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
Apr 10 at 23:07
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
Apr 11 at 0:00
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@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
Apr 11 at 2:55
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
|
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.
documentclassarticle
usepackagetikz
usepackageamsmath
makeatletter
DeclareRobustCommandcheckbold[1]% https://tex.stackexchange.com/a/24635/121799
edef@tempamath@versionedef@tempbbold%
ifx@tempa@tempb%
def#11%
else
def#10%
fi
makeatother
tikzsetwedge arrow/.style=->,line cap=round,line join=round
newcommandwedgearrowcheckboldtmp%
ensuremathmathrel%
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);
begindocument
$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
boldmath$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
unboldmath
enddocument
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
Apr 10 at 23:07
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
Apr 11 at 0:00
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@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
Apr 11 at 2:55
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
|
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.
documentclassarticle
usepackagetikz
usepackageamsmath
makeatletter
DeclareRobustCommandcheckbold[1]% https://tex.stackexchange.com/a/24635/121799
edef@tempamath@versionedef@tempbbold%
ifx@tempa@tempb%
def#11%
else
def#10%
fi
makeatother
tikzsetwedge arrow/.style=->,line cap=round,line join=round
newcommandwedgearrowcheckboldtmp%
ensuremathmathrel%
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);
begindocument
$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
boldmath$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
unboldmath
enddocument
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.
documentclassarticle
usepackagetikz
usepackageamsmath
makeatletter
DeclareRobustCommandcheckbold[1]% https://tex.stackexchange.com/a/24635/121799
edef@tempamath@versionedef@tempbbold%
ifx@tempa@tempb%
def#11%
else
def#10%
fi
makeatother
tikzsetwedge arrow/.style=->,line cap=round,line join=round
newcommandwedgearrowcheckboldtmp%
ensuremathmathrel%
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);
begindocument
$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
boldmath$Awedgearrow B_Cwedgearrow D$ Large $Awedgearrow B_Cwedgearrow D$
unboldmath
enddocument
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 Apr 11 at 8:05
answered Apr 10 at 23:04
marmotmarmot
119k6154289
119k6154289
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
Apr 10 at 23:07
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
Apr 11 at 0:00
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@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
Apr 11 at 2:55
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
|
show 1 more comment
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
Apr 10 at 23:07
Thanks! Should we use something likemathrel
so that the spacing looks better?
– Eclipse Sun
Apr 11 at 0:00
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@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
Apr 11 at 2:55
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
Apr 10 at 23:07
looks a bit smarter than mine. But it is harder to understand.
– Ahrtaler
Apr 10 at 23:07
Thanks! Should we use something like
mathrel
so that the spacing looks better?– Eclipse Sun
Apr 11 at 0:00
Thanks! Should we use something like
mathrel
so that the spacing looks better?– Eclipse Sun
Apr 11 at 0:00
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@EclipseSun Yes, that's a great suggestion!
– marmot
Apr 11 at 2:09
@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
Apr 11 at 2:55
@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
Apr 11 at 2:55
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
Don't the default arrows (in CM at least) have round line caps instead of flat?
– Joey
Apr 11 at 5:58
|
show 1 more 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.
documentclassarticle
usepackageamsmath
usepackagestmaryrd
usepackagegraphicx
makeatletter
newcommandwedgearrowmathrelmathpalettewedge@arrowrelax
newcommandwedge@arrow[2]%
begingroup
sboxz@$m@th#1ssearrow$%
sboxtw@resizebox!dimexprhtz@+dpz@raiseboxdepth$m@th#1/$%
raisebox-dpz@scalebox1.1[1]boxtw@% slash
mathchoicemkern-2.5mumkern-2.5mumkern-3mumkern-3.5mu%
boxz@ % arrow
endgroup
makeatother
begindocument
$Kwedgearrow L_Kwedgearrow L_Kwedgearrow L$
Huge$Kwedgearrow L$
enddocument
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.
documentclassarticle
usepackageamsmath
usepackagestmaryrd
usepackagegraphicx
makeatletter
newcommandwedgearrowmathrelmathpalettewedge@arrowrelax
newcommandwedge@arrow[2]%
begingroup
sboxz@$m@th#1ssearrow$%
sboxtw@resizebox!dimexprhtz@+dpz@raiseboxdepth$m@th#1/$%
raisebox-dpz@scalebox1.1[1]boxtw@% slash
mathchoicemkern-2.5mumkern-2.5mumkern-3mumkern-3.5mu%
boxz@ % arrow
endgroup
makeatother
begindocument
$Kwedgearrow L_Kwedgearrow L_Kwedgearrow L$
Huge$Kwedgearrow L$
enddocument
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.
documentclassarticle
usepackageamsmath
usepackagestmaryrd
usepackagegraphicx
makeatletter
newcommandwedgearrowmathrelmathpalettewedge@arrowrelax
newcommandwedge@arrow[2]%
begingroup
sboxz@$m@th#1ssearrow$%
sboxtw@resizebox!dimexprhtz@+dpz@raiseboxdepth$m@th#1/$%
raisebox-dpz@scalebox1.1[1]boxtw@% slash
mathchoicemkern-2.5mumkern-2.5mumkern-3mumkern-3.5mu%
boxz@ % arrow
endgroup
makeatother
begindocument
$Kwedgearrow L_Kwedgearrow L_Kwedgearrow L$
Huge$Kwedgearrow L$
enddocument
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.
documentclassarticle
usepackageamsmath
usepackagestmaryrd
usepackagegraphicx
makeatletter
newcommandwedgearrowmathrelmathpalettewedge@arrowrelax
newcommandwedge@arrow[2]%
begingroup
sboxz@$m@th#1ssearrow$%
sboxtw@resizebox!dimexprhtz@+dpz@raiseboxdepth$m@th#1/$%
raisebox-dpz@scalebox1.1[1]boxtw@% slash
mathchoicemkern-2.5mumkern-2.5mumkern-3mumkern-3.5mu%
boxz@ % arrow
endgroup
makeatother
begindocument
$Kwedgearrow L_Kwedgearrow L_Kwedgearrow L$
Huge$Kwedgearrow L$
enddocument
answered Apr 11 at 9:22
egregegreg
735k8919343257
735k8919343257
add a comment |
add a comment |
I think you could do something like that:
documentclassscrartcl
usepackagetikz
newlengthtextsize
makeatletter
setlengthtextsizef@size pt
makeatother
newcommandwedgearrow%
resizebox ! textsize
begintikzpicture
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
endtikzpicture
begindocument
Hi this wedgearrow is a wedgearrow
enddocument
add a comment |
I think you could do something like that:
documentclassscrartcl
usepackagetikz
newlengthtextsize
makeatletter
setlengthtextsizef@size pt
makeatother
newcommandwedgearrow%
resizebox ! textsize
begintikzpicture
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
endtikzpicture
begindocument
Hi this wedgearrow is a wedgearrow
enddocument
add a comment |
I think you could do something like that:
documentclassscrartcl
usepackagetikz
newlengthtextsize
makeatletter
setlengthtextsizef@size pt
makeatother
newcommandwedgearrow%
resizebox ! textsize
begintikzpicture
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
endtikzpicture
begindocument
Hi this wedgearrow is a wedgearrow
enddocument
I think you could do something like that:
documentclassscrartcl
usepackagetikz
newlengthtextsize
makeatletter
setlengthtextsizef@size pt
makeatother
newcommandwedgearrow%
resizebox ! textsize
begintikzpicture
draw[->, line width = 2pt] (0,0) -- (.5,1) -- (1,0);
endtikzpicture
begindocument
Hi this wedgearrow is a wedgearrow
enddocument
answered Apr 10 at 22:56
AhrtalerAhrtaler
26616
26616
add a comment |
add a comment |
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