How to type this arrow in math mode? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 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
If A makes B more likely then B makes A more likely"
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
How to rotate it perfectly?
Antler Helmet: Can it work?
What can I do if my MacBook isn’t charging but already ran out?
Cold is to Refrigerator as warm is to?
If I can make up priors, why can't I make up posteriors?
Strange behaviour of Check
When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?
How do I keep my slimes from escaping their pens?
Mortgage adviser recommends a longer term than necessary combined with overpayments
Notation for two qubit composite product state
What LEGO pieces have "real-world" functionality?
Do working physicists consider Newtonian mechanics to be "falsified"?
Active filter with series inductor and resistor - do these exist?
Single author papers against my advisor's will?
Geometric mean and geometric standard deviation
Using "nakedly" instead of "with nothing on"
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Determine whether f is a function, an injection, a surjection
Are my PIs rude or am I just being too sensitive?
Limit for e and 1/e
Windows 10: How to Lock (not sleep) laptop on lid close?
Working around an AWS network ACL rule limit
How to type this arrow in math mode?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 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
New contributor
add a comment |
I need an arrow like the following:
I tried
newcommandwedgearrowmathrel/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
newcommandwedgearrowmathrel/joinrelssearrow %stmaryrd
but it doesn't work well.
math-mode arrows
New contributor
I need an arrow like the following:
I tried
newcommandwedgearrowmathrel/joinrelssearrow %stmaryrd
but it doesn't work well.
math-mode arrows
math-mode arrows
New contributor
New contributor
New contributor
asked Apr 10 at 22:20
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.
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
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 |
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 |
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.
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
162k9206418
162k9206418
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
118k6151284
118k6151284
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
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
25616
25616
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.
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
734k8919333257
734k8919333257
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