Special Character boxtime












1












$begingroup$


In LaTeX, boxtimes works as follows:



documentclass{article}
usepackage{amssymb}
begin{document}

$boxtimes$

end{document}


enter image description here



Is there a way to print this character in Mathematica? Simply using ToExpression returns nothing.



ToExpression["\boxtime", TeXForm, HoldForm]


In a more general form, is there a way to use amssymbols in Mathematica?










share|improve this question









New contributor




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







$endgroup$












  • $begingroup$
    The closest supported symbols are [CircleTimes] and [CheckmarkedBox], and of course [EmptySquare].
    $endgroup$
    – David G. Stork
    1 hour ago


















1












$begingroup$


In LaTeX, boxtimes works as follows:



documentclass{article}
usepackage{amssymb}
begin{document}

$boxtimes$

end{document}


enter image description here



Is there a way to print this character in Mathematica? Simply using ToExpression returns nothing.



ToExpression["\boxtime", TeXForm, HoldForm]


In a more general form, is there a way to use amssymbols in Mathematica?










share|improve this question









New contributor




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







$endgroup$












  • $begingroup$
    The closest supported symbols are [CircleTimes] and [CheckmarkedBox], and of course [EmptySquare].
    $endgroup$
    – David G. Stork
    1 hour ago
















1












1








1





$begingroup$


In LaTeX, boxtimes works as follows:



documentclass{article}
usepackage{amssymb}
begin{document}

$boxtimes$

end{document}


enter image description here



Is there a way to print this character in Mathematica? Simply using ToExpression returns nothing.



ToExpression["\boxtime", TeXForm, HoldForm]


In a more general form, is there a way to use amssymbols in Mathematica?










share|improve this question









New contributor




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







$endgroup$




In LaTeX, boxtimes works as follows:



documentclass{article}
usepackage{amssymb}
begin{document}

$boxtimes$

end{document}


enter image description here



Is there a way to print this character in Mathematica? Simply using ToExpression returns nothing.



ToExpression["\boxtime", TeXForm, HoldForm]


In a more general form, is there a way to use amssymbols in Mathematica?







formatting named-characters






share|improve this question









New contributor




Mefitico 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




Mefitico 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 1 hour ago









Carl Lange

3,3051731




3,3051731






New contributor




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









asked 1 hour ago









MefiticoMefitico

1105




1105




New contributor




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





New contributor





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






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












  • $begingroup$
    The closest supported symbols are [CircleTimes] and [CheckmarkedBox], and of course [EmptySquare].
    $endgroup$
    – David G. Stork
    1 hour ago




















  • $begingroup$
    The closest supported symbols are [CircleTimes] and [CheckmarkedBox], and of course [EmptySquare].
    $endgroup$
    – David G. Stork
    1 hour ago


















$begingroup$
The closest supported symbols are [CircleTimes] and [CheckmarkedBox], and of course [EmptySquare].
$endgroup$
– David G. Stork
1 hour ago






$begingroup$
The closest supported symbols are [CircleTimes] and [CheckmarkedBox], and of course [EmptySquare].
$endgroup$
– David G. Stork
1 hour ago












2 Answers
2






active

oldest

votes


















2












$begingroup$

The code :22A0 will produce the Unicode character for BOX TIMES but the font used for output must support the Unicode character and not all of them do, otherwise an empty "Box" will appear. For example, the font "Lucida Sans Unicode" displays the character correctly. In any case, this does not affect the internal string contents even if it is not displayed as expected.



For another example, the code ToCharacterCode["a⊠b"] will return {97, 8864, 98} and the reverse code FromCharacterCode[{97, 8864, 98}] will return the original string.






share|improve this answer











