How to make a small $varhexagon$ in latex? The Next CEO of Stack OverflowHow 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
How to implement Comparable so it is consistent with identity-equality
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
How should I connect my cat5 cable to connectors having an orange-green line?
logical reads on global temp table, but not on session-level temp table
Is it possible to create a QR code using text?
Does the Idaho Potato Commission associate potato skins with healthy eating?
Salesforce opportunity stages
Raspberry pi 3 B with Ubuntu 18.04 server arm64: what pi version
How to coordinate airplane tickets?
Is it OK to decorate a log book cover?
Horror film about a man brought out of cryogenic suspension without a soul, around 1990
Find the majority element, which appears more than half the time
Why was Sir Cadogan fired?
What difference does it make matching a word with/without a trailing whitespace?
How exploitable/balanced is this homebrew spell: Spell Permanency?
Prodigo = pro + ago?
How does a dynamic QR code work?
Avoiding the "not like other girls" trope?
How can I prove that a state of equilibrium is unstable?
Why did early computer designers eschew integers?
Can Sri Krishna be called 'a person'?
What does this strange code stamp on my passport mean?
Read/write a pipe-delimited file line by line with some simple text manipulation
My boss doesn't want me to have a side project
How to make a small $varhexagon$ in latex?
The Next CEO of Stack OverflowHow 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
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
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
Mar 20 at 6:42
@J.Doe scale totiny
or tolarge
is the same concept.
– CarLaTeX
Mar 20 at 7:05
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
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
edited Mar 20 at 10:37
Superuser27
86816
86816
asked Mar 20 at 6:23
J.DoeJ.Doe
183
183
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
Mar 20 at 6:42
@J.Doe scale totiny
or tolarge
is the same concept.
– CarLaTeX
Mar 20 at 7:05
add a comment |
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
Mar 20 at 6:42
@J.Doe scale totiny
or tolarge
is the same concept.
– CarLaTeX
Mar 20 at 7:05
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
Mar 20 at 6:42
@CarLaTeX it is not a duplicate, since none of the suggestions gives precisely the same size as tiny.
– J.Doe
Mar 20 at 6:42
@J.Doe scale to
tiny
or to large
is the same concept.– CarLaTeX
Mar 20 at 7:05
@J.Doe scale to
tiny
or to large
is the same concept.– CarLaTeX
Mar 20 at 7:05
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
Mar 20 at 6:39
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
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 |
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%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
Mar 20 at 6:39
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
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
Mar 20 at 6:39
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
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 Mar 20 at 7:03
answered Mar 20 at 6:36


MicoMico
285k31388778
285k31388778
well, unfortunately it does not give the same size as tiny
– J.Doe
Mar 20 at 6:39
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
add a comment |
well, unfortunately it does not give the same size as tiny
– J.Doe
Mar 20 at 6:39
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
well, unfortunately it does not give the same size as tiny
– J.Doe
Mar 20 at 6:39
well, unfortunately it does not give the same size as tiny
– J.Doe
Mar 20 at 6:39
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
@J.Doe - Please see the updated answer.
– Mico
Mar 20 at 7:04
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 Mar 20 at 9:13
answered Mar 20 at 8:48


egregegreg
731k8819293246
731k8819293246
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 Mar 20 at 9:55


Steven B. SegletesSteven B. Segletes
160k9205413
160k9205413
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 Mar 20 at 10:14
MarijnMarijn
8,434636
8,434636
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%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
Mar 20 at 6:42
@J.Doe scale to
tiny
or tolarge
is the same concept.– CarLaTeX
Mar 20 at 7:05