Frage zu Latex: Figure Umgebung

Persönliche Seite #1079751
Lesenswert?

Hallo an allo,

Ich bin grade am Einarbeiten in Latex. Ein Bild oder eine fbox möchte 
ich in einer figure Umgebung einbinden. Doch ich schaffe es leider 
nicht.

Folgendes Minimalbeispiel:
1
\begin{figure}
2
  \centering
3
  \fbox{Hallo, das ist eine Fbox}
4
  \caption{Eine Fbox}
5
  \label{fig:fbox}
6
\end{figure}

Dieses Schnipsel bring mir 3 Fehler beim Erstellen der Ausgabe:
1
! Too many }'s.
2
\color@endbox ->\color@endgroup \egroup 
3
                                        
4
l.83 \end{figure}
5
                 
6
You've closed more groups than you opened.
7
Such booboos are generally harmless, so keep going.
8

9

10
! LaTeX Error: \begin{document} ended by \end{figure}.
11

12
See the LaTeX manual or LaTeX Companion for explanation.
13
Type  H <return>  for immediate help.
14
 ...                                              
15
                                                  
16
l.83 \end{figure}
17
                 
18
Your command was ignored.
19
Type  I <command> <return>  to replace it with another command,
20
or  <return>  to continue without it.
21

22
! Extra \endgroup.
23
<recently read> \endgroup 
24
                          
25
l.83 \end{figure}

Woran liegt das denn?
Ich hoffe es kann mir wer helfen.

Gruß Robert

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren