How to make a small $varhexagon$ in latex?How can I change the size of one symbol in an equation?Should running-text numbers be typeset with math mode?Text mode commands/symbols in math modeWhy does textbackslash render as “n” in math mode?Keep margins in latex when using inline maths equations for small equationsFont size inside subequations environment!How to reduce font size in equation for textUsing math mode?Full size integral symbol in captionSmaller font for subscript within subscript in math modeHow to make the symbols look neater
Why is the principal energy of an electron lower for excited electrons in a higher energy state?
Do I have to know the General Relativity theory to understand the concept of inertial frame?
How do I Interface a PS/2 Keyboard without Modern Techniques?
Does the Crossbow Expert feat's extra crossbow attack work with the reaction attack from a Hunter ranger's Giant Killer feature?
Typing CO_2 easily
Echo with obfuscation
Showing mass murder in a kid's book
El Dorado Word Puzzle II: Videogame Edition
Can I cause damage to electrical appliances by unplugging them when they are turned on?
What does "tick" mean in this sentence?
"Oh no!" in Latin
How to make money from a browser who sees 5 seconds into the future of any web page?
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Isometric embedding of a genus g surface
Sigmoid with a slope but no asymptotes?
Is it feasible to let a newcomer play the "Gandalf"-like figure I created for my campaign?
Has the laser at Magurele, Romania reached a tenth of the Sun's power?
How would a solely written language work mechanically
Is there a distance limit for minecart tracks?
Deciphering cause of death?
What is this high flying aircraft over Pennsylvania?
Why does the Persian emissary display a string of crowned skulls?
What (the heck) is a Super Worm Equinox Moon?
Mimic lecturing on blackboard, facing audience
How to make a small $varhexagon$ in latex?
How can I change the size of one symbol in an equation?Should running-text numbers be typeset with math mode?Text mode commands/symbols in math modeWhy does textbackslash render as “n” in math mode?Keep margins in latex when using inline maths equations for small equationsFont size inside subequations environment!How to reduce font size in equation for textUsing math mode?Full size integral symbol in captionSmaller font for subscript within subscript in math modeHow to make the symbols look neater
I would like to have a command that shrinks down the size of $varhexagon$
from the wasysym package in latex to a very small size.
In principle, $tiny varhexagon$
does what I want, but apparently the command "tiny
" is not allowed in math mode.
Is there a way to circumvent this?-Note that scriptscriptstyle
does not seem to give the same size as tiny
.
In short, I want a command that does the same as $A_tiny varhexagon$
but does not use the illegal command tiny
.
math-mode symbols amsmath math-operators
New contributor
add a comment |
I would like to have a command that shrinks down the size of $varhexagon$
from the wasysym package in latex to a very small size.
In principle, $tiny varhexagon$
does what I want, but apparently the command "tiny
" is not allowed in math mode.
Is there a way to circumvent this?-Note that scriptscriptstyle
does not seem to give the same size as tiny
.
In short, I want a command that does the same as $A_tiny varhexagon$
but does not use the illegal command tiny
.
math-mode symbols amsmath math-operators
New contributor
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
yesterday
@J.Doe scale totiny
or tolarge
is the same concept.
– CarLaTeX
23 hours ago
add a comment |
I would like to have a command that shrinks down the size of $varhexagon$
from the wasysym package in latex to a very small size.
In principle, $tiny varhexagon$
does what I want, but apparently the command "tiny
" is not allowed in math mode.
Is there a way to circumvent this?-Note that scriptscriptstyle
does not seem to give the same size as tiny
.
In short, I want a command that does the same as $A_tiny varhexagon$
but does not use the illegal command tiny
.
math-mode symbols amsmath math-operators
New contributor
I would like to have a command that shrinks down the size of $varhexagon$
from the wasysym package in latex to a very small size.
In principle, $tiny varhexagon$
does what I want, but apparently the command "tiny
" is not allowed in math mode.
Is there a way to circumvent this?-Note that scriptscriptstyle
does not seem to give the same size as tiny
.
In short, I want a command that does the same as $A_tiny varhexagon$
but does not use the illegal command tiny
.
math-mode symbols amsmath math-operators
math-mode symbols amsmath math-operators
New contributor
New contributor
edited 20 hours ago
Superuser27
70816
70816
New contributor
asked yesterday
J.DoeJ.Doe
183
183
New contributor
New contributor
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
yesterday
@J.Doe scale totiny
or tolarge
is the same concept.
– CarLaTeX
23 hours ago
add a comment |
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
yesterday
@J.Doe scale totiny
or tolarge
is the same concept.
– CarLaTeX
23 hours ago
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
yesterday
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
yesterday
@J.Doe scale to
tiny
or to large
is the same concept.– CarLaTeX
23 hours ago
@J.Doe scale to
tiny
or to large
is the same concept.– CarLaTeX
23 hours ago
add a comment |
4 Answers
4
active
oldest
votes
Indeed, tiny
is a text mode command and thus is not allowed in math mode.
What you may be looking for is
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
where scalebox
is a macro provided by the graphic
package and vcenter
and hbox
are TeX "primitive". tiny
corresponds to a linear reduction in font size of 50%; hence the 0.5
scaling factor. With this definition, the tiny hexagon is centered vertically on the math axis. If you would rather have the resized symbol placed on the baseline, just omit the vcenterhbox...
"wrapper".
documentclassarticle
usepackagewasysym % for "varhexagon" macro
usepackagegraphicx% for "scalebox" macro
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
% ("vcenter" and "hbox" are TeX primitives)
begindocument
$avarhexagon a$ $atinyvarhexagon a$ $ascalebox0.5$varhexagon$ a$
$A_varhexagon$ $A_tinyvarhexagon$ $A_scalebox0.5$varhexagon$$
enddocument
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
add a comment |
You can load the font with a different scaling factor:
documentclassarticle
usepackagewasysym % just for comparison
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
DeclareFontShapeUwasysmallbn
<-5.5> s*[0.75] wasyb5
<5.5-6.5> s*[0.75] wasyb6
<6.5-7.5> s*[0.75] wasyb7
<7.5-8.5> s*[0.75] wasyb8
<8.5-9.5> s*[0.75] wasyb9
<9.5-> s*[0.75] wasyb10
DeclareFontShapeUwasysmallbxn <-> sub * wasysmall/b/n
DeclareSymbolFontwasysmallUwasysmallmn
SetSymbolFontwasysmallboldUwasysmallbn
DeclareMathSymbolsmallhexagonmathordwasysmall57
begindocument
tinyvarhexagon $scriptstylesmallhexagon$ $A_smallhexagon$
enddocument
Note that loading wasysym
is not required, I did just for the comparison.
You can avoid wasting a symbol font:
documentclassarticle
usepackageamsmath
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
newcommandsmallhexagontextusefontUwasysmallmnsymbol57
begindocument
$A_smallhexagon$
enddocument
If you just need the symbol to change size in subscripts, you can do in a different way:
documentclassarticle
usepackageamsmath
usepackagewasysym
DeclareMathSymbolmhexagonmathordwasy57
begindocument
$A_varhexagon$ (wrong)
$A_mhexagon$
enddocument
add a comment |
As you can see, this approach works for both smaller text sizes as well as smaller math sizes.
documentclassarticle
usepackagewasysym,scalerel,lmodern
newcommandxvarhexagonscaletovarhexagon1.4LMex
begindocument
$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
small$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
footnotesize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
scriptsize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
tiny$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
normalsize$x_xvarhexagon =3xvarhexagon y$
enddocument
add a comment |
The amsmath
package also provides the text
command which allows text mode commands inside math mode without warnings (see also the answer by @egreg above).
MWE:
documentclassarticle
usepackageamsmath
usepackagewasysym
begindocument
Atinyvarhexagon
$A_texttinyvarhexagon$
enddocument
Result:
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
);
);
J.Doe 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%2f480418%2fhow-to-make-a-small-varhexagon-in-latex%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
Indeed, tiny
is a text mode command and thus is not allowed in math mode.
What you may be looking for is
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
where scalebox
is a macro provided by the graphic
package and vcenter
and hbox
are TeX "primitive". tiny
corresponds to a linear reduction in font size of 50%; hence the 0.5
scaling factor. With this definition, the tiny hexagon is centered vertically on the math axis. If you would rather have the resized symbol placed on the baseline, just omit the vcenterhbox...
"wrapper".
documentclassarticle
usepackagewasysym % for "varhexagon" macro
usepackagegraphicx% for "scalebox" macro
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
% ("vcenter" and "hbox" are TeX primitives)
begindocument
$avarhexagon a$ $atinyvarhexagon a$ $ascalebox0.5$varhexagon$ a$
$A_varhexagon$ $A_tinyvarhexagon$ $A_scalebox0.5$varhexagon$$
enddocument
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
add a comment |
Indeed, tiny
is a text mode command and thus is not allowed in math mode.
What you may be looking for is
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
where scalebox
is a macro provided by the graphic
package and vcenter
and hbox
are TeX "primitive". tiny
corresponds to a linear reduction in font size of 50%; hence the 0.5
scaling factor. With this definition, the tiny hexagon is centered vertically on the math axis. If you would rather have the resized symbol placed on the baseline, just omit the vcenterhbox...
"wrapper".
documentclassarticle
usepackagewasysym % for "varhexagon" macro
usepackagegraphicx% for "scalebox" macro
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
% ("vcenter" and "hbox" are TeX primitives)
begindocument
$avarhexagon a$ $atinyvarhexagon a$ $ascalebox0.5$varhexagon$ a$
$A_varhexagon$ $A_tinyvarhexagon$ $A_scalebox0.5$varhexagon$$
enddocument
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
add a comment |
Indeed, tiny
is a text mode command and thus is not allowed in math mode.
What you may be looking for is
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
where scalebox
is a macro provided by the graphic
package and vcenter
and hbox
are TeX "primitive". tiny
corresponds to a linear reduction in font size of 50%; hence the 0.5
scaling factor. With this definition, the tiny hexagon is centered vertically on the math axis. If you would rather have the resized symbol placed on the baseline, just omit the vcenterhbox...
"wrapper".
documentclassarticle
usepackagewasysym % for "varhexagon" macro
usepackagegraphicx% for "scalebox" macro
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
% ("vcenter" and "hbox" are TeX primitives)
begindocument
$avarhexagon a$ $atinyvarhexagon a$ $ascalebox0.5$varhexagon$ a$
$A_varhexagon$ $A_tinyvarhexagon$ $A_scalebox0.5$varhexagon$$
enddocument
Indeed, tiny
is a text mode command and thus is not allowed in math mode.
What you may be looking for is
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
where scalebox
is a macro provided by the graphic
package and vcenter
and hbox
are TeX "primitive". tiny
corresponds to a linear reduction in font size of 50%; hence the 0.5
scaling factor. With this definition, the tiny hexagon is centered vertically on the math axis. If you would rather have the resized symbol placed on the baseline, just omit the vcenterhbox...
"wrapper".
documentclassarticle
usepackagewasysym % for "varhexagon" macro
usepackagegraphicx% for "scalebox" macro
newcommandtinyvarhexagonvcenterhboxscalebox0.5$varhexagon$
% ("vcenter" and "hbox" are TeX primitives)
begindocument
$avarhexagon a$ $atinyvarhexagon a$ $ascalebox0.5$varhexagon$ a$
$A_varhexagon$ $A_tinyvarhexagon$ $A_scalebox0.5$varhexagon$$
enddocument
edited 23 hours ago
answered yesterday
MicoMico
283k31388776
283k31388776
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
add a comment |
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
well, unfortunately it does not give the same size as tiny
– J.Doe
yesterday
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
@J.Doe - Please see the updated answer.
– Mico
23 hours ago
add a comment |
You can load the font with a different scaling factor:
documentclassarticle
usepackagewasysym % just for comparison
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
DeclareFontShapeUwasysmallbn
<-5.5> s*[0.75] wasyb5
<5.5-6.5> s*[0.75] wasyb6
<6.5-7.5> s*[0.75] wasyb7
<7.5-8.5> s*[0.75] wasyb8
<8.5-9.5> s*[0.75] wasyb9
<9.5-> s*[0.75] wasyb10
DeclareFontShapeUwasysmallbxn <-> sub * wasysmall/b/n
DeclareSymbolFontwasysmallUwasysmallmn
SetSymbolFontwasysmallboldUwasysmallbn
DeclareMathSymbolsmallhexagonmathordwasysmall57
begindocument
tinyvarhexagon $scriptstylesmallhexagon$ $A_smallhexagon$
enddocument
Note that loading wasysym
is not required, I did just for the comparison.
You can avoid wasting a symbol font:
documentclassarticle
usepackageamsmath
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
newcommandsmallhexagontextusefontUwasysmallmnsymbol57
begindocument
$A_smallhexagon$
enddocument
If you just need the symbol to change size in subscripts, you can do in a different way:
documentclassarticle
usepackageamsmath
usepackagewasysym
DeclareMathSymbolmhexagonmathordwasy57
begindocument
$A_varhexagon$ (wrong)
$A_mhexagon$
enddocument
add a comment |
You can load the font with a different scaling factor:
documentclassarticle
usepackagewasysym % just for comparison
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
DeclareFontShapeUwasysmallbn
<-5.5> s*[0.75] wasyb5
<5.5-6.5> s*[0.75] wasyb6
<6.5-7.5> s*[0.75] wasyb7
<7.5-8.5> s*[0.75] wasyb8
<8.5-9.5> s*[0.75] wasyb9
<9.5-> s*[0.75] wasyb10
DeclareFontShapeUwasysmallbxn <-> sub * wasysmall/b/n
DeclareSymbolFontwasysmallUwasysmallmn
SetSymbolFontwasysmallboldUwasysmallbn
DeclareMathSymbolsmallhexagonmathordwasysmall57
begindocument
tinyvarhexagon $scriptstylesmallhexagon$ $A_smallhexagon$
enddocument
Note that loading wasysym
is not required, I did just for the comparison.
You can avoid wasting a symbol font:
documentclassarticle
usepackageamsmath
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
newcommandsmallhexagontextusefontUwasysmallmnsymbol57
begindocument
$A_smallhexagon$
enddocument
If you just need the symbol to change size in subscripts, you can do in a different way:
documentclassarticle
usepackageamsmath
usepackagewasysym
DeclareMathSymbolmhexagonmathordwasy57
begindocument
$A_varhexagon$ (wrong)
$A_mhexagon$
enddocument
add a comment |
You can load the font with a different scaling factor:
documentclassarticle
usepackagewasysym % just for comparison
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
DeclareFontShapeUwasysmallbn
<-5.5> s*[0.75] wasyb5
<5.5-6.5> s*[0.75] wasyb6
<6.5-7.5> s*[0.75] wasyb7
<7.5-8.5> s*[0.75] wasyb8
<8.5-9.5> s*[0.75] wasyb9
<9.5-> s*[0.75] wasyb10
DeclareFontShapeUwasysmallbxn <-> sub * wasysmall/b/n
DeclareSymbolFontwasysmallUwasysmallmn
SetSymbolFontwasysmallboldUwasysmallbn
DeclareMathSymbolsmallhexagonmathordwasysmall57
begindocument
tinyvarhexagon $scriptstylesmallhexagon$ $A_smallhexagon$
enddocument
Note that loading wasysym
is not required, I did just for the comparison.
You can avoid wasting a symbol font:
documentclassarticle
usepackageamsmath
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
newcommandsmallhexagontextusefontUwasysmallmnsymbol57
begindocument
$A_smallhexagon$
enddocument
If you just need the symbol to change size in subscripts, you can do in a different way:
documentclassarticle
usepackageamsmath
usepackagewasysym
DeclareMathSymbolmhexagonmathordwasy57
begindocument
$A_varhexagon$ (wrong)
$A_mhexagon$
enddocument
You can load the font with a different scaling factor:
documentclassarticle
usepackagewasysym % just for comparison
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
DeclareFontShapeUwasysmallbn
<-5.5> s*[0.75] wasyb5
<5.5-6.5> s*[0.75] wasyb6
<6.5-7.5> s*[0.75] wasyb7
<7.5-8.5> s*[0.75] wasyb8
<8.5-9.5> s*[0.75] wasyb9
<9.5-> s*[0.75] wasyb10
DeclareFontShapeUwasysmallbxn <-> sub * wasysmall/b/n
DeclareSymbolFontwasysmallUwasysmallmn
SetSymbolFontwasysmallboldUwasysmallbn
DeclareMathSymbolsmallhexagonmathordwasysmall57
begindocument
tinyvarhexagon $scriptstylesmallhexagon$ $A_smallhexagon$
enddocument
Note that loading wasysym
is not required, I did just for the comparison.
You can avoid wasting a symbol font:
documentclassarticle
usepackageamsmath
DeclareFontFamilyUwasysmall
DeclareFontShapeUwasysmallmn
<-5.5> s*[0.75] wasy5
<5.5-6.5> s*[0.75] wasy6
<6.5-7.5> s*[0.75] wasy7
<7.5-8.5> s*[0.75] wasy8
<8.5-9.5> s*[0.75] wasy9
<9.5-> s*[0.75] wasy10
newcommandsmallhexagontextusefontUwasysmallmnsymbol57
begindocument
$A_smallhexagon$
enddocument
If you just need the symbol to change size in subscripts, you can do in a different way:
documentclassarticle
usepackageamsmath
usepackagewasysym
DeclareMathSymbolmhexagonmathordwasy57
begindocument
$A_varhexagon$ (wrong)
$A_mhexagon$
enddocument
edited 21 hours ago
answered 21 hours ago
egregegreg
728k8819233233
728k8819233233
add a comment |
add a comment |
As you can see, this approach works for both smaller text sizes as well as smaller math sizes.
documentclassarticle
usepackagewasysym,scalerel,lmodern
newcommandxvarhexagonscaletovarhexagon1.4LMex
begindocument
$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
small$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
footnotesize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
scriptsize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
tiny$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
normalsize$x_xvarhexagon =3xvarhexagon y$
enddocument
add a comment |
As you can see, this approach works for both smaller text sizes as well as smaller math sizes.
documentclassarticle
usepackagewasysym,scalerel,lmodern
newcommandxvarhexagonscaletovarhexagon1.4LMex
begindocument
$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
small$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
footnotesize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
scriptsize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
tiny$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
normalsize$x_xvarhexagon =3xvarhexagon y$
enddocument
add a comment |
As you can see, this approach works for both smaller text sizes as well as smaller math sizes.
documentclassarticle
usepackagewasysym,scalerel,lmodern
newcommandxvarhexagonscaletovarhexagon1.4LMex
begindocument
$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
small$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
footnotesize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
scriptsize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
tiny$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
normalsize$x_xvarhexagon =3xvarhexagon y$
enddocument
As you can see, this approach works for both smaller text sizes as well as smaller math sizes.
documentclassarticle
usepackagewasysym,scalerel,lmodern
newcommandxvarhexagonscaletovarhexagon1.4LMex
begindocument
$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
small$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
footnotesize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
scriptsize$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
tiny$varhexagon xxvarhexagon
scriptstyle xxvarhexagon
scriptscriptstyle xxvarhexagon$
normalsize$x_xvarhexagon =3xvarhexagon y$
enddocument
answered 20 hours ago
Steven B. SegletesSteven B. Segletes
159k9204411
159k9204411
add a comment |
add a comment |
The amsmath
package also provides the text
command which allows text mode commands inside math mode without warnings (see also the answer by @egreg above).
MWE:
documentclassarticle
usepackageamsmath
usepackagewasysym
begindocument
Atinyvarhexagon
$A_texttinyvarhexagon$
enddocument
Result:
add a comment |
The amsmath
package also provides the text
command which allows text mode commands inside math mode without warnings (see also the answer by @egreg above).
MWE:
documentclassarticle
usepackageamsmath
usepackagewasysym
begindocument
Atinyvarhexagon
$A_texttinyvarhexagon$
enddocument
Result:
add a comment |
The amsmath
package also provides the text
command which allows text mode commands inside math mode without warnings (see also the answer by @egreg above).
MWE:
documentclassarticle
usepackageamsmath
usepackagewasysym
begindocument
Atinyvarhexagon
$A_texttinyvarhexagon$
enddocument
Result:
The amsmath
package also provides the text
command which allows text mode commands inside math mode without warnings (see also the answer by @egreg above).
MWE:
documentclassarticle
usepackageamsmath
usepackagewasysym
begindocument
Atinyvarhexagon
$A_texttinyvarhexagon$
enddocument
Result:
answered 20 hours ago
MarijnMarijn
8,089636
8,089636
add a comment |
add a comment |
J.Doe is a new contributor. Be nice, and check out our Code of Conduct.
J.Doe is a new contributor. Be nice, and check out our Code of Conduct.
J.Doe is a new contributor. Be nice, and check out our Code of Conduct.
J.Doe 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%2f480418%2fhow-to-make-a-small-varhexagon-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
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
yesterday
@J.Doe scale to
tiny
or tolarge
is the same concept.– CarLaTeX
23 hours ago