How to typeset a small black square as a binary operator?












4















This is my first post on this SE so I apologize if my formatting is bad.



Essentially I am trying to reproduce the small black symbol from the following definition in Allen Hatcher's Algebraic Topology:



enter image description here



(This book can also be accessed from his website for free, and this particular image is from page 26.)



I am trying to figure out how to typeset the small black square between the f and the g(s). I tried the following in my preamble



renewcommand{bullet}{tiny$blacksquare$}


but the square bullet produced looks jarring and does not look like a binary operator, i.e. it is not centered and does not have equal spacing between f and g(s).



Would any of you have any suggestions on how to make this particular symbol?










share|improve this question







New contributor




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
















  • 2





    This is actually not a square but just the shape of cdot from the Lucida family used in the picture (code, screenshot). Lucida is a commercial font, you can purchase it from TUG.

    – Henri Menke
    8 hours ago











  • Ah, ok! Thank you @HenriMenke! That is very helpful information. For now I think I will just have to settle for the "normal" cdot to represent this operation.

    – Thy Art is Math
    8 hours ago


















4















This is my first post on this SE so I apologize if my formatting is bad.



Essentially I am trying to reproduce the small black symbol from the following definition in Allen Hatcher's Algebraic Topology:



enter image description here



(This book can also be accessed from his website for free, and this particular image is from page 26.)



I am trying to figure out how to typeset the small black square between the f and the g(s). I tried the following in my preamble



renewcommand{bullet}{tiny$blacksquare$}


but the square bullet produced looks jarring and does not look like a binary operator, i.e. it is not centered and does not have equal spacing between f and g(s).



Would any of you have any suggestions on how to make this particular symbol?










share|improve this question







New contributor




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
















  • 2





    This is actually not a square but just the shape of cdot from the Lucida family used in the picture (code, screenshot). Lucida is a commercial font, you can purchase it from TUG.

    – Henri Menke
    8 hours ago











  • Ah, ok! Thank you @HenriMenke! That is very helpful information. For now I think I will just have to settle for the "normal" cdot to represent this operation.

    – Thy Art is Math
    8 hours ago
















4












4








4








This is my first post on this SE so I apologize if my formatting is bad.



Essentially I am trying to reproduce the small black symbol from the following definition in Allen Hatcher's Algebraic Topology:



enter image description here



(This book can also be accessed from his website for free, and this particular image is from page 26.)



I am trying to figure out how to typeset the small black square between the f and the g(s). I tried the following in my preamble



renewcommand{bullet}{tiny$blacksquare$}


but the square bullet produced looks jarring and does not look like a binary operator, i.e. it is not centered and does not have equal spacing between f and g(s).



Would any of you have any suggestions on how to make this particular symbol?










share|improve this question







New contributor




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












This is my first post on this SE so I apologize if my formatting is bad.



Essentially I am trying to reproduce the small black symbol from the following definition in Allen Hatcher's Algebraic Topology:



enter image description here



(This book can also be accessed from his website for free, and this particular image is from page 26.)



I am trying to figure out how to typeset the small black square between the f and the g(s). I tried the following in my preamble



renewcommand{bullet}{tiny$blacksquare$}


but the square bullet produced looks jarring and does not look like a binary operator, i.e. it is not centered and does not have equal spacing between f and g(s).



Would any of you have any suggestions on how to make this particular symbol?







math-mode symbols






share|improve this question







New contributor




Thy Art is Math 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




Thy Art is Math 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






New contributor




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









asked 8 hours ago









Thy Art is MathThy Art is Math

1212




1212




New contributor




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





New contributor





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






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








  • 2





    This is actually not a square but just the shape of cdot from the Lucida family used in the picture (code, screenshot). Lucida is a commercial font, you can purchase it from TUG.

    – Henri Menke
    8 hours ago











  • Ah, ok! Thank you @HenriMenke! That is very helpful information. For now I think I will just have to settle for the "normal" cdot to represent this operation.

    – Thy Art is Math
    8 hours ago
















  • 2





    This is actually not a square but just the shape of cdot from the Lucida family used in the picture (code, screenshot). Lucida is a commercial font, you can purchase it from TUG.

    – Henri Menke
    8 hours ago











  • Ah, ok! Thank you @HenriMenke! That is very helpful information. For now I think I will just have to settle for the "normal" cdot to represent this operation.

    – Thy Art is Math
    8 hours ago










2




2