$endgroup$





















    2












    $begingroup$

    ⊠ is Unicode character U+22A0, and so we can input it in Mathematica by typing the following:



    :22A0


    anywhere in a notebook.



    This functionality is documented in tutorial/CharacterCodes.



    As noted by Somos and in the comments to this answer, the display of these characters is font-dependent. The codepoint is valid, but if the font Mathematica is using doesn't have a glyph for the character, it will display as a small box with a question mark inside of it. You may need to play with your font settings to get the character to display correctly.






    share|improve this answer











    $endgroup$













    • $begingroup$
      I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
      $endgroup$
      – Mefitico
      56 mins ago






    • 1




      $begingroup$
      Correct link.
      $endgroup$
      – Rohit Namjoshi
      53 mins ago










    • $begingroup$
      @RohitNamjoshi Thanks, I corrected the link in my answer.
      $endgroup$
      – Carl Lange
      46 mins ago










    • $begingroup$
      @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
      $endgroup$
      – Carl Lange
      44 mins ago










    • $begingroup$
      For info, I'm using windows 10.
      $endgroup$
      – Mefitico
      41 mins ago











    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "387"
    };
    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
    });


    }
    });






    Mefitico 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%2fmathematica.stackexchange.com%2fquestions%2f190268%2fspecial-character-boxtime%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    The code :22A0 will produce the Unicode character for BOX TIMES but the font used for output must support the Unicode character and not all of them do, otherwise an empty "Box" will appear. For example, the font "Lucida Sans Unicode" displays the character correctly. In any case, this does not affect the internal string contents even if it is not displayed as expected.



    For another example, the code ToCharacterCode["a⊠b"] will return {97, 8864, 98} and the reverse code FromCharacterCode[{97, 8864, 98}] will return the original string.






    share|improve this answer











    $endgroup$


















      2












      $begingroup$

      The code :22A0 will produce the Unicode character for BOX TIMES but the font used for output must support the Unicode character and not all of them do, otherwise an empty "Box" will appear. For example, the font "Lucida Sans Unicode" displays the character correctly. In any case, this does not affect the internal string contents even if it is not displayed as expected.



      For another example, the code ToCharacterCode["a⊠b"] will return {97, 8864, 98} and the reverse code FromCharacterCode[{97, 8864, 98}] will return the original string.






      share|improve this answer











      $endgroup$
















        2












        2








        2





        $begingroup$

        The code :22A0 will produce the Unicode character for BOX TIMES but the font used for output must support the Unicode character and not all of them do, otherwise an empty "Box" will appear. For example, the font "Lucida Sans Unicode" displays the character correctly. In any case, this does not affect the internal string contents even if it is not displayed as expected.



        For another example, the code ToCharacterCode["a⊠b"] will return {97, 8864, 98} and the reverse code FromCharacterCode[{97, 8864, 98}] will return the original string.






        share|improve this answer











        $endgroup$



        The code :22A0 will produce the Unicode character for BOX TIMES but the font used for output must support the Unicode character and not all of them do, otherwise an empty "Box" will appear. For example, the font "Lucida Sans Unicode" displays the character correctly. In any case, this does not affect the internal string contents even if it is not displayed as expected.



        For another example, the code ToCharacterCode["a⊠b"] will return {97, 8864, 98} and the reverse code FromCharacterCode[{97, 8864, 98}] will return the original string.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 37 mins ago

























        answered 47 mins ago









        SomosSomos

        58319




        58319























            2












            $begingroup$

            ⊠ is Unicode character U+22A0, and so we can input it in Mathematica by typing the following:



            :22A0


            anywhere in a notebook.



            This functionality is documented in tutorial/CharacterCodes.



            As noted by Somos and in the comments to this answer, the display of these characters is font-dependent. The codepoint is valid, but if the font Mathematica is using doesn't have a glyph for the character, it will display as a small box with a question mark inside of it. You may need to play with your font settings to get the character to display correctly.






            share|improve this answer











            $endgroup$













            • $begingroup$
              I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
              $endgroup$
              – Mefitico
              56 mins ago






            • 1




              $begingroup$
              Correct link.
              $endgroup$
              – Rohit Namjoshi
              53 mins ago










            • $begingroup$
              @RohitNamjoshi Thanks, I corrected the link in my answer.
              $endgroup$
              – Carl Lange
              46 mins ago










            • $begingroup$
              @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
              $endgroup$
              – Carl Lange
              44 mins ago










            • $begingroup$
              For info, I'm using windows 10.
              $endgroup$
              – Mefitico
              41 mins ago
















            2












            $begingroup$

            ⊠ is Unicode character U+22A0, and so we can input it in Mathematica by typing the following:



            :22A0


            anywhere in a notebook.



            This functionality is documented in tutorial/CharacterCodes.



            As noted by Somos and in the comments to this answer, the display of these characters is font-dependent. The codepoint is valid, but if the font Mathematica is using doesn't have a glyph for the character, it will display as a small box with a question mark inside of it. You may need to play with your font settings to get the character to display correctly.






            share|improve this answer











            $endgroup$













            • $begingroup$
              I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
              $endgroup$
              – Mefitico
              56 mins ago






            • 1




              $begingroup$
              Correct link.
              $endgroup$
              – Rohit Namjoshi
              53 mins ago










            • $begingroup$
              @RohitNamjoshi Thanks, I corrected the link in my answer.
              $endgroup$
              – Carl Lange
              46 mins ago










            • $begingroup$
              @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
              $endgroup$
              – Carl Lange
              44 mins ago










            • $begingroup$
              For info, I'm using windows 10.
              $endgroup$
              – Mefitico
              41 mins ago














            2












            2








            2





            $begingroup$

            ⊠ is Unicode character U+22A0, and so we can input it in Mathematica by typing the following:



            :22A0


            anywhere in a notebook.



            This functionality is documented in tutorial/CharacterCodes.



            As noted by Somos and in the comments to this answer, the display of these characters is font-dependent. The codepoint is valid, but if the font Mathematica is using doesn't have a glyph for the character, it will display as a small box with a question mark inside of it. You may need to play with your font settings to get the character to display correctly.






            share|improve this answer











            $endgroup$



            ⊠ is Unicode character U+22A0, and so we can input it in Mathematica by typing the following:



            :22A0


            anywhere in a notebook.



            This functionality is documented in tutorial/CharacterCodes.



            As noted by Somos and in the comments to this answer, the display of these characters is font-dependent. The codepoint is valid, but if the font Mathematica is using doesn't have a glyph for the character, it will display as a small box with a question mark inside of it. You may need to play with your font settings to get the character to display correctly.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 1 min ago

























            answered 1 hour ago









            Carl LangeCarl Lange

            3,3051731




            3,3051731












            • $begingroup$
              I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
              $endgroup$
              – Mefitico
              56 mins ago






            • 1




              $begingroup$
              Correct link.
              $endgroup$
              – Rohit Namjoshi
              53 mins ago










            • $begingroup$
              @RohitNamjoshi Thanks, I corrected the link in my answer.
              $endgroup$
              – Carl Lange
              46 mins ago










            • $begingroup$
              @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
              $endgroup$
              – Carl Lange
              44 mins ago










            • $begingroup$
              For info, I'm using windows 10.
              $endgroup$
              – Mefitico
              41 mins ago


















            • $begingroup$
              I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
              $endgroup$
              – Mefitico
              56 mins ago






            • 1




              $begingroup$
              Correct link.
              $endgroup$
              – Rohit Namjoshi
              53 mins ago










            • $begingroup$
              @RohitNamjoshi Thanks, I corrected the link in my answer.
              $endgroup$
              – Carl Lange
              46 mins ago










            • $begingroup$
              @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
              $endgroup$
              – Carl Lange
              44 mins ago










            • $begingroup$
              For info, I'm using windows 10.
              $endgroup$
              – Mefitico
              41 mins ago
















            $begingroup$
            I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
            $endgroup$
            – Mefitico
            56 mins ago




            $begingroup$
            I commend you for finding the Unicode character number. As of right now the link to tutorial/CharacterCodes seems broken (loads page from Wolfram saying content not found) . Also, I tried the code you provided in Mathematica 11.0, it prints a square with a question mark, as does some nearby characters values. =/
            $endgroup$
            – Mefitico
            56 mins ago




            1




            1




            $begingroup$
            Correct link.
            $endgroup$
            – Rohit Namjoshi
            53 mins ago




            $begingroup$
            Correct link.
            $endgroup$
            – Rohit Namjoshi
            53 mins ago












            $begingroup$
            @RohitNamjoshi Thanks, I corrected the link in my answer.
            $endgroup$
            – Carl Lange
            46 mins ago




            $begingroup$
            @RohitNamjoshi Thanks, I corrected the link in my answer.
            $endgroup$
            – Carl Lange
            46 mins ago












            $begingroup$
            @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
            $endgroup$
            – Carl Lange
            44 mins ago




            $begingroup$
            @Mefitico Unfortunately, this is down to the font used in Mathematica or your OS. It does work for me on 11.3 on Mac OS X 10.14.
            $endgroup$
            – Carl Lange
            44 mins ago












            $begingroup$
            For info, I'm using windows 10.
            $endgroup$
            – Mefitico
            41 mins ago




            $begingroup$
            For info, I'm using windows 10.
            $endgroup$
            – Mefitico
            41 mins ago










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










            draft saved

            draft discarded


















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













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












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
















            Thanks for contributing an answer to Mathematica 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.


            Use MathJax to format equations. MathJax reference.


            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%2fmathematica.stackexchange.com%2fquestions%2f190268%2fspecial-character-boxtime%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

            Aikido

            Tivadar Csontváry Kosztka

            Metroo de Marsejlo