{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)

0
votes
0answers
49 views

\in and \forall symbols

Here is my code \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
1
vote
1answer
49 views

Mathematical Function Notation [duplicate]

How do I get this sort of notation in LaTeX? I'm using TeXmaker.
10
votes
3answers
239 views

How to create vertical and horizontal dotted lines in a matrix?

Similar to this question, I am trying to output a similar matrix with dotted line instead of dashed line. Is there anyway to do this? I also try to use these three packages: ...
1
vote
0answers
32 views

Can't recognize math symbol - bold “minus” above variable

I'm trying to "latex down" some Kalman equations and I'm not able find a way how to make that symbol above k variable in equation "Predict" (1) and (2) For me, it seems like \bar{} but still I ...
1
vote
0answers
29 views

Token not allowed in a PDF string: hyperref warning affecting the bookmarks in the PDF [duplicate]

I have written a text in documentclass book and I have quite a lot of maths into subsections titles. These titles are of course correctly rendered in the pdf page but are not in the bookmarks: for ...
4
votes
1answer
91 views

Using unicode “combining right arrow above” to generate vector command

This question originated from a confusion created by some Linux systems where, for some software (editor and browser) the combining unicode characters appear to apply to the right (instead of ...
4
votes
1answer
42 views

How to type argmin over a variable in plain TeX

I am forced to use plain TeX instead of LaTeX and I don't know what is the proper way to type argmin with some variable under it. I know $$ \min_b. $$ And I would like to do someething similar, ...
3
votes
2answers
65 views

Word wrap in \text{} in math mode

I'm trying to type formula, which requires some textual comments. I perform this using \text{} command in math mode. However, word wrap doesn't work. What should I do? Code sample: ...
6
votes
2answers
90 views

Hiding and unhiding math text

Can Latex be used to type a math article containing invisible proofs, each of which becomes visible under the relevant theorem when a button or link is clicked?
4
votes
2answers
126 views

About \def\b*{\begin{align*}}

I want to make the code shorter. I defined the following pair of macros: \def\b*{\begin{align*}} \def\e*{\end{align*}} My point is that I saw this is a document, with \def\b*{\begin{eqnarray*}} ...
5
votes
1answer
49 views

Insert Spaces in Command Using Math Mode

I borrowed a predefined command (below), which uses math mode. Within the [[ ]], obviously, it doesn't observe spacing. Is there a way to make the command observe spacing within the [[ ]] ...
1
vote
1answer
73 views

Problem with latex math expression

I've been trying to write p = sqrt2^(sqrt2) like this $p= \sqrt 2^ (\sqrt2)$. And, the output I am getting is not what I am looking for. How can I write this properly?
4
votes
3answers
105 views

Spacing after \times

When using \times after some wide symbol, the space following \times becomes smaller than wanted. For example \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} > ...
0
votes
1answer
54 views

Tabular with Math symbols

