General ⇒ vertical spacing in math
vertical spacing in math
i use \smallskip, it doesnt work.
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
vertical spacing in math
an option (if I understood your question correctly):
Code: Select all
\documentclass{report}
\usepackage{amsmath}
\begin{document}
text text text text...
\begin{gather}
A=b\\
C=d\\
D=e\\[4em]
F=g\\[2em]
H=i
\end{gather}
text text text text...
\end{document}
Re: vertical spacing in math
the equations in the gather environment wont break the pape automatically, so making extra blank space between the graphs.
i wonder if the gather environment could be redefined or costomized to make the equations break the page automatically.
thank you very much
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
vertical spacing in math
Search the documentation of amsmath for \allowdisplaybreaks and \displaybreak.spiegboy wrote:[...] i wonder if the gather environment could be redefined or costomized to make the equations break the page automatically. [...]
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
vertical spacing in math
if you don't want to adjust the spacing for every line but use the same vertical space after each line you could change the length \jot, try:
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage{amsmath}
\setlength{\jot}{20pt}
\begin{document}
\begin{gather}
x = 1 \\
y = 2
\end{gather}
\end{document}
Stefan
vertical spacing in math
Stefan_K wrote:Hi,
if you don't want to adjust the spacing for every line but use the same vertical space after each line you could change the length \jot, try:Of couse you can change \jot also just locally.Code: Select all
\documentclass[a4paper,10pt]{article} \usepackage{amsmath} \setlength{\jot}{20pt} \begin{document} \begin{gather} x = 1 \\ y = 2 \end{gather} \end{document}
Stefan
vertical spacing in math
thanks a lot
localghost wrote:Search the documentation of amsmath for \allowdisplaybreaks and \displaybreak.spiegboy wrote:[...] i wonder if the gather environment could be redefined or costomized to make the equations break the page automatically. [...]
Best regards
Thorsten¹