subfloatrow
Verfasst: Do 24. Apr 2014, 13:50
Hallo ihr!
Ich würde gerne zwei Bildchen nebeneinander mit einer gemeinsamen Bildunterschrift setzen, dabei sollte jedes Bild noch eine Unternummerierung haben wie z.B. a) und b).
Ich habe versucht, es wie in der floatrow-Anleitung (S. 73) zu machen, mit \Flabel und \Fref, aber dann siehe Fehlermeldung.
Hat mir jemand einen Tipp?
Vielen Dank für eure Hilfe!
Fehlermeldung:
Ich würde gerne zwei Bildchen nebeneinander mit einer gemeinsamen Bildunterschrift setzen, dabei sollte jedes Bild noch eine Unternummerierung haben wie z.B. a) und b).
Ich habe versucht, es wie in der floatrow-Anleitung (S. 73) zu machen, mit \Flabel und \Fref, aber dann siehe Fehlermeldung.
Hat mir jemand einen Tipp?
Vielen Dank für eure Hilfe!
\documentclass[paper=a4, 12pt]{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[american, spanish, basque, ngerman]{babel} \usepackage[babel, german=quotes]{csquotes} \usepackage[format=plain,font=small,labelfont=bf,labelsep=space,justification=centerlast]{caption} \usepackage[font=small,floatrowsep=qquad,captionskip=5pt,capbesideposition=inside,facing=yes,capbesidesep=quad]{floatrow} \usepackage{subfig} \floatsetup[table]{style=Plaintop} \captionsetup[subfigure]{labelformat=brace,list=off} \floatsetup[subfigure]{style=plain,capbesideposition=left, capbesidesep=space,heightadjust=object} \newseparatedlabel\Flabel{figure}{subfigure} \newseparatedref\Fref{,\,\textit} \usepackage[demo]{graphicx} \usepackage{amssymb, amsmath, dsfont} \begin{document} \begin{figure} {\includegraphics[scale=0.5]{ErgebnissekategorienHestenesprepost1213.png}} \end{figure} \begin{figure} \ffigbox[\FBwidth] {\begin{subfloatrow}\useFCwidth \fcapside[\FBwidth] {\caption{} \label{fig:geschlechtpretest}} {\includegraphics[width=0.4\textwidth]{Geschlecht_Pretest_1314.png}} \fcapside[\FBwidth] {\caption{} \label{fig:geschlechtpretest1213}} {\includegraphics[width=0.4\textwidth]{Geschlecht_Pretest_1213.png}} \end{subfloatrow}} {\caption{Verteilung der Geschlechter beim Pretest WS 2013/14 (\ref{fig:geschlechtpretest} und beim Pretest im Vorjahr (WS 2012/13, s. \ref{fig:geschlechtpretest1213})} \label{fig:geschlechtpreteste}} \end{figure} \end{document}
Undefined control sequence. l.14 \newseparatedlabel \Flabel{figure}{subfigure} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.14 \newseparatedlabel\Flabel {figure}{subfigure} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.14 \newseparatedlabel\Flabel{f igure}{subfigure} You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. ! Undefined control sequence. l.15 \newseparatedref \Fref{,\,\textit} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.15 \newseparatedref\Fref {,\,\textit} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, ...[code]