{math-mode} is about typesetting mathematical content, e.g. tweaking the appearance of spacing and symbols in a formula, or producing specific mathematical constructs. For questions about "wrapper" environments like equation or align, consider the tag {equations}.

learn more… | top users | synonyms (2)

3
votes
1answer
82 views

Line break and text aren't working

I am new to LaTeX and I am having trouble with \text and line breaks. My code is as such $$\text{if} y^{(t)} \neq h(x; \theta, \theta_{0}) \text{then} \\ \theta^{(k+1)} = \theta^{k}+ ...
0
votes
0answers
37 views

Math signal - module

How I make in Latex the signal module or absolute value, but biggest? The signal module that I have in the keyboard of Latex is small to the math equation. I wanna know what are the sizes availables.
2
votes
2answers
47 views

How to replace \varnothing by \phi

I have written \varnothing in place of \phi everywhere in my thesis. Now, I want to change it by \phi. So, does there any technique so that I change at only one place and it changes everywhere ?
3
votes
1answer
48 views

Why does lualatex allow for tt mathmode symbols while pdflatex does not?

Consider this simple example: \documentclass[preview]{standalone} \usepackage[utf8]{inputenc} \begin{document} $\texttt{\lambda}$ \end{document} Running with lualatex works fine, but pdflatex ...
1
vote
1answer
50 views

narrow mode math environment in tikz nodes

I'm looking for a way to enforce a 'narrow' math mode in the following sense: Instead of writing every where the brackets {+} to reduce the spacing like here \documentclass[10pt,a4paper]{article} ...
5
votes
2answers
55 views

superscripting a dot which is enclosed in square brackets

This question is about how to extend the nice answer here by @egreg http://tex.stackexchange.com/a/304078/103130 to the following case (which is close to what I need except that the brackets should ...
4
votes
2answers
120 views

putting square brackets around the underline of a letter (in math mode)

I would be very grateful for some help. \documentclass{article} \begin{document} $ a,\underline{b},\underline{c},d $ \end{document} I need to enclose the underline under the letter $b$ in small ...
1
vote
1answer
60 views

Automatically identify the dependent package for LaTeX symbol command

Given a command like \kreuz, is it possible to create an application that will smartly recognise and import its dependent package wasysym, to enable its rendering out on a webpage? The aim is to have ...
3
votes
3answers
39 views

Gather equations and tables side-by-side

