von Schnubbie87 » Mo 9. Apr 2012, 13:07
Im Prinzip ist das Minimalbeispiel ja genauso wie du vorher reingestellt hast...
Habs jetzt nochmal erweitert mit einer standardzeichnung, die ich überwiegend drin habe, wobei diese im minimalbeispiel läuft...
\documentclass[ngerman,a4paper,titlepage]{scrreprt}
% Sprache und Papierformat
\usepackage[ngerman]{babel}
\usepackage{setspace}
\emergencystretch=3em
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{placeins}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows,matrix}
\usepackage{thmbox}
\newtheorem[M]{thmM}{Beispiel}
\begin{document}
\begin{figure}[!hbt]
\centering
\definecolor{ffffff}{rgb}{1,1,1}
\definecolor{qqttff}{rgb}{0,0.2,1}
\definecolor{ccqqqq}{rgb}{0.8,0,0}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\clip(-0.2,-0.98) rectangle (6.64,3);
\draw [color=ccqqqq,fill=ccqqqq,fill opacity=0.5] (2.39,0.99) circle (1.2cm);
\draw [color=ccqqqq,fill=ccqqqq,fill opacity=0.5] (4.01,0.99) circle (1.2cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (0.8,0.98) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (3.21,2.37) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (3.22,-0.39) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (5.6,1) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (3.21,0.99) circle (0.4cm);
\draw [color=ffffff,fill=ffffff,fill opacity=0.5] (2.01,0.99) circle (0.81cm);
\draw [color=ffffff,fill=ffffff,fill opacity=0.5] (4.41,0.99) circle (0.8cm);
\draw [line width=1.6pt] (0,0.98)-- (3.2,2.84);
\draw [line width=1.6pt] (3.2,2.84)-- (6.4,1);
\draw [line width=1.6pt] (6.4,1)-- (3.2,-0.86);
\draw [line width=1.6pt] (3.2,-0.86)-- (0,0.98);
\end{tikzpicture}
\caption{Aufgabenskizze der Aufgabe \ref{example:4}.}
\FloatBarrier
\end{figure}
\end{document}
Im Prinzip ist das Minimalbeispiel ja genauso wie du vorher reingestellt hast...
Habs jetzt nochmal erweitert mit einer standardzeichnung, die ich überwiegend drin habe, wobei diese im minimalbeispiel läuft...
[code]
\documentclass[ngerman,a4paper,titlepage]{scrreprt}
% Sprache und Papierformat
\usepackage[ngerman]{babel}
\usepackage{setspace}
\emergencystretch=3em
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{placeins}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows,matrix}
\usepackage{thmbox}
\newtheorem[M]{thmM}{Beispiel}
\begin{document}
\begin{figure}[!hbt]
\centering
\definecolor{ffffff}{rgb}{1,1,1}
\definecolor{qqttff}{rgb}{0,0.2,1}
\definecolor{ccqqqq}{rgb}{0.8,0,0}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\clip(-0.2,-0.98) rectangle (6.64,3);
\draw [color=ccqqqq,fill=ccqqqq,fill opacity=0.5] (2.39,0.99) circle (1.2cm);
\draw [color=ccqqqq,fill=ccqqqq,fill opacity=0.5] (4.01,0.99) circle (1.2cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (0.8,0.98) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (3.21,2.37) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (3.22,-0.39) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (5.6,1) circle (0.4cm);
\draw [line width=0.4pt,color=qqttff,fill=qqttff,fill opacity=1.0] (3.21,0.99) circle (0.4cm);
\draw [color=ffffff,fill=ffffff,fill opacity=0.5] (2.01,0.99) circle (0.81cm);
\draw [color=ffffff,fill=ffffff,fill opacity=0.5] (4.41,0.99) circle (0.8cm);
\draw [line width=1.6pt] (0,0.98)-- (3.2,2.84);
\draw [line width=1.6pt] (3.2,2.84)-- (6.4,1);
\draw [line width=1.6pt] (6.4,1)-- (3.2,-0.86);
\draw [line width=1.6pt] (3.2,-0.86)-- (0,0.98);
\end{tikzpicture}
\caption{Aufgabenskizze der Aufgabe \ref{example:4}.}
\FloatBarrier
\end{figure}
\end{document}
[/code]