“Different” looking question mark











up vote
3
down vote

favorite












I'm in a situation where I have a concept in my document that is traditionally represented using the question mark ?.



However, for visual clarity, I would like to differentiate between the ordinary punctuation ?, and my "special" use of it as a symbol.



I have tried mathbb, mathcal, and most of the other typical math font modes, but all of them seem to render ? in an identical way (at least under the default options of the acmart class).



Is there some way that I can get a fancy ? symbol? Bold, italic, black board, calligraphy, I'm open to different options. The inverted question mark is not an option, as it already carries meaning in my particular field.



EDIT:



For reference, if I do this:



documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
$mathsf{?} ? mathbf{?} mathit{?} mathbb{?} mathcal{?}$
end{document}


It renders as this: enter image description here i.e. there is no difference between the symbols.



The font used is Libertine, specifically the Libertine option of newtxmath, maybe this is part of the problem?










share|improve this question
























  • This is a bit vague.
    – egreg
    Dec 3 at 22:39










  • @DavidCarlisle Yes, this is in math. I've updated to question to clarify that mathbf and mathit seem to do nothing.
    – jmite
    Dec 3 at 22:43










  • @DavidCarlisle: exact same results on overleaf with a minimal complete document (question updated to include self-contained example)
    – jmite
    Dec 3 at 22:52










  • @jmite yes well my initial comment was not as accurate as it could have been:-)
    – David Carlisle
    Dec 3 at 22:55















up vote
3
down vote

favorite












I'm in a situation where I have a concept in my document that is traditionally represented using the question mark ?.



However, for visual clarity, I would like to differentiate between the ordinary punctuation ?, and my "special" use of it as a symbol.



I have tried mathbb, mathcal, and most of the other typical math font modes, but all of them seem to render ? in an identical way (at least under the default options of the acmart class).



Is there some way that I can get a fancy ? symbol? Bold, italic, black board, calligraphy, I'm open to different options. The inverted question mark is not an option, as it already carries meaning in my particular field.



EDIT:



For reference, if I do this:



documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
$mathsf{?} ? mathbf{?} mathit{?} mathbb{?} mathcal{?}$
end{document}


It renders as this: enter image description here i.e. there is no difference between the symbols.



The font used is Libertine, specifically the Libertine option of newtxmath, maybe this is part of the problem?










share|improve this question
























  • This is a bit vague.
    – egreg
    Dec 3 at 22:39










  • @DavidCarlisle Yes, this is in math. I've updated to question to clarify that mathbf and mathit seem to do nothing.
    – jmite
    Dec 3 at 22:43










  • @DavidCarlisle: exact same results on overleaf with a minimal complete document (question updated to include self-contained example)
    – jmite
    Dec 3 at 22:52










  • @jmite yes well my initial comment was not as accurate as it could have been:-)
    – David Carlisle
    Dec 3 at 22:55













up vote
3
down vote

favorite









up vote
3
down vote

favorite











I'm in a situation where I have a concept in my document that is traditionally represented using the question mark ?.



However, for visual clarity, I would like to differentiate between the ordinary punctuation ?, and my "special" use of it as a symbol.



I have tried mathbb, mathcal, and most of the other typical math font modes, but all of them seem to render ? in an identical way (at least under the default options of the acmart class).



Is there some way that I can get a fancy ? symbol? Bold, italic, black board, calligraphy, I'm open to different options. The inverted question mark is not an option, as it already carries meaning in my particular field.



EDIT:



For reference, if I do this:



documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
$mathsf{?} ? mathbf{?} mathit{?} mathbb{?} mathcal{?}$
end{document}


It renders as this: enter image description here i.e. there is no difference between the symbols.



The font used is Libertine, specifically the Libertine option of newtxmath, maybe this is part of the problem?










share|improve this question















I'm in a situation where I have a concept in my document that is traditionally represented using the question mark ?.



However, for visual clarity, I would like to differentiate between the ordinary punctuation ?, and my "special" use of it as a symbol.



