Math & Science ⇒ How to Split an Equation
How to Split an Equation
I started to use just lately in TeXnicCenter.
I'm writing a 'book' in 'twocolumns' and I tried to insert an equation which is too long thus part of the equation disappear, How can I force the equation to split/wrap? (I prefer not to write twice an equation even though it should work)
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
How to Split an Equation
Code: Select all
\begin{equation}
\begin{split}
(first part) \\
(second part)
\end{split}
\end{equation}
How to Split an Equation
I have think I have followed the example given below correctly but my equation is still not working?
Please advise.
Code: Select all
\documentclass{article} % Your input file must contain these two lines
\usepackage{natbib}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{bm}
\usepackage{grffile}
\usepackage{graphicx}
\usepackage[%
font=small,
labelfont=bf,
figurewithin=section,
tablewithin=section,
tableposition=top
]{caption}
\numberwithin{equation}{section}
\begin{document} % plus the \end{document} command at the end
\parskip = 1pc %change spacing between paragraphs
\parindent = 0pc %change paragraph indentation
\begin{equation}
\begin{split}
\textbf{Cpl}(0,T_{j-1},T_j,\tau_j,K)=\tau_j P(0,T-j)[\frac{F_j(0)}{2\sinh(-L_i)}(exp^{-L_i} \Phi(\overline{y}_i(T_{j-1}) + \\ A_i(T_{j-1))-\exp^{L_i}\Phi(\overline(y)_i(T_{j-1}-A_i(T{j-1})))-K\phi(\overline(y)_i(T_{j-1}))]
\end{split}
\end{equation}
\end{document}
How to Split an Equation
- Right after the \\-split you have A_i(T_{j-1)) whereas you probably mean A_i(T_{j-1}) -- hence that subscript never closes (hence the split never closes).
- Twice you have \overline(y) rather than \overline{y}
- There may be others, but it's not clear without knowing precisely what you were after.
-
- Posts: 34
- Joined: Sat Aug 08, 2009 1:05 pm
How to Split an Equation
Check User's Guide for the amsmath Package (Version 2.0) for further details on various types for display equation environments (see especially Table 3.1 on page 4)