What is Math Mode
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
add a comment |
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
1
Phil's answer below is correct, but a further tip: the macromathbbtypesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced bymathbb{R}in math mode).
– Niel de Beaudrap
Apr 14 '11 at 6:48
add a comment |
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
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
math-mode
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 macromathbbtypesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced bymathbb{R}in math mode).
– Niel de Beaudrap
Apr 14 '11 at 6:48
add a comment |
1
Phil's answer below is correct, but a further tip: the macromathbbtypesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced bymathbb{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
add a comment |
3 Answers
3
active
oldest
votes
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
add a comment |
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 plainTeXor with[...]inLaTeX
- Typing inside
begin{math}...end{math}inLaTeX
- Several math environments in
LaTeXenter the math mode automatically, such asequation,align,alignedat,gatheretc.
Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.
add a comment |
I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Apr 12 '11 at 20:27
Phil HirschhornPhil Hirschhorn
7,05711730
7,05711730
add a comment |
add a comment |
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 plainTeXor with[...]inLaTeX
- Typing inside
begin{math}...end{math}inLaTeX
- Several math environments in
LaTeXenter the math mode automatically, such asequation,align,alignedat,gatheretc.
Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.
add a comment |
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 plainTeXor with[...]inLaTeX
- Typing inside
begin{math}...end{math}inLaTeX
- Several math environments in
LaTeXenter the math mode automatically, such asequation,align,alignedat,gatheretc.
Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.
add a comment |
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 plainTeXor with[...]inLaTeX
- Typing inside
begin{math}...end{math}inLaTeX
- Several math environments in
LaTeXenter the math mode automatically, such asequation,align,alignedat,gatheretc.
Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.
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 plainTeXor with[...]inLaTeX
- Typing inside
begin{math}...end{math}inLaTeX
- Several math environments in
LaTeXenter the math mode automatically, such asequation,align,alignedat,gatheretc.
Several characters/symbols being connected to math content require entering the math mode, such as mathbb{R} etc.
edited Jan 13 at 7:44
answered Jan 1 '17 at 7:40
Christian HupferChristian Hupfer
149k14195390
149k14195390
add a comment |
add a comment |
I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.
add a comment |
I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.
add a comment |
I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.
I guess that an even better way to enter math mode is to use ( and ), as discussed in this answer.
edited Apr 13 '17 at 12:34
Community♦
1
1
answered Aug 30 '11 at 9:37
DrorDror
11.1k1972150
11.1k1972150
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
Phil's answer below is correct, but a further tip: the macro
mathbbtypesets capital letters as "black-board bold" symbols, such as the symbol ℝ which usually denotes the set of real numbers (and which is produced bymathbb{R}in math mode).– Niel de Beaudrap
Apr 14 '11 at 6:48