GeneralWide equation in align environment

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
PatrickM
Posts: 3
Joined: Fri May 18, 2007 11:12 pm

Wide equation in align environment

Post by PatrickM »

Hello fellow LaTeX users.

I have a problem with a long line in an align-environment. The code looks as follows:

Code: Select all

\begin{align}
h'(x)&=\lim_{\Delta x\to 0}\frac{h(x+\Delta x)-h(x)}{\Delta x}\Leftrightarrow\\
h'(x)&=\lim_{\Delta x\to 0}\frac{f(x+\Delta x)\cdot g(x+\Delta x)-f(x)\cdot g(x)}{\Delta x}\Leftrightarrow\\
h'(x)&=\lim_{\Delta x\to 0}\frac{f(x+\Delta x)\cdot g(x+\Delta x)-f(x)\cdot g(x+\Delta x)+f(x)\cdot g(x+\Delta x)-f(x)\cdot g(x)}{\Delta x}\Leftrightarrow\\
h'(x)&=\lim_{\Delta x\to 0}\frac{g(x+\Delta x)(f(x+\Delta x)-f(x))+f(x)(g(x+\Delta x)-g(x))}{\Delta x}\Leftrightarrow\\
h'(x)&=\lim_{\Delta x\to 0}\left(g(x+\Delta x)\frac{f(x+\Delta x)-f(x)}{\Delta x}+f(x)\frac{g(x+\Delta x)-g(x)}{\Delta x}\right)\Leftrightarrow\\
h'(x)&=(g(x)\cdot f'(x)+f(x)\cdot g'(x)
\end{align}
The problem occurs at the 3rd h'(x). I'm using the standard report margins. Hope you'll be able to help :)

thanks
Patrick

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Wide equation in align environment

Post by localghost »

I suggest that you adapt your margins with the geometry or typearea package. This may serve as an example for the a4paper format.

Code: Select all

\usepackage[centering,bindingoffset=1cm,headheight=16pt,textheight=24cm,textwidth=16cm]{geometry}
PatrickM
Posts: 3
Joined: Fri May 18, 2007 11:12 pm

Re: Long equation

Post by PatrickM »

I'll give it a try tomorrow.. Thanks in advance

edit: I gave it a try today. Looks a lot better, I like the layout very much. Thank you :)
Post Reply