How can I make both the table and the gather be on the same level. Is there a better way than tabularx? \begin{tabularx}{\linewidth}{X|X} {\begin{gather*} C_{g|in} =C_{gn}+C_{gp}\\ ...
6
votes
3answers
222 views

Typeset subscript material automatically in upright font shape

As discussed for example here: Should subscripts in math mode be upright? subscripts should usually be typeset upright. Is there a possibility to this automatically e.g. inserting something to the ...
4
votes
2answers
512 views

How to make italic greek letter \lambda

I need italic and non-italic \lambda in the same document. Since the \mathit{\lambda} does not work, I got idea to simulate italic by changing fonts (Times New Roman for italic lambda, and Latin ...
3
votes
1answer
66 views

How do I improve the quality of png images when converting to html using htlatex?

I have tried to convert my LaTeX document into xhtml running the following commands (found here): htlatex source.tex tidy -asxhtml -output seconddraft.xhtml firstdraft.html Everything displays ...
2
votes
0answers
45 views

Is there a package which does typeset subscripts automatically upright or provides an easy syntax to do to so?

Some time ago there was a question of how to typeset subscripts automatically upright (Typeset index upright automatically). The answer works, but it seems like a hack. Is there any package out ...
0
votes
1answer
30 views

unset rowcolor in eqnarray

I have a document with a defined \rowcolors Now in a math environment, a cases element is rendered with this table background overlapping the brace: This can be fixed by adding \rowcolors{1}{}{} ...
4
votes
1answer
106 views

Need to type -4x - 6

I am new to LaTeX. I need to type: -4x - 6 I used following command: $ –4x – 6$ It gave me the output as 4x6: How can I type -4x - 6 instead of 4x6?
-1
votes
2answers
77 views

how do i create a linebreak in an inline math formula?

I tried to make a equation in Latex but the parentheses disappear near the edge of the page. How I put the equation in two lines? $\left(\omega=\frac{d\theta}{dt}=\int_{0}^{\dot{\theta}} ...
3
votes
2answers
45 views

How do I scale mathbbol symbols?

I have need of blackboard bold Greek symbols so am using the mathbbol package. I would prefer to have the symbols at 1.1 design size, say. How do I arrange to scale all the bbol symbols by this ...
4
votes
1answer
147 views

How do you make a big Laplace Transform symbol

\documentclass{article} \usepackage[hmargin=1in,vmargin=1in]{geometry} \usepackage{amsmath,cancel,color,mathrsfs} \begin{document} Derivation of $ \mathscr {L} \{\int_0^{t} f(\tau)\,d\tau\} $ ...
3
votes
1answer
41 views

Sans-serif bold math with newtxmath

I'm writing an article whose math font needs to be Times New Roman. To this end, I'm using the newtxmath package. However, it doesn't seem to support sans-serif bold in math mode. Usually I can write ...
1
vote
0answers
24 views

Not in outer par mode

I am using the following code and getting the error "Not in outer par mode" when i create my tables: \begin{table}[ht] \setlength{\extrarowheight}{4pt} \centering \begin{tabular}{cc|c|c|} ...
2
votes
0answers
17 views

Is there an \intertext equivalent for IEEEeqnarray?

I mostly use align* environments throughout my document and make heavy use of the \intertext macro, but was dismayed to find no such thing exists for IEEEeqnarray. I searched the webs (e.g. How To ...
6
votes
3answers
116 views

Problem related with aligned

I'm trying to place 3 equations with some dots between them and I don't know why only the first \cdots is right aligned and the others are a mess. This is the code: \begin{equation} \begin{aligned} ...
1
vote
1answer
24 views

Changing Math-Font-Size with DeclareMathSizes

I am thrilled that \DeclareMathSizes gives such nuanced control over the sizes of the different parts of the equations. Experimenting with the mt-size, s-size and ss-size paramters. Here's ...
1
vote
2answers
73 views

Subscripts in math mode independent of the text that comes before

Here there is a problem I don't know how to solve. If we write $D^{*} _{text}$ what happens is that textis going to be subscripted below *, even if we have put a space between D^{*}and text. How ...
5
votes
3answers
402 views

Make equation look nicer

I have an equation which has a fraction to the power of another fraction. The fraction in the power is really small. I tried using \cfrac to change the size of that fraction but then the constant and ...
2
votes
1answer
44 views

How to tag an equation? [duplicate]

I am typing in texmaker but using \tag{} is not giving me the desired result. It shows an error. Here is sample \textbf{Proof-} It is clear that $Inn(G)\subseteq Aut_U(G)$. So we let $\varphi \in ...
4
votes
2answers
44 views

avoid space after thousands separator in math mode

In math mode, LaTeX inserts a small space after a comma. This looks nice in $a,b,c$, for example. But I don't like the way it looks when using a comma as a thousands separator, e.g., $x = 100,000$. ...
8
votes
1answer
1k views

Making a thicker \cdot for dot product (that is thinner than \bullet)

I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like: I have tried a couple of ...
3
votes
1answer
45 views

! Undefined control sequence [closed]

I am continually receiving ! Undefined control sequence. 3. $f(x) = -3x^{2} -5x +7$\\ $-3x^{2} - 5x +7$\\ $-3x^{2} - 5x = -7$\\ $x^{2} - 5/3x = -7/3$\\ $x^{2} - 5/3x +25/36 = -7/3 + 25/3$\\ $(x+ ...
9
votes
0answers
51 views

Side effects of changing blackboard bold font with \setmathfont

I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the ...
4
votes
3answers
203 views

Graphics and brackets not vertically aligned within align environment

I'm trying to include small graphics within an equation setting (they're little diagrams of mathematical knots), using \includegraphics within the \begin{align} environment. The graphics themselves ...
4
votes
1answer
58 views

\bar only allowed in math mode error

I am trying to type up an equation for my discrete math class but I keep on getting the "\bar allowed only in math mode" error. My previous usage of \bar worked out fine. $p( \bar{E} \cap \bar{F}) = ...
1
vote
2answers
87 views

How can I create a mathematical sign chart?

I've done some Googling and haven't found any way to create the below image in latex: The derivative isn't important; it's the line with the +, 0 below it including the -1 and 2. Any ideas how to ...
10
votes
4answers
6k views

How to export a equation as a image without background?

For example, if we have a equation on a file like: \documentclass[12pt]{standalone} \usepackage{varwidth} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath, amssymb, ...
5
votes
1answer
54 views

How to automatically remove additional space introduced by primes of left superscripts?

I need to use left superscripts. I know that there are packages as mathtools, tensor and leftidx. But they all suffer from the same typographical problem. If I typeset a left superscript and this ...
2
votes
2answers
193 views

Curly braces in math mode

How do I get curly braces to show in math mode? When I write this: $ K_1 = {s_1}, K_2 = {s_2, s_3, s_4} $ The braces disappears in the output.
2
votes
1answer
30 views

pgfplots: minor tick num on one axis

I was just wondering if it was possible to use minor tick num on one axis only. \begin{axis}[ axis x line = bottom, axis y line = left, minor tick num=4, xlabel={$t(s)$}, xmin=0,xmax=5, ...
5
votes
1answer
242 views

How to restrict TexStudio macro script to work only in text/normal mode?

I understand that you can write (?highlighted-as:numbers,math-delimiter,math-keyword) before your trigger and TexStudio will execute the macro only in Math mode. I already tested that in "scripts ...
6
votes
4answers
463 views

How can I type formula cosine of two vectors nice?

I want to find cosine of two vectors, I define the command \cross for cross product of two vectors. I tried \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
1
vote
1answer
23 views

fleqn option makes math internal mode (inner) not detected

The following MWE points out that, without fleqn class option, math internal mode is detected ("i" and "o") but, as soon as fleqn class option is enabled, this mode is not detected anymore ("i" and ...
4
votes
2answers
75 views

tikz pgf: Missing \endcsname inserted

I am getting the following error when trying to use mathematic symbols as part of a message caption: Missing \endcsname inserted Here is a working minimal example: \documentclass{article} ...
1
vote
0answers
23 views

Insert command with keyboard shortcut in TeXstudio

For inserting dashed lines inside matrix structures, I have to use the command \hdashline from the package arydshln prodominantly. I am wondering whether TeXstudio supports assigning a specific ...
2
votes
1answer
75 views

how to redefine single letter in math mode

I'd like to use in math mode instead the only letter g the \mbox{g} (with another tail). How possible to redefine it globally? I found example to redefine letter z: \catcode`\z=\active \def z{Yawn, ...
1
vote
2answers
73 views

Making the product operator (pi caps) with the extremes above and below the symbol

How can I make the symbol of product operator (pi caps) making the extremes remain the same above and below the symbol? (I do not want the extremes on the right side of the symbol) I wanna write this ...
7
votes
2answers
117 views

Comments/tips on a (non Latex) pdf including mathematical formulas

My goal : I correct copies from students that I scan to pdf. I wish I could make the annotations on the scanned copies rather than on the physical paper. Today, I have to scan the copies again to have ...
1
vote
1answer
27 views

vertical adjustment in mathmode

I created the symbol ${}_{\ulcorner\!\urcorner}$ by typing ulcorner followed by urcorner with the appropriate spacing, and forcing it down by placing it into a subscript. However, this made the symbol ...
3
votes
2answers
86 views

Bad Bottom Spacing For Equation After Section

As shown below the bottom spacing after the first equation is smaller than it should be to look right. I know I could manually add space, but is there a way to fix this automatically? I do know I ...
1
vote
2answers
211 views

How I make brackets in LaTeX?

How I make this brackets and the formula below in LaTeX?
3
votes
1answer
54 views

Combining multiple math-mode glossary entries

I would like to combine 2 or more math mode glossary entries to form a complete expression in math-mode. Background is a separation of nomenclature and symbols. I use expressions as in the second ...
5
votes
1answer
457 views

Why can't I use \pi or \equiv in a list?

The problem comes when I try to use a '\' inside an item tag. In my code: \begin{itemize} \item \pi\textsubscript{k} \item f\textsubscript{k}(x) \equiv .... \end{itemize} both \pi and ...