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

Can I use Seifert-van Kampen theorem infinite times

Does a 'pending' US visa application constitute a denial?

Customize circled numbers

Is there an efficient solution to the travelling salesman problem with binary edge weights?

Has any country ever had 2 former presidents in jail simultaneously?

What should you do if you miss a job interview (deliberately)?

Calculating Wattage for Resistor in High Frequency Application?

What is the difference between Reference and Background image in 2.8

Could the E-bike drivetrain wear down till needing replacement after 400 km?

Why do we read the Megillah by night and by day?

MTG Artifact and Enchantment Rulings

Why should universal income be universal?

Non-trope happy ending?

Loading commands from file

Reply 'no position' while the job posting is still there

Why did the HMS Bounty go back to a time when whales are already rare?

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed

Character escape sequences for ">"

Is it better practice to read straight from sheet music rather than memorize it?

Longest common substring in linear time

Lowest total scrabble score

What should you do when eye contact makes your subordinate uncomfortable?

Does the expansion of the universe explain why the universe doesn't collapse?



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













3















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.










share|improve this question









New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • @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















3















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.










share|improve this question









New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • @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













3












3








3








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.










share|improve this question









New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question









New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Mar 20 at 10:37









Superuser27

71516




71516






New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 20 at 6:23









J.DoeJ.Doe

183




183




New contributor




J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






J.Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • @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

















  • @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
















@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










4 Answers
4






active

oldest

votes


















8














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".



enter image description here



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





share|improve this answer

























  • 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


















4














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.



enter image description here



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


enter image description here






share|improve this answer
































    2














    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


    enter image description here






    share|improve this answer






























      2














      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:



      enter image description here






      share|improve this answer






















        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.









        draft saved

        draft discarded


















        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









        8














        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".



        enter image description here



        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





        share|improve this answer

























        • 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















        8














        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".



        enter image description here



        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





        share|improve this answer

























        • 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













        8












        8








        8







        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".



        enter image description here



        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





        share|improve this answer















        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".



        enter image description here



        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






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 20 at 7:03

























        answered Mar 20 at 6:36









        MicoMico

        284k31388778




        284k31388778












        • 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











        • @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











        4














        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.



        enter image description here



        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


        enter image description here






        share|improve this answer





























          4














          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.



          enter image description here



          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


          enter image description here






          share|improve this answer



























            4












            4








            4







            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.



            enter image description here



            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


            enter image description here






            share|improve this answer















            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.



            enter image description here



            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


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 20 at 9:13

























            answered Mar 20 at 8:48









            egregegreg

            728k8819253235




            728k8819253235





















                2














                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


                enter image description here






                share|improve this answer



























                  2














                  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


                  enter image description here






                  share|improve this answer

























                    2












                    2








                    2







                    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


                    enter image description here






                    share|improve this answer













                    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


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 20 at 9:55









                    Steven B. SegletesSteven B. Segletes

                    159k9204412




                    159k9204412





















                        2














                        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:



                        enter image description here






                        share|improve this answer



























                          2














                          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:



                          enter image description here






                          share|improve this answer

























                            2












                            2








                            2







                            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:



                            enter image description here






                            share|improve this answer













                            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:



                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 20 at 10:14









                            MarijnMarijn

                            8,149636




                            8,149636




















                                J.Doe is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                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.




                                draft saved


                                draft discarded














                                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





















































                                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







                                Popular posts from this blog

                                Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

                                Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

                                Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High