This is actually not a square but just the shape of cdot from the Lucida family used in the picture (code, screenshot). Lucida is a commercial font, you can purchase it from TUG.

– Henri Menke
8 hours ago





This is actually not a square but just the shape of cdot from the Lucida family used in the picture (code, screenshot). Lucida is a commercial font, you can purchase it from TUG.

– Henri Menke
8 hours ago













Ah, ok! Thank you @HenriMenke! That is very helpful information. For now I think I will just have to settle for the "normal" cdot to represent this operation.

– Thy Art is Math
8 hours ago







Ah, ok! Thank you @HenriMenke! That is very helpful information. For now I think I will just have to settle for the "normal" cdot to represent this operation.

– Thy Art is Math
8 hours ago












4 Answers
4






active

oldest

votes


















4














This is actually not a square but just the shape of cdot from the Lucida family used in the picture.



documentclass{article}
usepackage{lucidabr}
begin{document}
$f cdot g$
end{document}




Lucida is a commercial font, you can purchase it from TUG.





You could also go ahead and fake the symbol using a rule.



documentclass{article}
renewcommandbullet{%
mathbin{mskip1mu
mathchoice
{squarebullet{.25ex}{.25ex}}%
{squarebullet{.25ex}{.25ex}}%
{squarebullet{.18ex}{.18ex}}%
{squarebullet{.15ex}{.15ex}}
mskip1mu}
}
newcommandsquarebullet[2]{vcenter{hbox{rule{#1}{#2}}}}
begin{document}
$f cdot g_{f cdot g_{f cdot g}}$

$f bullet g_{f bullet g_{f bullet g}}$
end{document}


enter image description here






share|improve this answer
























  • Wow this is above and beyond! Thank you.

    – Thy Art is Math
    7 hours ago



















3














This symbol exists in the mathabx font package. Here is a way to use this symbol without having to load the package:



documentclass{article}
DeclareFontFamily{U}{mathb}{hyphencharfont45}
DeclareFontShape{U}{mathb}{m}{n}%
{<-6> mathb5 %
<6-7> mathb6
<7-8> mathb7 %
<8-9> mathb8 %
<9-10> mathb9 %
<10-12> mathb10 %
<12-> mathb12 }%
{}
DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
DeclareMathSymbol{sqbullet}{mathbin}{mathb}{"0D}

begin{document}

[ f sqbullet g]%

end{document}


enter image description here






share|improve this answer































    1














    I don't know the size of the black square as in the picture of the OP. Personally I have tried to build a prehistoric macro to have a black square that could be even smaller if you want (see the 2nd code). For example, I used the package pifont that is available in all types of distribution.



    enter image description here



    documentclass[12pt]{article}
    usepackage{pifont,mathtools,xcolor}
    newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.13cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
    begin{document}

    [fsbs g(s)=]

    end{document}


    Adding scalerel package, you have:



    enter image description here



    documentclass[12pt]{article}
    usepackage{pifont,mathtools,xcolor,scalerel}
    newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.15cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
    begin{document}

    $fsbs g(s)=$

    or

    $fscaleto{sbs}{3pt}g(s)=$

    end{document}





    share|improve this answer

































      0














      Decide for the size of the black dot, here it is twice the size of (the bounding box of) a period, with a small sidebearing.



      documentclass{article}
      usepackage{amsmath}

      makeatletter
      newcommand{pp}{}% check it's not defined
      DeclareRobustCommand{pp}{mathbin{mathpalettepp@relax}}
      newcommandpp@[2]{%
      mspace{0.5mu}%
      vcenter{hbox{sboxz@{$#1.$}rule{2htz@}{2htz@}}}%
      mspace{0.5mu}%
      }
      makeatother

      begin{document}

      $fpp g$

      $scriptstyle fpp g$

      end{document}


      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
        });


        }
        });






        Thy Art is Math 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%2f476050%2fhow-to-typeset-a-small-black-square-as-a-binary-operator%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









        4














        This is actually not a square but just the shape of cdot from the Lucida family used in the picture.



        documentclass{article}
        usepackage{lucidabr}
        begin{document}
        $f cdot g$
        end{document}




        Lucida is a commercial font, you can purchase it from TUG.





        You could also go ahead and fake the symbol using a rule.



        documentclass{article}
        renewcommandbullet{%
        mathbin{mskip1mu
        mathchoice
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.18ex}{.18ex}}%
        {squarebullet{.15ex}{.15ex}}
        mskip1mu}
        }
        newcommandsquarebullet[2]{vcenter{hbox{rule{#1}{#2}}}}
        begin{document}
        $f cdot g_{f cdot g_{f cdot g}}$

        $f bullet g_{f bullet g_{f bullet g}}$
        end{document}


        enter image description here






        share|improve this answer
























        • Wow this is above and beyond! Thank you.

          – Thy Art is Math
          7 hours ago
















        4














        This is actually not a square but just the shape of cdot from the Lucida family used in the picture.



        documentclass{article}
        usepackage{lucidabr}
        begin{document}
        $f cdot g$
        end{document}




        Lucida is a commercial font, you can purchase it from TUG.





        You could also go ahead and fake the symbol using a rule.



        documentclass{article}
        renewcommandbullet{%
        mathbin{mskip1mu
        mathchoice
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.18ex}{.18ex}}%
        {squarebullet{.15ex}{.15ex}}
        mskip1mu}
        }
        newcommandsquarebullet[2]{vcenter{hbox{rule{#1}{#2}}}}
        begin{document}
        $f cdot g_{f cdot g_{f cdot g}}$

        $f bullet g_{f bullet g_{f bullet g}}$
        end{document}


        enter image description here






        share|improve this answer
























        • Wow this is above and beyond! Thank you.

          – Thy Art is Math
          7 hours ago














        4












        4








        4







        This is actually not a square but just the shape of cdot from the Lucida family used in the picture.



        documentclass{article}
        usepackage{lucidabr}
        begin{document}
        $f cdot g$
        end{document}




        Lucida is a commercial font, you can purchase it from TUG.





        You could also go ahead and fake the symbol using a rule.



        documentclass{article}
        renewcommandbullet{%
        mathbin{mskip1mu
        mathchoice
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.18ex}{.18ex}}%
        {squarebullet{.15ex}{.15ex}}
        mskip1mu}
        }
        newcommandsquarebullet[2]{vcenter{hbox{rule{#1}{#2}}}}
        begin{document}
        $f cdot g_{f cdot g_{f cdot g}}$

        $f bullet g_{f bullet g_{f bullet g}}$
        end{document}


        enter image description here






        share|improve this answer













        This is actually not a square but just the shape of cdot from the Lucida family used in the picture.



        documentclass{article}
        usepackage{lucidabr}
        begin{document}
        $f cdot g$
        end{document}




        Lucida is a commercial font, you can purchase it from TUG.





        You could also go ahead and fake the symbol using a rule.



        documentclass{article}
        renewcommandbullet{%
        mathbin{mskip1mu
        mathchoice
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.25ex}{.25ex}}%
        {squarebullet{.18ex}{.18ex}}%
        {squarebullet{.15ex}{.15ex}}
        mskip1mu}
        }
        newcommandsquarebullet[2]{vcenter{hbox{rule{#1}{#2}}}}
        begin{document}
        $f cdot g_{f cdot g_{f cdot g}}$

        $f bullet g_{f bullet g_{f bullet g}}$
        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 7 hours ago









        Henri MenkeHenri Menke

        75.1k8164276




        75.1k8164276













        • Wow this is above and beyond! Thank you.

          – Thy Art is Math
          7 hours ago



















        • Wow this is above and beyond! Thank you.

          – Thy Art is Math
          7 hours ago

















        Wow this is above and beyond! Thank you.

        – Thy Art is Math
        7 hours ago





        Wow this is above and beyond! Thank you.

        – Thy Art is Math
        7 hours ago











        3














        This symbol exists in the mathabx font package. Here is a way to use this symbol without having to load the package:



        documentclass{article}
        DeclareFontFamily{U}{mathb}{hyphencharfont45}
        DeclareFontShape{U}{mathb}{m}{n}%
        {<-6> mathb5 %
        <6-7> mathb6
        <7-8> mathb7 %
        <8-9> mathb8 %
        <9-10> mathb9 %
        <10-12> mathb10 %
        <12-> mathb12 }%
        {}
        DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
        DeclareMathSymbol{sqbullet}{mathbin}{mathb}{"0D}

        begin{document}

        [ f sqbullet g]%

        end{document}


        enter image description here






        share|improve this answer




























          3














          This symbol exists in the mathabx font package. Here is a way to use this symbol without having to load the package:



          documentclass{article}
          DeclareFontFamily{U}{mathb}{hyphencharfont45}
          DeclareFontShape{U}{mathb}{m}{n}%
          {<-6> mathb5 %
          <6-7> mathb6
          <7-8> mathb7 %
          <8-9> mathb8 %
          <9-10> mathb9 %
          <10-12> mathb10 %
          <12-> mathb12 }%
          {}
          DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
          DeclareMathSymbol{sqbullet}{mathbin}{mathb}{"0D}

          begin{document}

          [ f sqbullet g]%

          end{document}


          enter image description here






          share|improve this answer


























            3












            3








            3







            This symbol exists in the mathabx font package. Here is a way to use this symbol without having to load the package:



            documentclass{article}
            DeclareFontFamily{U}{mathb}{hyphencharfont45}
            DeclareFontShape{U}{mathb}{m}{n}%
            {<-6> mathb5 %
            <6-7> mathb6
            <7-8> mathb7 %
            <8-9> mathb8 %
            <9-10> mathb9 %
            <10-12> mathb10 %
            <12-> mathb12 }%
            {}
            DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
            DeclareMathSymbol{sqbullet}{mathbin}{mathb}{"0D}

            begin{document}

            [ f sqbullet g]%

            end{document}


            enter image description here






            share|improve this answer













            This symbol exists in the mathabx font package. Here is a way to use this symbol without having to load the package:



            documentclass{article}
            DeclareFontFamily{U}{mathb}{hyphencharfont45}
            DeclareFontShape{U}{mathb}{m}{n}%
            {<-6> mathb5 %
            <6-7> mathb6
            <7-8> mathb7 %
            <8-9> mathb8 %
            <9-10> mathb9 %
            <10-12> mathb10 %
            <12-> mathb12 }%
            {}
            DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
            DeclareMathSymbol{sqbullet}{mathbin}{mathb}{"0D}

            begin{document}

            [ f sqbullet g]%

            end{document}


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 7 hours ago









            BernardBernard

            170k775202




            170k775202























                1














                I don't know the size of the black square as in the picture of the OP. Personally I have tried to build a prehistoric macro to have a black square that could be even smaller if you want (see the 2nd code). For example, I used the package pifont that is available in all types of distribution.



                enter image description here



                documentclass[12pt]{article}
                usepackage{pifont,mathtools,xcolor}
                newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.13cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                begin{document}

                [fsbs g(s)=]

                end{document}


                Adding scalerel package, you have:



                enter image description here



                documentclass[12pt]{article}
                usepackage{pifont,mathtools,xcolor,scalerel}
                newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.15cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                begin{document}

                $fsbs g(s)=$

                or

                $fscaleto{sbs}{3pt}g(s)=$

                end{document}





                share|improve this answer






























                  1














                  I don't know the size of the black square as in the picture of the OP. Personally I have tried to build a prehistoric macro to have a black square that could be even smaller if you want (see the 2nd code). For example, I used the package pifont that is available in all types of distribution.



                  enter image description here



                  documentclass[12pt]{article}
                  usepackage{pifont,mathtools,xcolor}
                  newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.13cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                  begin{document}

                  [fsbs g(s)=]

                  end{document}


                  Adding scalerel package, you have:



                  enter image description here



                  documentclass[12pt]{article}
                  usepackage{pifont,mathtools,xcolor,scalerel}
                  newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.15cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                  begin{document}

                  $fsbs g(s)=$

                  or

                  $fscaleto{sbs}{3pt}g(s)=$

                  end{document}





                  share|improve this answer




























                    1












                    1








                    1







                    I don't know the size of the black square as in the picture of the OP. Personally I have tried to build a prehistoric macro to have a black square that could be even smaller if you want (see the 2nd code). For example, I used the package pifont that is available in all types of distribution.



                    enter image description here



                    documentclass[12pt]{article}
                    usepackage{pifont,mathtools,xcolor}
                    newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.13cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                    begin{document}

                    [fsbs g(s)=]

                    end{document}


                    Adding scalerel package, you have:



                    enter image description here



                    documentclass[12pt]{article}
                    usepackage{pifont,mathtools,xcolor,scalerel}
                    newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.15cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                    begin{document}

                    $fsbs g(s)=$

                    or

                    $fscaleto{sbs}{3pt}g(s)=$

                    end{document}





                    share|improve this answer















                    I don't know the size of the black square as in the picture of the OP. Personally I have tried to build a prehistoric macro to have a black square that could be even smaller if you want (see the 2nd code). For example, I used the package pifont that is available in all types of distribution.



                    enter image description here



                    documentclass[12pt]{article}
                    usepackage{pifont,mathtools,xcolor}
                    newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.13cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                    begin{document}

                    [fsbs g(s)=]

                    end{document}


                    Adding scalerel package, you have:



                    enter image description here



                    documentclass[12pt]{article}
                    usepackage{pifont,mathtools,xcolor,scalerel}
                    newcommand{sbs}{hspace{.05cm}{rotatebox{90}{ding{122}}}hspace{-.15cm}{rotatebox{90}{textcolor{white}{ding{122}}}}hspace{-.2cm}}
                    begin{document}

                    $fsbs g(s)=$

                    or

                    $fscaleto{sbs}{3pt}g(s)=$

                    end{document}






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 6 hours ago

























                    answered 7 hours ago









                    SebastianoSebastiano

                    10.2k41858




                    10.2k41858























                        0














                        Decide for the size of the black dot, here it is twice the size of (the bounding box of) a period, with a small sidebearing.



                        documentclass{article}
                        usepackage{amsmath}

                        makeatletter
                        newcommand{pp}{}% check it's not defined
                        DeclareRobustCommand{pp}{mathbin{mathpalettepp@relax}}
                        newcommandpp@[2]{%
                        mspace{0.5mu}%
                        vcenter{hbox{sboxz@{$#1.$}rule{2htz@}{2htz@}}}%
                        mspace{0.5mu}%
                        }
                        makeatother

                        begin{document}

                        $fpp g$

                        $scriptstyle fpp g$

                        end{document}


                        enter image description here






                        share|improve this answer




























                          0














                          Decide for the size of the black dot, here it is twice the size of (the bounding box of) a period, with a small sidebearing.



                          documentclass{article}
                          usepackage{amsmath}

                          makeatletter
                          newcommand{pp}{}% check it's not defined
                          DeclareRobustCommand{pp}{mathbin{mathpalettepp@relax}}
                          newcommandpp@[2]{%
                          mspace{0.5mu}%
                          vcenter{hbox{sboxz@{$#1.$}rule{2htz@}{2htz@}}}%
                          mspace{0.5mu}%
                          }
                          makeatother

                          begin{document}

                          $fpp g$

                          $scriptstyle fpp g$

                          end{document}


                          enter image description here






                          share|improve this answer


























                            0












                            0








                            0







                            Decide for the size of the black dot, here it is twice the size of (the bounding box of) a period, with a small sidebearing.



                            documentclass{article}
                            usepackage{amsmath}

                            makeatletter
                            newcommand{pp}{}% check it's not defined
                            DeclareRobustCommand{pp}{mathbin{mathpalettepp@relax}}
                            newcommandpp@[2]{%
                            mspace{0.5mu}%
                            vcenter{hbox{sboxz@{$#1.$}rule{2htz@}{2htz@}}}%
                            mspace{0.5mu}%
                            }
                            makeatother

                            begin{document}

                            $fpp g$

                            $scriptstyle fpp g$

                            end{document}


                            enter image description here






                            share|improve this answer













                            Decide for the size of the black dot, here it is twice the size of (the bounding box of) a period, with a small sidebearing.



                            documentclass{article}
                            usepackage{amsmath}

                            makeatletter
                            newcommand{pp}{}% check it's not defined
                            DeclareRobustCommand{pp}{mathbin{mathpalettepp@relax}}
                            newcommandpp@[2]{%
                            mspace{0.5mu}%
                            vcenter{hbox{sboxz@{$#1.$}rule{2htz@}{2htz@}}}%
                            mspace{0.5mu}%
                            }
                            makeatother

                            begin{document}

                            $fpp g$

                            $scriptstyle fpp g$

                            end{document}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 6 hours ago









                            egregegreg

                            721k8719113210




                            721k8719113210






















                                Thy Art is Math is a new contributor. Be nice, and check out our Code of Conduct.










                                draft saved

                                draft discarded


















                                Thy Art is Math is a new contributor. Be nice, and check out our Code of Conduct.













                                Thy Art is Math is a new contributor. Be nice, and check out our Code of Conduct.












                                Thy Art is Math 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%2f476050%2fhow-to-typeset-a-small-black-square-as-a-binary-operator%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

                                If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                                Alcedinidae

                                Can an atomic nucleus contain both particles and antiparticles? [duplicate]