von Waschmaschiene » Di 24. Nov 2015, 14:47
Das Problem ist das die vierte Graphik immer auf die nächste Seite springt, obwohl doch noch ausreichend genug Platz vorhanden. Was um himmelswillen ist das Problem...
Das Minimalbeispiel:
\documentclass[a4paper,11pt]{article}
\usepackage{geometry}
\geometry{a4paper,left=20mm,right=20mm, top=2cm, bottom=2.1cm}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\newpage
\section{Anhang}
\subsection{Graphiken} \label{Beispiele}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
%\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (A) -- (C);
%\draw (A) -- (D);
\draw (B) -- (C);
%\draw (B) -- (D);
%\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
%\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine n-Clique ohne D}
\end{figure}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (A) -- (C);
\draw (A) -- (D);
\draw (B) -- (C);
\draw (B) -- (D);
\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine n-Clique mit D}
\end{figure}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
%\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (B) -- (C);
%\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
%\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine k-Plex ohne D}
\end{figure}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (A) -- (D);
\draw (B) -- (C);
\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine k-Plex mit D}
\end{figure}
\end{document}
Das Problem ist das die vierte Graphik immer auf die nächste Seite springt, obwohl doch noch ausreichend genug Platz vorhanden. Was um himmelswillen ist das Problem... :evil:
Das Minimalbeispiel:
[code]
\documentclass[a4paper,11pt]{article}
\usepackage{geometry}
\geometry{a4paper,left=20mm,right=20mm, top=2cm, bottom=2.1cm}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\newpage
\section{Anhang}
\subsection{Graphiken} \label{Beispiele}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
%\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (A) -- (C);
%\draw (A) -- (D);
\draw (B) -- (C);
%\draw (B) -- (D);
%\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
%\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine n-Clique ohne D}
\end{figure}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (A) -- (C);
\draw (A) -- (D);
\draw (B) -- (C);
\draw (B) -- (D);
\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine n-Clique mit D}
\end{figure}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
%\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (B) -- (C);
%\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
%\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine k-Plex ohne D}
\end{figure}
\begin{figure}[h]
\begin{tikzpicture}
\coordinate[label=left:$A$] (A) at (1,2);
\coordinate[label=right:$B$] (B) at (3,2);
\coordinate[label=left:$C$] (C) at (-2,1);
\coordinate[label=right:$D$] (D) at (0,0);
\draw (A) -- (B);
\draw (A) -- (D);
\draw (B) -- (C);
\draw (C) -- (D);
\fill (A) circle (2pt);
\fill (B) circle (2pt);
\fill (C) circle (2pt);
\fill[red] (D) circle (2pt);
\end{tikzpicture}
\caption{Beispiel für eine k-Plex mit D}
\end{figure}
\end{document}
[/code]