I have tried mathbb, mathcal, and most of the other typical math font modes, but all of them seem to render ? in an identical way (at least under the default options of the acmart class).



Is there some way that I can get a fancy ? symbol? Bold, italic, black board, calligraphy, I'm open to different options. The inverted question mark is not an option, as it already carries meaning in my particular field.



EDIT:



For reference, if I do this:



documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
begin{document}
$mathsf{?} ? mathbf{?} mathit{?} mathbb{?} mathcal{?}$
end{document}


It renders as this: enter image description here i.e. there is no difference between the symbols.



The font used is Libertine, specifically the Libertine option of newtxmath, maybe this is part of the problem?







math-mode fonts symbols libertine newtxmath






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 22:50

























asked Dec 3 at 22:26









jmite

6111618




6111618












  • This is a bit vague.
    – egreg
    Dec 3 at 22:39










  • @DavidCarlisle Yes, this is in math. I've updated to question to clarify that mathbf and mathit seem to do nothing.
    – jmite
    Dec 3 at 22:43










  • @DavidCarlisle: exact same results on overleaf with a minimal complete document (question updated to include self-contained example)
    – jmite
    Dec 3 at 22:52










  • @jmite yes well my initial comment was not as accurate as it could have been:-)
    – David Carlisle
    Dec 3 at 22:55


















  • This is a bit vague.
    – egreg
    Dec 3 at 22:39










  • @DavidCarlisle Yes, this is in math. I've updated to question to clarify that mathbf and mathit seem to do nothing.
    – jmite
    Dec 3 at 22:43










  • @DavidCarlisle: exact same results on overleaf with a minimal complete document (question updated to include self-contained example)
    – jmite
    Dec 3 at 22:52










  • @jmite yes well my initial comment was not as accurate as it could have been:-)
    – David Carlisle
    Dec 3 at 22:55
















This is a bit vague.
– egreg
Dec 3 at 22:39




This is a bit vague.
– egreg
Dec 3 at 22:39












@DavidCarlisle Yes, this is in math. I've updated to question to clarify that mathbf and mathit seem to do nothing.
– jmite
Dec 3 at 22:43




@DavidCarlisle Yes, this is in math. I've updated to question to clarify that mathbf and mathit seem to do nothing.
– jmite
Dec 3 at 22:43












@DavidCarlisle: exact same results on overleaf with a minimal complete document (question updated to include self-contained example)
– jmite
Dec 3 at 22:52




@DavidCarlisle: exact same results on overleaf with a minimal complete document (question updated to include self-contained example)
– jmite
Dec 3 at 22:52












@jmite yes well my initial comment was not as accurate as it could have been:-)
– David Carlisle
Dec 3 at 22:55




@jmite yes well my initial comment was not as accurate as it could have been:-)
– David Carlisle
Dec 3 at 22:55










2 Answers
2






active

oldest

votes

















up vote
6
down vote



accepted










You can use the text fonts or images



enter image description here



documentclass{article}
usepackage{graphicx}

begin{document}

$?,textbf{?},textit{?},textsf{?},includegraphics[height=.7em]{q}$

end{document}





share|improve this answer





















  • Yep, that'll do it, thanks!
    – jmite
    Dec 3 at 22:59






  • 1




    @jmite do you want to buy that original mspaint artwork brushstroke? :-)
    – David Carlisle
    Dec 3 at 23:14


















up vote
5
down vote













The behavior of the character ? in math is defined by



DeclareMathSymbol{?}{mathclose}{operators}{"3F}


so it isn't affected by math alphabet changing commands such as mathsf. You can define



DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}


Example:



documentclass{article}
usepackage{amsmath} % not really used here

DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}
DeclareMathAlphabet{mathbbold}{U}{bbold}{m}{n}

begin{document}

[
qmquadmathrm{qm}quad
mathit{qm}quadmathsf{qm}quad
mathtt{qm}quadmathbbold{qm}
]

