Seite 1 von 1

Unterschiedlicher vertikaler Abstand bei equation Umgebung

Verfasst: Mi 6. Jul 2011, 09:52
von michele_muc
Hallo,

ich nutze eine Formel in meinem LaTeX Dokument. Da musste ich feststellen, dass der vertikale Abstand zum Text oben und unten unterschiedlich ist. Ich hab schon versucht mit \vspace zu arbeiten, jedoch brachte das auch nicht den gewünschten Erfolg.
\documentclass[11pt,a4paper,headsepline,titlepage,twoside]{scrbook}
\usepackage[english]{babel}
\usepackage{scrpage2}
\usepackage{blindtext}

\begin{document}

\chapter{Chapter One}
\blindtext There is no need for a special contents, but the length of words.

\begin{equation}
 R:\; \;
 { \frac{\;A\;}{\;B\;} }
 \; \; \; \; \; \mathrm{e.g.}\; \; \; \; \;
 { \frac{\mathrm{There\ is\ no\ need\ for\ a\ special\ contents}} 
 					{\mathrm{There\ is\ no\ need\ for\ a\ special\ contents}}}
\end{equation}

\blindtext
\end{document}
Hat jemand ein Idee wie man die Abstände angeleichen kann ohne sie übermäßig zu vergrößern?

Vielen Dank
michele_muc

Verfasst: Mi 6. Jul 2011, 13:09
von Sepp99
Meistens genügt es auf Leerzeilen im Code zu verzichten, oder diese mit einem %-Zeichen auszufüllen. Vergleiche folgendes:
\documentclass[11pt,a4paper,headsepline,titlepage,twoside]{scrbook}
\usepackage[english]{babel}
\usepackage{scrpage2}
\usepackage{blindtext}

\begin{document}

\chapter{Chapter One}
\blindtext There is no need for a special contents, but the length of words.

\begin{equation}
 R:\; \;
 { \frac{\;A\;}{\;B\;} }
 \; \; \; \; \; \mathrm{e.g.}\; \; \; \; \;
 { \frac{\mathrm{There\ is\ no\ need\ for\ a\ special\ contents}}
                {\mathrm{There\ is\ no\ need\ for\ a\ special\ contents}}}
\end{equation}

\blindtext

\blindtext There is no need for a special contents, but the length of words.
%
\begin{equation}
 R:\; \;
 { \frac{\;A\;}{\;B\;} }
 \; \; \; \; \; \mathrm{e.g.}\; \; \; \; \;
 { \frac{\mathrm{There\ is\ no\ need\ for\ a\ special\ contents}}
                {\mathrm{There\ is\ no\ need\ for\ a\ special\ contents}}}
\end{equation}
%
\blindtext
\end{document}
Gruß, Sepp.-

Verfasst: Mi 6. Jul 2011, 13:46
von michele_muc
Danke, dass funktioniert super.