Math-Mode is a term used in TeX-based automatic typesetting systems. When in math-mode (as opposed to paragraph-mode or other lower-level modes), all input is interpreted as mathematical notation.
Questions tagged [math-mode]
19 questions
20
votes
7 answers
How do I show a caret (^) in math mode in LaTeX?
I'm trying to display a caret (^) in math mode in LaTeX to represent the exclusive or operation implemented in the "C languages". By default, ^ is for creating a superscript in math mode. The closest I can seem to get is by using \wedge, which isn't…

Anthony Cramp
- 4,495
- 6
- 26
- 27
9
votes
3 answers
editing latex in vim : how to change text to math mode
I am using vim-latexsuite to edit a latex file. The text is originally from google doc and there are many math symbols not written in math mode.
I have to add $ before and after each symbol. But that is painful. (Search/Replace does not work because…

user875367
- 313
- 3
- 9
8
votes
2 answers
Prevent Emacs from linebreaking in TeX inline math
I use Emacs in combination with AUCTeX to edit manuscripts with a lot of inline maths using $. When automatic filling (e.g., with M-q), Emacs often breaks these inline math environments at positions which disturbs the fluency of reading (e.g., in…

Xlea
- 495
- 1
- 4
- 14
7
votes
1 answer
Pandoc, markdown, powerpoint: support for equations?
Pandoc can now generate powerpoint presentations from markdown. This seems to work quite well.
However, when I try to include an equation – even something as simple as $a=2$ – the whole contents of the slide disappears. Is this a bug or a feature?…

January
- 16,320
- 6
- 52
- 74
3
votes
1 answer
Wrong offset when using math mode and subscripts in Matplotlib and OSX
I have some plots where I would like to use subindices in some labels but whenever I use math mode all the labels appear shifted. Can I set some offset for all my labels? Is there anything I'm missing for using math mode?
This is the plot without…

Josep Valls
- 5,483
- 2
- 33
- 67
3
votes
4 answers
How to make an equation span the whole page / line in LaTeX?
I have this equation and it's quite big (basically a FDM one) but it aligns with the text and then continues out on the right side to the nothingness. I've tried stuff like \begin{center} and \hspace*{-2.5cm} but to no avail. I want it to use the…

Reed Richards
- 4,178
- 8
- 41
- 55
2
votes
1 answer
\newenvironment with a tcolorbox with an optional title
I would like to create a special environment that encloses a math mode inside a tcolorbox. The tcolorbox title assignment must be optional, but in general I am interested in making optional tcolorbox options assignment. I am trying…

Lorenzo Epifani
- 101
- 12
2
votes
1 answer
How can I change default background color in math mode in tex?
I would like to change the default background color while writing in math mode in latex (but not for the inline math mode). I can achieve the result that I want using, for example, this piece of…

Lorenzo Epifani
- 101
- 12
2
votes
0 answers
xtable with latex math symbols in the table
I'm trying to write this table with checkboxes using the xtable package. It would seem that the checkboxes that I've chosen are what is throwing the error. I'm just at a loss how to fix it.
library(xtable)
## I want to create a table with the…

wolfste4
- 39
- 7
2
votes
1 answer
I want to use 'LaTeX' syntax (MathJax) in my blog
I checked many instructions on how to set LaTeX in blogspot. I went to "add a gadget", "Configure HTML/JavaScript", and How to use LaTeX on blogspot?.
Then I posted this code: