Linked Questions

2
votes
0answers
167 views

Eqnarray vs align environments [duplicate]

I keep reading that \begin{align} is preferred to \begin{eqnarray}. Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right ...
177
votes
5answers
600k views

How to break a long equation? [duplicate]

I have a long equation but long enough to occupy two lines. I want to break it to improve readability. How can I break it? \begin{equation} F = \{F_{x} \in F_{c} : (|S| > |C|) \cap (minPixels &...
121
votes
2answers
163k views

How to color math symbols?

One can use the command such as \textcolor[rgb]{1.00,0.00,0.00}{boundary} to color the word "boundary" in a document. Here is my question: How to color the math symbols in $$? For example, can one ...
61
votes
6answers
13k views

Documents with typical LaTeX errors

I am giving a LaTeX course and have the idea to let the students find and solve problems within a few documents. Basically they shall learn how to create minimal examples and read error messages. ...
62
votes
4answers
5k views

Defining custom commands is bad style?

I recently received this in a e-mail from my professor Good LaTeX style would preclude creating any of your own commands, counters, etc. (Most journals would reject submissions with user-defined ...
44
votes
3answers
35k views

Footnote in math mode

How can I insert a footnote into math mode? I tried this (with required packages) \usepackage{amsmath} \usepackage{hyperref} \usepackage{ccaption} And i.e if I try \begin{eqnarray} foo && ...
29
votes
4answers
63k views

How to correctly format (and align) a LaTeX proof?

I'm new to LaTeX and I'm trying to figure out how to correctly format a proof. Can someone show me a basic template for how to do this? The part I am having the most trouble with is creating new ...
42
votes
3answers
7k views

Which command should I use for displayed equations?

A number of related questions have already been asked about this issue: align vs equation which is preferable to what to do with this hyperref note on amsmath and even eqnarray vs align But I'm ...
22
votes
4answers
153k views

Write fraction out of equation

I want to write as a math fraction 1/4 " ( a quarter of inch). I want to write this fraction out of an equation because is a characteristic of an element.
17
votes
4answers
47k views

Illegal unit of measure(pt inserted)

I can't find my fault and appreciate any help for curing the error. Here is the code: \documentclass[a4]{paper} \usepackage{graphicx,slashed,color,amssymb} \usepackage{xspace,colortbl,times,pause} %\...
20
votes
4answers
67k views

How to draw the calculation of a determinant?

I'm trying to reproduce the following calculation of a determinant in latex: Any ideas? I thought of using the tabular environment but unfortunately I'm not able to align the "=" correctly.
20
votes
3answers
6k views

Aligning the minus sign in a matrix

I would like to be able to align the minus sign in a matrix so that the minus is to the left of the numerical column. I have written my matrix as the following: \begin{eqnarray} \left( \begin{...
19
votes
3answers
4k views

align vs. equation: Which way is typograpically preferred?

The main differences between align and equation are the spaces and that align cannot be used with split, as far as I know. What would be, from a typographic point of view, the preferred practice? ...
14
votes
4answers
962 views

Opaque error messages given by common environments

This is a public-interest question. The title of the question Why does this error keep popping up even though I clearly fixed it? poignantly expresses a fundamental truth of LaTeX usage: sometimes ...
15
votes
4answers
16k views

How to align 'implies that' symbols neatly in equation array

The following is an equation array I have: \begin{eqnarray} \Rightarrow\eta_t &=& \eta_x(\omega \eta-(\varphi_x)_s) + (\varphi_y)_s\notag\\ \Rightarrow\eta_t\,(\varphi_y)_s &=& \eta_x(...

15 30 50 per page