What is Math Mode












10















I'm new to TeX and tried to enter an equation using mathbb. I received a prompt



LaTeX Error: mathbb allowed only in math mode.
See the LaTeX manual or LaTeX Companion for explanation.


I thought I would try here for an explanation.










share|improve this question




















  • 1





    Phil's answer below is correct, but a further tip: the macro mathbb typesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced by mathbb{R} in math mode).

    – Niel de Beaudrap
    Apr 14 '11 at 6:48
















10















I'm new to TeX and tried to enter an equation using mathbb. I received a prompt



LaTeX Error: mathbb allowed only in math mode.
See the LaTeX manual or LaTeX Companion for explanation.


I thought I would try here for an explanation.










share|improve this question




















  • 1





    Phil's answer below is correct, but a further tip: the macro mathbb typesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced by mathbb{R} in math mode).

    – Niel de Beaudrap
    Apr 14 '11 at 6:48














10












10








10


2






I'm new to TeX and tried to enter an equation using mathbb. I received a prompt



LaTeX Error: mathbb allowed only in math mode.
See the LaTeX manual or LaTeX Companion for explanation.


I thought I would try here for an explanation.










share|improve this question
















I'm new to TeX and tried to enter an equation using mathbb. I received a prompt



LaTeX Error: mathbb allowed only in math mode.
See the LaTeX manual or LaTeX Companion for explanation.


I thought I would try here for an explanation.







math-mode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '16 at 22:46









Au101

7,06132253




7,06132253










asked Apr 12 '11 at 20:20









BrigBrig

153116




153116








  • 1





    Phil's answer below is correct, but a further tip: the macro mathbb typesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced by mathbb{R} in math mode).

    – Niel de Beaudrap
    Apr 14 '11 at 6:48














  • 1





    Phil's answer below is correct, but a further tip: the macro mathbb typesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced by mathbb{R} in math mode).

    – Niel de Beaudrap
    Apr 14 '11 at 6:48








1




1





Phil's answer below is correct, but a further tip: the macro mathbb typesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced by mathbb{R} in math mode).

– Niel de Beaudrap
Apr 14 '11 at 6:48





Phil's answer below is correct, but a further tip: the macro mathbb typesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced by mathbb{R} in math mode).

– Niel de Beaudrap
Apr 14 '11 at 6:48










3 Answers
3






active

oldest

votes


















13














You enter math mode by typing a dollar sign $, and you leave math mode by typing another dollar sign $. You should take a look at Chapter 3 of The Not So Short Introduction to LaTeX






share|improve this answer































    6














    TeX knows several modes, two of them are math mode and display math mode. Typesetting of ordinary text such as words nor numbers is different compared to mathematical formulas or a mathematical identifier such as x, which should look different from the text x (it does differ here in this editor only vaguely)



    In order to let TeX know which mode should be used, there are indicators to enter math mode:




    • Inline math mode, being entered $ and closed with $

    • Display math mode, used with an enclosing $$...$$ in plain TeX or with [...] in LaTeX

    • Typing inside begin{math}...end{math} in LaTeX

    • Several math environments in LaTeX enter the math mode automatically, such as equation, align, alignedat, gather etc.


    Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.






    share|improve this answer

































      2














      I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.






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


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f15662%2fwhat-is-math-mode%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        13














        You enter math mode by typing a dollar sign $, and you leave math mode by typing another dollar sign $. You should take a look at Chapter 3 of The Not So Short Introduction to LaTeX






        share|improve this answer




























          13














          You enter math mode by typing a dollar sign $, and you leave math mode by typing another dollar sign $. You should take a look at Chapter 3 of The Not So Short Introduction to LaTeX






          share|improve this answer


























            13












            13








            13







            You enter math mode by typing a dollar sign $, and you leave math mode by typing another dollar sign $. You should take a look at Chapter 3 of The Not So Short Introduction to LaTeX






            share|improve this answer













            You enter math mode by typing a dollar sign $, and you leave math mode by typing another dollar sign $. You should take a look at Chapter 3 of The Not So Short Introduction to LaTeX







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 12 '11 at 20:27









            Phil HirschhornPhil Hirschhorn

            7,05711730




            7,05711730























                6














                TeX knows several modes, two of them are math mode and display math mode. Typesetting of ordinary text such as words nor numbers is different compared to mathematical formulas or a mathematical identifier such as x, which should look different from the text x (it does differ here in this editor only vaguely)



                In order to let TeX know which mode should be used, there are indicators to enter math mode:




                • Inline math mode, being entered $ and closed with $

                • Display math mode, used with an enclosing $$...$$ in plain TeX or with [...] in LaTeX

                • Typing inside begin{math}...end{math} in LaTeX

                • Several math environments in LaTeX enter the math mode automatically, such as equation, align, alignedat, gather etc.


                Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.






                share|improve this answer






























                  6














                  TeX knows several modes, two of them are math mode and display math mode. Typesetting of ordinary text such as words nor numbers is different compared to mathematical formulas or a mathematical identifier such as x, which should look different from the text x (it does differ here in this editor only vaguely)



                  In order to let TeX know which mode should be used, there are indicators to enter math mode:




                  • Inline math mode, being entered $ and closed with $

                  • Display math mode, used with an enclosing $$...$$ in plain TeX or with [...] in LaTeX

                  • Typing inside begin{math}...end{math} in LaTeX

                  • Several math environments in LaTeX enter the math mode automatically, such as equation, align, alignedat, gather etc.


                  Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.






                  share|improve this answer




























                    6












                    6








                    6







                    TeX knows several modes, two of them are math mode and display math mode. Typesetting of ordinary text such as words nor numbers is different compared to mathematical formulas or a mathematical identifier such as x, which should look different from the text x (it does differ here in this editor only vaguely)



                    In order to let TeX know which mode should be used, there are indicators to enter math mode:




                    • Inline math mode, being entered $ and closed with $

                    • Display math mode, used with an enclosing $$...$$ in plain TeX or with [...] in LaTeX

                    • Typing inside begin{math}...end{math} in LaTeX

                    • Several math environments in LaTeX enter the math mode automatically, such as equation, align, alignedat, gather etc.


                    Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.






                    share|improve this answer















                    TeX knows several modes, two of them are math mode and display math mode. Typesetting of ordinary text such as words nor numbers is different compared to mathematical formulas or a mathematical identifier such as x, which should look different from the text x (it does differ here in this editor only vaguely)



                    In order to let TeX know which mode should be used, there are indicators to enter math mode:




                    • Inline math mode, being entered $ and closed with $

                    • Display math mode, used with an enclosing $$...$$ in plain TeX or with [...] in LaTeX

                    • Typing inside begin{math}...end{math} in LaTeX

                    • Several math environments in LaTeX enter the math mode automatically, such as equation, align, alignedat, gather etc.


                    Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jan 13 at 7:44

























                    answered Jan 1 '17 at 7:40









                    Christian HupferChristian Hupfer

                    149k14195390




                    149k14195390























                        2














                        I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.






                        share|improve this answer






























                          2














                          I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.






                          share|improve this answer




























                            2












                            2








                            2







                            I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.






                            share|improve this answer















                            I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Apr 13 '17 at 12:34









                            Community

                            1




                            1










                            answered Aug 30 '11 at 9:37









                            DrorDror

                            11.1k1972150




                            11.1k1972150






























                                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.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f15662%2fwhat-is-math-mode%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

                                How to send String Array data to Server using php in android

                                Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                                Is anime1.com a legal site for watching anime?