von localghost » Do 6. Mai 2010, 11:02
Zunächst einmal sei die Frage gestattet, warum Du in der Umgebung
tikzpicture normale Bildbefehle (
\line,
\linethickness,
\multiput) aus LaTeX benutzt. So kann die Platzreservierung nicht funktionieren. Die haben da also nichts zu suchen. Weiterhin fraglich ist die Angabe eines Wertebereichs, obwohl keine mathematische Funktion geplottet wird (schadet zwar nicht, ist dann aber unnötig). Ein Beispiel aus alten Tagen.
\documentclass[11pt,a4paper,ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage{selinput}
\SelectInputMappings{%
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage{babel}
\usepackage[includeheadfoot,margin=2cm]{geometry}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage[font=footnotesize]{subfig}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{figure}[!ht]
\centering
\subfloat[Direkter Übergang\label{subfig-1:uebergang}]{
\begin{tikzpicture}[>=stealth,thick,font=\small]
% \draw[help lines] (-3,-0) grid (3,4);
\draw[->] (-3,0)--(3,0) node[above left] {$k$};
\draw[->] (0,0)--(0,4) node[below right] {$E$};
\draw (-2,0.5) parabola[bend pos=0.5] bend +(0,1) +(4,0);
\draw (-2.5,3.5) parabola[bend pos=0.5] bend +(0,-1) +(5,0);
\draw (-3,0) node[anchor=south west] {Valenzband};
\draw (3,4) node[anchor=north east] {Leitungsband};
\draw[thin] (0,1.5)--(1,1.5);
\draw[thin] (0,2.5)--(1,2.5);
\draw[<->,thin] (0.8,1.5)--(0.8,2.5) node[midway,right] {$E_\text{g}$};
\end{tikzpicture}
}
\hspace{5mm}
\subfloat[Indirekter Übergang\label{subfig-2:uebergang}]{%
\begin{tikzpicture}[>=stealth,thick,font=\small]
% \draw[help lines] (-2,0) grid (6,4);
\draw[->] (-2,0)--(6,0) node[anchor=south east] {$k$};
\draw[->] (0,0)--(0,4) node[anchor=north west] {$E$};
\draw (-2,0.5) parabola[bend pos=0.5] bend +(0,1) +(4,0);
\draw (0.5,3.5) parabola[bend pos=0.5] bend +(0,-1) +(5,0);
\draw[thin,dotted] (0,1.5)--(3,1.5)--(3,2.5);
\draw[thin,decorate,decoration={brace,amplitude=5pt}] (0,1.5)--(3,1.5) node[midway,above=2pt] {$\vec{q}$};
\draw (-2,0) node[anchor=south west] {Valenzband};
\draw (6,4) node[anchor=north east] {Leitungsband};
\draw[thin] (3,1.5)--(4,1.5) (3,2.5)--(4,2.5);
\draw[<->,thin] (3.8,1.5)--(3.8,2.5) node[midway,right] {\small $E_\text{g}$};
\end{tikzpicture}
}
\caption{Übergänge zwischen Valenzband und Leitungsband}\label{fig:uebergang}
\end{figure}
\end{document}
MfG
Thorsten
Notiz an mich selbst:
Manchmal sollte man mal aktualisieren, damit man nicht das Gleiche schreibt wie der Vorgänger.
Zunächst einmal sei die Frage gestattet, warum Du in der Umgebung [color=darkred]tikzpicture[/color] normale Bildbefehle ([color=blue]\line[/color], [color=blue]\linethickness[/color], [color=blue]\multiput[/color]) aus LaTeX benutzt. So kann die Platzreservierung nicht funktionieren. Die haben da also nichts zu suchen. Weiterhin fraglich ist die Angabe eines Wertebereichs, obwohl keine mathematische Funktion geplottet wird (schadet zwar nicht, ist dann aber unnötig). Ein Beispiel aus alten Tagen.
[code]\documentclass[11pt,a4paper,ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage{selinput}
\SelectInputMappings{%
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage{babel}
\usepackage[includeheadfoot,margin=2cm]{geometry}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage[font=footnotesize]{subfig}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{figure}[!ht]
\centering
\subfloat[Direkter Übergang\label{subfig-1:uebergang}]{
\begin{tikzpicture}[>=stealth,thick,font=\small]
% \draw[help lines] (-3,-0) grid (3,4);
\draw[->] (-3,0)--(3,0) node[above left] {$k$};
\draw[->] (0,0)--(0,4) node[below right] {$E$};
\draw (-2,0.5) parabola[bend pos=0.5] bend +(0,1) +(4,0);
\draw (-2.5,3.5) parabola[bend pos=0.5] bend +(0,-1) +(5,0);
\draw (-3,0) node[anchor=south west] {Valenzband};
\draw (3,4) node[anchor=north east] {Leitungsband};
\draw[thin] (0,1.5)--(1,1.5);
\draw[thin] (0,2.5)--(1,2.5);
\draw[<->,thin] (0.8,1.5)--(0.8,2.5) node[midway,right] {$E_\text{g}$};
\end{tikzpicture}
}
\hspace{5mm}
\subfloat[Indirekter Übergang\label{subfig-2:uebergang}]{%
\begin{tikzpicture}[>=stealth,thick,font=\small]
% \draw[help lines] (-2,0) grid (6,4);
\draw[->] (-2,0)--(6,0) node[anchor=south east] {$k$};
\draw[->] (0,0)--(0,4) node[anchor=north west] {$E$};
\draw (-2,0.5) parabola[bend pos=0.5] bend +(0,1) +(4,0);
\draw (0.5,3.5) parabola[bend pos=0.5] bend +(0,-1) +(5,0);
\draw[thin,dotted] (0,1.5)--(3,1.5)--(3,2.5);
\draw[thin,decorate,decoration={brace,amplitude=5pt}] (0,1.5)--(3,1.5) node[midway,above=2pt] {$\vec{q}$};
\draw (-2,0) node[anchor=south west] {Valenzband};
\draw (6,4) node[anchor=north east] {Leitungsband};
\draw[thin] (3,1.5)--(4,1.5) (3,2.5)--(4,2.5);
\draw[<->,thin] (3.8,1.5)--(3.8,2.5) node[midway,right] {\small $E_\text{g}$};
\end{tikzpicture}
}
\caption{Übergänge zwischen Valenzband und Leitungsband}\label{fig:uebergang}
\end{figure}
\end{document}[/code]
MfG
Thorsten
[u]Notiz an mich selbst:[/u]
Manchmal sollte man mal aktualisieren, damit man nicht das Gleiche schreibt wie der Vorgänger.