end{document}


enter image description here



A different approach: find a font that has the glyph that suits your need and do something like



documentclass{article}
usepackage{amsmath}

newcommand{qm}{text{usefont{OT1}{iwona}{m}{n}?}}

begin{document}

[
qm
]

end{document}


enter image description here



Differently from using textbf or textit, both approaches will not be affected by the font current at the time math mode was entered. For instance, in a theorem statement, typically using italics, $textbf{?}$ would be typeset in boldface italic.






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


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463052%2fdifferent-looking-question-mark%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








    up vote
    6
    down vote



    accepted










    You can use the text fonts or images



    enter image description here



    documentclass{article}
    usepackage{graphicx}

    begin{document}

    $?,textbf{?},textit{?},textsf{?},includegraphics[height=.7em]{q}$

    end{document}





    share|improve this answer





















    • Yep, that'll do it, thanks!
      – jmite
      Dec 3 at 22:59






    • 1




      @jmite do you want to buy that original mspaint artwork brushstroke? :-)
      – David Carlisle
      Dec 3 at 23:14















    up vote
    6
    down vote



    accepted










    You can use the text fonts or images



    enter image description here



    documentclass{article}
    usepackage{graphicx}

    begin{document}

    $?,textbf{?},textit{?},textsf{?},includegraphics[height=.7em]{q}$

    end{document}





    share|improve this answer





















    • Yep, that'll do it, thanks!
      – jmite
      Dec 3 at 22:59






    • 1




      @jmite do you want to buy that original mspaint artwork brushstroke? :-)
      – David Carlisle
      Dec 3 at 23:14













    up vote
    6
    down vote



    accepted







    up vote
    6
    down vote



    accepted






    You can use the text fonts or images



    enter image description here



    documentclass{article}
    usepackage{graphicx}

    begin{document}

    $?,textbf{?},textit{?},textsf{?},includegraphics[height=.7em]{q}$

    end{document}





    share|improve this answer












    You can use the text fonts or images



    enter image description here



    documentclass{article}
    usepackage{graphicx}

    begin{document}

    $?,textbf{?},textit{?},textsf{?},includegraphics[height=.7em]{q}$

    end{document}






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 3 at 22:54









    David Carlisle

    480k3811121847




    480k3811121847












    • Yep, that'll do it, thanks!
      – jmite
      Dec 3 at 22:59






    • 1




      @jmite do you want to buy that original mspaint artwork brushstroke? :-)
      – David Carlisle
      Dec 3 at 23:14


















    • Yep, that'll do it, thanks!
      – jmite
      Dec 3 at 22:59






    • 1




      @jmite do you want to buy that original mspaint artwork brushstroke? :-)
      – David Carlisle
      Dec 3 at 23:14
















    Yep, that'll do it, thanks!
    – jmite
    Dec 3 at 22:59




    Yep, that'll do it, thanks!
    – jmite
    Dec 3 at 22:59




    1




    1




    @jmite do you want to buy that original mspaint artwork brushstroke? :-)
    – David Carlisle
    Dec 3 at 23:14




    @jmite do you want to buy that original mspaint artwork brushstroke? :-)
    – David Carlisle
    Dec 3 at 23:14










    up vote
    5
    down vote













    The behavior of the character ? in math is defined by



    DeclareMathSymbol{?}{mathclose}{operators}{"3F}


    so it isn't affected by math alphabet changing commands such as mathsf. You can define



    DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}


    Example:



    documentclass{article}
    usepackage{amsmath} % not really used here

    DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}
    DeclareMathAlphabet{mathbbold}{U}{bbold}{m}{n}

    begin{document}

    [
    qmquadmathrm{qm}quad
    mathit{qm}quadmathsf{qm}quad
    mathtt{qm}quadmathbbold{qm}
    ]

    end{document}


    enter image description here



    A different approach: find a font that has the glyph that suits your need and do something like



    documentclass{article}
    usepackage{amsmath}

    newcommand{qm}{text{usefont{OT1}{iwona}{m}{n}?}}

    begin{document}

    [
    qm
    ]

    end{document}


    enter image description here



    Differently from using textbf or textit, both approaches will not be affected by the font current at the time math mode was entered. For instance, in a theorem statement, typically using italics, $textbf{?}$ would be typeset in boldface italic.






    share|improve this answer

























      up vote
      5
      down vote













      The behavior of the character ? in math is defined by



      DeclareMathSymbol{?}{mathclose}{operators}{"3F}


      so it isn't affected by math alphabet changing commands such as mathsf. You can define



      DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}


      Example:



      documentclass{article}
      usepackage{amsmath} % not really used here

      DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}
      DeclareMathAlphabet{mathbbold}{U}{bbold}{m}{n}

      begin{document}

      [
      qmquadmathrm{qm}quad
      mathit{qm}quadmathsf{qm}quad
      mathtt{qm}quadmathbbold{qm}
      ]

      end{document}


      enter image description here



      A different approach: find a font that has the glyph that suits your need and do something like



      documentclass{article}
      usepackage{amsmath}

      newcommand{qm}{text{usefont{OT1}{iwona}{m}{n}?}}

      begin{document}

      [
      qm
      ]

      end{document}


      enter image description here



      Differently from using textbf or textit, both approaches will not be affected by the font current at the time math mode was entered. For instance, in a theorem statement, typically using italics, $textbf{?}$ would be typeset in boldface italic.






      share|improve this answer























        up vote
        5
        down vote










        up vote
        5
        down vote









        The behavior of the character ? in math is defined by



        DeclareMathSymbol{?}{mathclose}{operators}{"3F}


        so it isn't affected by math alphabet changing commands such as mathsf. You can define



        DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}


        Example:



        documentclass{article}
        usepackage{amsmath} % not really used here

        DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}
        DeclareMathAlphabet{mathbbold}{U}{bbold}{m}{n}

        begin{document}

        [
        qmquadmathrm{qm}quad
        mathit{qm}quadmathsf{qm}quad
        mathtt{qm}quadmathbbold{qm}
        ]

        end{document}


        enter image description here



        A different approach: find a font that has the glyph that suits your need and do something like



        documentclass{article}
        usepackage{amsmath}

        newcommand{qm}{text{usefont{OT1}{iwona}{m}{n}?}}

        begin{document}

        [
        qm
        ]

        end{document}


        enter image description here



        Differently from using textbf or textit, both approaches will not be affected by the font current at the time math mode was entered. For instance, in a theorem statement, typically using italics, $textbf{?}$ would be typeset in boldface italic.






        share|improve this answer












        The behavior of the character ? in math is defined by



        DeclareMathSymbol{?}{mathclose}{operators}{"3F}


        so it isn't affected by math alphabet changing commands such as mathsf. You can define



        DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}


        Example:



        documentclass{article}
        usepackage{amsmath} % not really used here

        DeclareMathSymbol{qm}{mathalpha}{operators}{"3F}
        DeclareMathAlphabet{mathbbold}{U}{bbold}{m}{n}

        begin{document}

        [
        qmquadmathrm{qm}quad
        mathit{qm}quadmathsf{qm}quad
        mathtt{qm}quadmathbbold{qm}
        ]

        end{document}


        enter image description here



        A different approach: find a font that has the glyph that suits your need and do something like



        documentclass{article}
        usepackage{amsmath}

        newcommand{qm}{text{usefont{OT1}{iwona}{m}{n}?}}

        begin{document}

        [
        qm
        ]

        end{document}


        enter image description here



        Differently from using textbf or textit, both approaches will not be affected by the font current at the time math mode was entered. For instance, in a theorem statement, typically using italics, $textbf{?}$ would be typeset in boldface italic.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 3 at 23:48









        egreg

        704k8618753154




        704k8618753154






























            draft saved

            draft discarded




















































            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f463052%2fdifferent-looking-question-mark%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

            mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?