0
votes
0answers
35 views

Error trying to align series of equations

I am new to LaTex and I am using TexWorks and PDFLaTeX. This is the following code that I am trying to compile. El Random Fores es muy basico y intuitivo:%$$ \begin{gather} \text{Dado que tienes el ...
1
vote
0answers
56 views

“! Missing $ Inserted” After writing an equation? [closed]

I've written the following lines, \begin{equation} FeTiO_{3} + 2H_{2}SO_{4} \rightarrow FeSO_{4} + TiOSO_{4} + 2H_{2}O \end{equation} After this, the resulting titanium oxygen sulphate is ...
3
votes
3answers
141 views

Adding alignment marker & gives: Error: Extra }, or forgotten \right \end{align}

I have a weird problem with the Align environment in combination with brackets spanning more than 1 line. When I add alignment markers (&) to my equation in the Align environment I suddenly get an ...
3
votes
1answer
103 views

Eqnarray nested matrices produces alignment error

I wrote the following equation array. \begin{eqnarray} w_{0} & < & 1 \\ w^{m}_{i} & = & \left \{ \begin{matrix} w_{0} & i = 0 \\ ...
4
votes
1answer
62 views

Error persists after removing the code

I accidentally added an erroneous backslash to a code in the equation environment. Even after removing it - in fact even after removing the whole line - the error persists. ! Undefined control ...
2
votes
0answers
15 views

Error using split within an equation [duplicate]

I am getting multiple errors for using split within an equation. I use this command in a number of other places throughout my LaTeX document, but there is one case in which many errors are given ...
0
votes
2answers
975 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: ...
1
vote
1answer
71 views

What are the restrictions when using the TeX Live rpm distro?

I installed [root@magpie ~]# yum -q info texlive Installed Packages Name : texlive Arch : x86_64 Epoch : 3 Version : 2013 Release : 4.20131226_r32488.fc20 Size : ...
3
votes
1answer
67 views

Keep getting an error with the code for this equation!

I've been trying to get this to work, but I keep getting errors saying Paragraph ended before \end was complete. I can't see where the issue is though. Could someone help? \documentclass[12pt, ...
1
vote
1answer
62 views

Adjusting the summation sign: [duplicate]

I would like the limits to be vertically above and below the summation sign. I also need a larger summation sign... This is currently what I have: $x^2sin(x) = \sum_{n=-\infty\atop n\ne \pm ...
2
votes
1answer
214 views

LaTeX Error: \begin{eqnarray} on input line 186 ended by \end{document}?

With this set up (let me know if I've missed something out) \documentclass[11pt, a4paper, oneside]{Thesis} \graphicspath{{Pictures/}} \usepackage{amsmath} \usepackage[square, ...
1
vote
1answer
178 views

undefined control sequence in equation

I have loaded the amsmath package. I am not able to get the mass function of a negative binomial distribution. The code is: \begin{equation*} f(count_{i,t}|\lambda_{i,t},\theta_i) = ...
0
votes
1answer
785 views

Environment aligned undefined when trying to write a system of equations

I'm trying to write a system of equations in LaTeX. From the Wiki page Advanced Mathematics I took this example: \begin{equation} \left.\begin{aligned} B'&=-\partial \times E,\\ ...
1
vote
0answers
92 views

Cases equation problem - ! Missing { inserted [closed]

I am trying to compile this equation \beta\_t^i= \begin{cases} \overline{\beta}-i\cdot\sigma\_{\beta} & 0\leq i\leq 4\\ 0.0 & 5\leq i\leq7 \end{cases} and I am still ...
1
vote
0answers
2k views

“File ended while scanning use of \align*” [closed]

This is really odd. I have ended all environments. Triple checked them. When I add this last bit of equations using the align* environment, all kinds of errors appear. Predominantly, in this case ...
3
votes
1answer
91 views

Problem with using multline and align

I am LaTeX begginer and when I run this equation, I am getting the error: ! Argument \align* has an extra {. Here is the equation. \begin{multline} \begin{align*} C_s & = \displaystyle ...
2
votes
1answer
522 views

LatexIt not rendering properly

I've been trying to figure out how latexit works, however, when I enter this simple piece of code, I get a long message of different errors as "LaTeX Error Bad environment delimiter", "You can't use ...
7
votes
2answers
160 views

error in mathematical expression

I type in the code shown below for a displayed formula. However the output is not what it should be. Can you tell me what is the mistake over here? $$ \frac{(1-a)\frac{$q_{f}$}{{$q_{n}$}^a}}{$p_{n}$} ...
3
votes
3answers
669 views

Weird error with eqnarray

The following piece of code \begin{eqnarray*} \expval[\mathcal{N}] &= \frac{\rho_0}{\rho_1} ~, & \var(\mathcal{N}) &= \frac{\rho_0}{\rho_1} + 0.280 \, \frac{\rho_0^2}{\rho_1^2} ~, \\ ...
2
votes
2answers
57 views

Error in built output

This is difficult for me with all these $ signs. Now, where is the problem in the following MWE? \documentclass{article}% \usepackage{amsmath}% \usepackage{amsfonts}% \usepackage{amssymb}% ...
2
votes
1answer
70 views

Error from equation

Below is a MWE. While the pdf output seems ok, TeXniccenter displays error in the equation line. Not able to understand what's wrong. Happens even when I put in the code to close the curly brackets. ...
9
votes
1answer
6k views

Error in align environment - runaway argument? [duplicate]

Possible Duplicate: Blank lines in align environment \documentclass[12pt,a4paper]{article} \usepackage[version=3]{mhchem} \usepackage{siunitx} \begin{document} \begin{align*} \ce{K_a} ...
2
votes
1answer
1k views

Compilation error for discontinuous function definition

I am trying to render the following discontinuous function definition with the LaTeX code: \begin{equation} f(x) = \left\{ \begin{array}{lr} 0,5x & \text{for x} \in [0, 10] \\ ...
2
votes
2answers
241 views

Unable to include equation featuring special symbols

I am designing an article, and using the amsmath package. I tried to use the following to include an equation in my document: \begin{equation} |\psi\rangle = \alpha|0\rangle + \beta|1\rangle ...
6
votes
1answer
23k views

using subequations

I have an equation consisting of two parts and would like to use subequation for that. Here's the code: \usepackage{amsmath} \begin{subequations} \begin{equation} \operatorname{min}_{a,b,c} ...
19
votes
4answers
6k views

Making a new environment combining equation and split

I'm trying to define a new environment that consists of a split environment inside an equation environment. But I'm getting an error. Here's what I'm doing: \documentclass[a4paper,12pt]{article} ...