I try to compile the following code and my latex doc shows an error. \documentclass[a4paper]{article} \usepackage[greek]{babel} \usepackage[iso-8859-7]{inputenc} \usepackage{ amssymb, ...
3
votes
1answer
80 views

How to improve in-text math expressions with multiple delimiters such asl `(`, `|`?

Consider this equation: first $\lceil (cN-n) |S_{n+1}|\rceil$ points which renders to: Is there a way to improve this, from the perspective of readability? The only improvement I could suggest ...
1
vote
2answers
49 views

writing the details about variables of a equation (math) in IEEEtran

I think that this is a very basic question but i couldn't find any answer. I have written the following equation in latex: \begin{equation} U= \frac{\bar{X}_1 ...
2
votes
1answer
92 views

Custom typeface for sans serif in math mode

How to set custom typeface for sans serif in math mode for pdfLaTeX? Background: I use \usepackage[bitstream-charter]{mathdesign} which does not provide sans serif font, CM-super is used instead for ...
3
votes
1answer
47 views

nccmath: fleqn numbering

The following example illustrates the incompatibility of nccmath/fleqn and hyperref \documentclass{article} \usepackage{nccmath} \numberwithin{equation}{section} \setlength{\parindent}{0.0ex} % ...
3
votes
1answer
32 views

How put Minimize in place of min in a typical optimization problem?

The typical is $\displaystyle{\min_{x\in S} f(x)}$ but I want to view the word "Minimize" in place of "mín" how can I obtain this?
1
vote
1answer
43 views

Sub- and superscript in a different font and in different locations

In an equation, I need sub- and superscript in a different font, other equation part as a different font. I am using the MiKTeX version 2.9. How to get this style in the output? The superscript ...
2
votes
1answer
52 views

Subscript in macro

I would like to define a new command like the following. The latex when compiling should emit I_{wr} when given without arguments, or the optional arguments should come as a subscript. ...
5
votes
2answers
138 views

font size in math mode

$\sum\limits_{\substack{locations \\ L_j}}$ The word locations is quite long - longer than the summation symbol Sigma. I would like to control the size of only the word locations, but I am having ...
4
votes
3answers
121 views

How do you write the “estimate” equal sign?

I'm looking for a code, which can depict the estimate equal sign as in http://en.wikipedia.org/wiki/Equals_sign#Other_related_symbols (6th sign: ESTIMATES).
7
votes
1answer
138 views

Integral Sign $\int…$

does anybody know how to write integral signs in LaTex that are slanted to the left, and not the right. See here if you do not know what I mean: (From ...
2
votes
2answers
51 views

Description list for equation's terms

I'm trying to create a custom description environment (using enumitem) so I can describe the terms of an equation. What I want is to define item labels that are defaulted to inline math mode, and also ...
32
votes
6answers
1k views

How to typeset the house of an algebraic number?

I would like to reproduce the following text but I couldn't find the house symbol neither through Detexify nor by looking through the Comprehensive LaTeX Symbol List. I also tried combining ...
2
votes
0answers
36 views

Need to split right bracket at side of matrix into three smaller brackets [duplicate]

To the right of this matrix I have a big right curly bracket with the text "2m terms" that spans the height of the matrix. I need to replace this right bracket with three smaller ones that together ...
5
votes
1answer
72 views

Math expression in header

I'm trying to put short math expressions in my chapters or sections like this: \chapter{Basic topological concepts in $\mathbb{R}^{n}$ } The problem is that headers seem to ignore the math part and ...
2
votes
1answer
33 views

Need to represent information about a matrix, attached image showing what is needed [duplicate]

The following matrix is of size $10 \times 10$, however it is representing an $m \times m$ matrix. Hence I need to signify that the first five columns represent terms $0$ to $\frac{m}{2} - 1$ and the ...
2
votes
2answers
161 views

LaTeX Error: \mathbb allowed only in math mode.

I'm writing a package which, among other things, gives abbreviations for \mathbb, as follows: \newcommand{\A}{\mathbb A} \def\B{\mathbb B} \def\C{\mathbb C} \newcommand{\D}{\mathbb D} ...
1
vote
0answers
37 views

What are these characters Ö and Þ supposed to be and how do I configure my internet browser to have them load properly? [closed]

tl;dr: My internet browser is not configured properly so characters are not loading properly. I am using the default Firefox 24.0 in Linux Mint 16, and have not installed any typesetting software. I ...
3
votes
1answer
37 views

Vdots are taller than the rest of text [duplicate]

When I use \vdots within the align environment, its size is bigger than of the rest of characters. I want to get rid of the gap (purple colour on the picture below) or somehow move \vdots upward ...
5
votes
2answers
84 views

Big Euclidean norm?

I would like to replace the Euclidean norm and the first pair of brackets with bigger ones but I get errors. Can you help me to fix it? \documentclass[11 pt,a4paper,oneside,openany, ...
0
votes
0answers
45 views

How do I use different fonts for mathematical equations?

The title says it all. This is my code snippet: \documentclass[12]{article} \usepackage{amsmath} \usepackage{tex4ht} \usepackage{chemarrow} \usepackage[usenames,dvipsnames]{color} ...
1
vote
2answers
52 views

Getting a weird output using \alignat (picture and code included)

When I run the following code \begin{alignat}{2} \text{min} & \sum_{t\in T}\sum_{v\in V}\sum_{(i,j)\in W_{v}}(c_{ijv}-u_{i}- v{j})x_{ijvt}+\sum_{j\in J}\sum_{t\in T}M_{jt}s_{jt} \\ ...
1
vote
1answer
79 views

Error in a math expression

I have a problem with this expression: $$n \geq \Bigg\lvert \bigcup_{l \leq |A_{i}| \leq 2l} |A_{i}| \Bigg\rvert \geq \sum_{i = 1}^{N_{l}}\Bigg\lvert A_{i} \Biggl \bigcup_{j =1}^{i-1} A_{j}\Biggr ...
3
votes
1answer
37 views

Page break in dmath equation environment

I have a very very long equation. I want it to split over different pages automatically. My quation contains 1700 terms and it may go for many pages. Is it possible with dmath or any other way? e.g., ...
1
vote
2answers
47 views

Parenthetical Errors [closed]

\documentclass{article} \begin{document} 8.) Now calculate the logarithm of the $n$th term in the sequence, i.e. log($a_{n}$). \indent Use the series representation of the logarithm \\ \\ \indent ...
0
votes
0answers
42 views

Derivative in two point [duplicate]

I need to write a derivative formula with two variables after the "pipe" symbol. I have used the following \begin{equation} \left. \frac{df}{dx} \right|\ ^{x=0}{_{u=0}}\end{equation} but it doesnt ...
4
votes
1answer
100 views

equation in math mode

\begin{equation} E-\epsilon_{i}-T_{i}-V_{0,i}(\textbf{R}) \tilde \chi_{i}^(+)(\textbf{K_{i}},\textbf{R})&=0 \end{equation} Missing $ inserted and I don't know why. Can anybody help me? thanks ...
4
votes
1answer
83 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
5
votes
2answers
87 views

LaTeX parenthesis problem with multline environment [duplicate]

I have a problem with the different size of parenthesis with multiline (see image). Actually i don't care about the different size of the square parenthesis on M and \bar{M} but I really care about ...
3
votes
1answer
63 views

punctuation mark should be placed after the end of math mode

When writing there are $n!$ possible permutations of $n$ objects, lacheck complains that "punctuation mark should be placed after the end of math mode". Why is this, and how should I do this ...
5
votes
1answer
91 views

Problem with spacing after \[…\] environment when using the \textcolor{} command

I'm getting odd spacing/indentation behavior when the \textcolor command is combined with the \[ ... \] environment. I did find a fix by putting % in a couple places, as outlined below, but I'd like ...
0
votes
2answers
114 views

\begin{equation}: “Display math should end with $$” error?

I'm pretty new to LaTeX, completely new actually, and there is one thing I can't quite understand. I get the error "Display math should end with $$" when writing an equation like this: ...
0
votes
0answers
34 views

Get a large 0 in a diagonal or triangular matrix matrix [duplicate]

I am interested in creating a matrix that is diagonal (or triangular even) that has a large 0 below the diagonal. Is there a way that I can create a matrix that has entries on the diagonal and then ...
2
votes
1answer
31 views

Substitute characters in text-mode with their math equivalent

I'm looking for a TeXway to substitute - (or other characters) while in text-mode with their math equivalent (i.e. $-$) in one environment/group. I'm looking for a 'switch' (\foo # and not \foo{#}). ...
5
votes
1answer
266 views

Putting normal letters in between Greek ones

So I am trying to write out Gauss' law for gravitation and I am having a hard time figuring out how to write it out without an error. I am currently trying to write in an equation block ...
4
votes
1answer
35 views

How to use the \pderiv and \D macros of the cool package with subscripts?

Is it possible to use the \pderiv or \D macros of the latex cool package when the derivative order and the variable uses a subscript? This fails with a "double subscript" error: \D[a_1]{f}{x_1} ...
0
votes
1answer
21 views

How to deal with theorem vs thm mismatch

I often find that I want to include a LaTeX file that has uses the environment theorem defined, but my document class has instead defined environment thm, so I get errors like Environment theorem not ...