PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Bildunterschrift ist auseinandergezogen.



M0rgenstern
30-10-2011, 09:51
Hallo Liebe Community,
Ich bin ganz neu hier, also erstmal ein: Hallo an alle.

Ich bin momentan dabei meine Mitschrift einer Vorlesung mit LaTeX auf den PC zu bringen. Jetzt bin ich an einer Stelle angekommen, in der ich Bilder von Graphen einfügen müsste. Ich habe mir dann entsprechende Graphen auf WolframAlpha plotten lassen und die Bilder gespeichert, ausgeschnitten und als .png gespeichert (ich arbeite mit pdfLaTeX).
Die Bilder müsste ich in eine Aufzählung einfügen und das sieht in LaTeX Code jetzt so aus:


\begin{description}
\item[(a)] $id_\mathds{R}: \mathds{R} \rightarrow \mathds{R}, x \mapsto x$ \\
Diese Abbildung ist injektiv, surjektiv und somit auch bijektiv.\\
\begin{figure}[h]
\includegraphics[scale=0.75]{22Graph(a).png}
\caption{$G(id_\mathds{R})$ \href{http://www.wolframalpha.com/input/?i=plot+x}{Quelle der Grafik: ''http://www.wolframalpha.com/input/?i=plot+x''}}
\label{2.2(a)}
\end{figure}
\item[(b)] $entier: \mathds{R} \rightarrow \mathds{Z}, x \mapsto \lfloor x \rfloor :=$ Gr"oste ganze Zahl $\leq x$ (Gau"sklammer von $x$).\\
Diese Abbildung ist nicht injektiv, aber surjektiv.
\begin{figure}[h]
\includegraphics[scale=0.75]{22Graph(b).png}
\caption{$G(entier)$ \href{http://www.wolframalpha.com/input/?i=plot+floor(x)}{Quelle der Grafik: ''http://www.wolframalpha.com/input/?i=plot+floor(x)''}}
\label{2.2(b)}
\end{figure}
\newpage
\item[(c)] $f: \mathds{R} \rightarrow \mathds{R}_{\geq 0} : \{x \in \mathds{R}; x \geq 0\}, x \mapsto x^2$\\
Diese Abbildung ist nicht injektiv, aber surjektiv.
\begin{figure}[h]
\includegraphics[scale=0.75]{22Graph(c).png}
\caption{$G(x^2), G(\sqrt x)$ \href{http://www.wolframalpha.com/input/?i=plot+x\%5E2\%2C+sqrt\%28x\%29}{Quelle der Grafik: ''http://www.wolframalpha.com/input/?i=plot+$x^2\%$2C+sqrt(x)''}}
\label{2.2(c)}
\end{figure}
\end{description}

Ich möchte halt die Links zu den eigentlichen Grafiken in die Bildunterschrift einfügen, wegen den Quellenangaben.
Aber leider habe ich folgendes Problem: Die Bildbeschreibung der letzten beiden Bilder ist ganz weit auseinandergezogen. Also ungefähr so:
Abbildung________________2:__________________G(ent ier)
Das Phänomen tritt bei dem ersten Bild nicht auf, da ist alles super. Nur bei den anderen beiden. Dabei mache ich es doch bei allen 3 genau gleich.

Kann mir bitte jemand helfen?

Lg, M0rgenstern

Sepp99
30-10-2011, 10:34
Gleiche Frage unter http://www.golatex.de/bildunterschrift-ist-auseinandergezogen-t7692.html

Sepp.-

M0rgenstern
30-10-2011, 10:49
Hab mal gegooglet wie ich einfach ein Rechteck statt einer Grafik einfüge.
Hier jetzt das zugehörige Minimalbeispiel:


\documentclass{article}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\clearscrheadings
\ofoot{\pagemark}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{ngerman}
\usepackage{mnsymbol}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{caption}
\hypersetup{
bookmarks=false,
colorlinks,
citecolor=red,
filecolor=green,
linkcolor=[rgb]{0.3,0,0.1},
urlcolor=blue
}
\begin{document}

\begin{description}
\item[(a)] $id_\mathds{R}: \mathds{R} \rightarrow \mathds{R}, x \mapsto x$ \\
Diese Abbildung ist injektiv, surjektiv und somit auch bijektiv.\\
\begin{figure}[h]
\rule[-2mm]{10mm}{4mm}
\caption{$G(id_\mathds{R})$ \href{http://www.wolframalpha.com/input/?i=plot+x}{Quelle der Grafik: ''http://www.wolframalpha.com/input/?i=plot+x''}}
\label{2.2(a)}
\end{figure}
\item[(b)] $entier: \mathds{R} \rightarrow \mathds{Z}, x \mapsto \lfloor x \rfloor :=$ Gr"oste ganze Zahl $\leq x$ (Gau"sklammer von $x$).\\
Diese Abbildung ist nicht injektiv, aber surjektiv.
\begin{figure}[h]
\rule[-2mm]{10mm}{4mm}
\caption{$G(entier)$ \href{http://www.wolframalpha.com/input/?i=plot+floor(x)}{Quelle der Grafik: ''http://www.wolframalpha.com/input/?i=plot+floor(x)''}}
\label{2.2(b)}
\end{figure}
\item[(c)] $f: \mathds{R} \rightarrow \mathds{R}_{\geq 0} : \{x \in \mathds{R}; x \geq 0\}, x \mapsto x^2$\\
Diese Abbildung ist nicht injektiv, aber surjektiv.
\begin{figure}[h]
\rule[-2mm]{10mm}{4mm}
\caption{$G(x^2) und G(\sqrt x)$ \href{http://www.wolframalpha.com/input/?i=plot+x\%5E2\%2C+sqrt\%28x\%29}{Quelle der Grafik: ''http://www.wolframalpha.com/input/?i=plot+$x^2\%$2C+sqrt(x)''}}
\label{2.2(c)}
\end{figure}
\item[(d)] $g := f \Big|_{\mathds{R}_{\geq 0}} : \mathds{R}_{\geq 0} \rightarrow \mathds{R}_{\geq 0}, x \mapsto x^2$\\
Diese Abbildung ist injektiv und surjektiv und somt auch bijektiv mit der Umkehrfunktion:\\
$g^{-1} : \mathds{R}_{\geq 0} \rightarrow \mathds{R}_{\geq 0}, x \mapsto \sqrt x$ (= eindeutige Zahl in $\mathds{R}_{\geq 0}$ mit $\sqrt{ x^2} = x$)
\end{description}
\end{document}

Sorry.

Lg, M0rgenstern

rstuby
30-10-2011, 18:15
Benutze mal \url anstatt \href.

rais
31-10-2011, 13:55
Oder schau in der caption-Doku nach `justification' und vllt `raggedright'.

MfG