When is it preferable to use \[ instead of equation*? I find I often use the equation* environment in the following way:  \begin{equation*} some expression \end{equation*}   Should I instead be using the \[ as below?  \[ some expression \]
120809
So, I'm writing a mathematics paper, and let's say I have the following:  \begin{equation*} 2+2=4 \end{equation*}   Is this the proper way to do an unnumbered equation, or is it preferred to do the following:  \[ 2+2=4 \]   My question really is: what's the difference between doing \begin{equation*} and \begin{equation*} versus doing \[ \]? Is there a setting in which one may be preferred over the other?  Thanks in advance.
120540
I'm currently typing a mathematical document which counts many sum symbols. I frequently use the align environment to render equations, although the default behaviour of this environment is to render the equations in displaystyle, which in my opinion wastes vertical space. I therefore have added \textstyle at the beginning of each line of math in this environment, but I'm looking for a more convenient solution.   So is there an environment that is similar to align with the exception it displays textstyle math by default ? Thank you.
107201
I'm just starting to learn LaTeX. I tried typing \begin{equation*}  (math goes here)  \end{equation*}  and I got a whole bunch of errors. It seems LaTeX interpreted the empty line as the equation: when it saw nothing there, I guess it just ended math mode? It then said my other commands needed $'s so I assume that's what happened. When I typed \begin{equation*} (math goes here) \end{equation*}  everything was fine. So I'm confused. If LaTeX sees an empty line in an environment, does it just interpret this as me changing my mind, and deciding not to use the declared environment?
106814
On a publication (thesis, paper, other), when should I write an equation inline and when should it be separated and numbered from the text?  I've seen publications containing both styles, but I don't know if there is a rule to choose among them. My field is applied computer science.
71442
How do I put big brackets under different parts of an equation so that I can write, e.g., text specific to these parts? For example: f =  x^3 +  2     |___|  |__|        |     |    text 1  text 2
45400
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} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage{amsmath} \newenvironment{example}{\begin{equation}\begin{split}}{\end{split}\end{equation}}  \begin{document} \begin{example}oi\end{example} \end{document}   And the error message I'm getting is:   ERROR: LaTeX Error: \begin{split} on input line 8 ended by \end{example}.   I then tried a few other cases. If I remove the splits and define example to be just equation, it runs fine. If I remove the equations and define example to be just split, I get the exact same error message.  In other words: I only get this error when split is involved. Is there a way to make this work?  EDIT: The reason I'm doing this, is because I want a convenient way to create split-equations. I know it's similar to align. I prefer split-equations because the entire line of equations gets a single number for referencing (it's even placed in the middle line). align, however, will force me to \notag each line, otherwise I get a number for each line in the equation (which tends to get messy when equations are long and numerous). It's not the end of the world, but the split-equation combination is just quicker and easier (if I can manage to define a command for it).  Alternatively, the multline environment is not appropriate either, because it doesn't let you manually align each line (like aligning the equal signs). Instead it only lets you push everything left or right.  EDIT2: I just tried this:  \newenvironment{example}{ \begin{equation}\split}{\endsplit \end{equation}}   and got this error  ERROR: LaTeX Error: \begin{equation} on input line 8 ended by \end{example}.   Which is weird, because removing \split and \endsplit entirely doesn't return any errors (so it's not equation's fault).
91516
I know that &lt;, &lt;(), &lt;&lt; all are used to give input and  &gt;, &gt;() which are used to redirect output.  But I don't know what is clear difference between them and when to use them.  Please explain in detail and along with references if possible. Thanks
36757
I am writing two equations in an align environment:  \begin{align} x^2+y^2=z^2, \\ x^2=7, \end{align}   I would like the first equation to be labelled with e.g. (1.1) and the second equation to be labelled (1.1'), rather than (1.2).  Is this possible to automate? Do I need to use a hack to manually place the equation number after my second equation? e.g.  \newcommand{\hack}{\hfill({\eqnum}')} % Sketch - I don't know what command to use. \begin{align} x^2+y^2=z^2, \\\nonumber x^2=7,\hack \end{align}   If so, what command can I use to get the equation number? i.e. what should my command \hack be?
42123
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:  \begin{equation}  $R_{2}$=$\frac{U_{R_2}}{I_2}$=$\frac{2,95\, \mathrm{V}$}{$0,03*10^{-3}\, \mathrm{A}$} = 7,10\,\mathrm{k}\Omega \,.  \label{eq:Bsp_OhmsLaw}\end{equation}   I tried a lot of things, I also skimmed these forums. Nothing seemed to help :-(  Thanks in advance!
109693
What is the difference between \text, \textrm, \textnormal, and \mbox (and possibly other commands commonly used to produce text in math mode)?  Various (La)TeX tutorials teach different methods, and I am sure that there is either a best one or there are subtly different usage scenarios.
99506
How to make several lines of equations under one curly brace from the left side, such that it point to a reference number.  Now I do something like this:  \begin{align} \left. \begin{array}{ll} a = b + c \\ &amp; \dots  \\ a = b + c \\ &amp; \dots  \\ a = b + c  \end{array} \right\} \label{formulas}\\ \end{align}   But equation number appears in the bottom of curly brace.
115624
Using the amsmath environment, I'd like to create a short-cut for  \begin{equation*}   \begin{split}     ...   \end{split} \end{equation*}   But saying  \newenvironment{eqs}   {\begin{equation*}\begin{split}}   {\end{split}\end{equation*}}   and using it with  \begin{eqs}   ... \end{eqs}   produces the error  ! LaTeX Error: \begin{split} on input line 67 ended by \end{eqs}.   However, using \newcommand works — but \eqs{...} over several lines looks a bit weird:  \newcommand{\eqs}[1]{   {\begin{equation*}\begin{split}{#1}\end{split}\end{equation*}}}  % ...  \eqs{   ...   ...}   Is it possible to get this to work with a new environment, or are there better ways to achieve something equivalent?
16836
I'm writing a math paper in LaTeX and for math formulas I'm just using $$math formula$$. Is is possible to numerate formulas? Or do I have to you use some specific commands such as align?
4234
I am typesetting a physics document, and sometimes I need to type equations of several lines while in most cases I only need to type one-line formula. So is it OK if I always use align environment instead of switching between align and equation What are their differences?
28166
align environment without any explicit alignments points (given by &amp;) right justifies the equations in the block. They can be left justified by putting &amp; at the beginning of each equation. Is there any way to left justify them without starting &amp;-s? Maybe some special environment or option? It seems to be an extra work to tell the compiler again and again that I want left alignment on each line.
90665
When I use \def to redefine \end{split}, there is an error.  \documentclass{article} \usepackage{amsmath}  \begin{document} \def\be{\begin{equation}} \def\ee{\end{equation}} \def\bs{\begin{split}} \def\es{\end{split}}  \be     \bs         a\\         b     \es \ee  \end{document}   The error is:      Runaway argument?      a\ b \es \ee       ! Paragraph ended before \split was complete.   However, if I don't use \def\es{\end{split}} and just modify the code to be  \documentclass{article} \usepackage{amsmath}  \begin{document} \def\be{\begin{equation}} \def\ee{\end{equation}} \def\bs{\begin{split}} \def\es{\end{split}}  \be     \bs         a\\         b     \end{split} \ee  \end{document}   it's OK. What's the problem? Thank you!
102353
Is it correct to use certain special characters, as +, &amp;, ', . (dot) and , (comma), basically, in filenames.   I understand that you can use - and _ with no problem, but doing some research I have been unable to find something definite about the other symbols; some say that you can, some say that you can't, and some others say that it is "not encouraged" to use them (whatever that means).