I have a sidewaysfigure with consisting of 6 subfigures. As this is the first figure that appear in my appendix, I need to have a non-rotatet section-title. Following this question Rotating: Sideways figure with Section title I tried to put my figure in a minipage. But the result is that I have half of the figure on top (cut-off) and then in the middle of the page the section title.
I give u an example:
%General Layout
\documentclass[a4paper, 12pt]{article}
\usepackage[left=3cm, right=2cm, top=3cm, bottom=4cm]{geometry}
%Font encoding
\usepackage[T1]{fontenc}
%Font
\usepackage[utf8]{inputenc}
%Language
\usepackage[english]{babel}
%Graphs and Diagrams
%\usepackage{subgraphic}
\usepackage{subfig}
\usepackage[demo]{rotating} %remove 'demo' option for real file
\usepackage{tikz}
\usepackage[outdir=./]{epstopdf}
\usepackage{graphicx}
\usepackage{float}
\usepackage{pdfpages}
%Tables
\usepackage{multirow}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{tabulary}
\usepackage{tabularx}
\usepackage{fixltx2e}
\usepackage{threeparttable}
\usepackage{threeparttablex}
\usepackage{pdflscape, longtable}
\usepackage{hvfloat}
\usepackage[labelsep=newline,% line break after label
justification=centering,
singlelinecheck=off, font=bf]{caption}
%%%%\usepackage[labelfont=md]{subcaption}
\usepackage{siunitx}
\usepackage{etoolbox}
\robustify\bfseries
\sisetup{detect-weight=true,detect-inline-weight=math}
\usepackage{fancybox}
\usepackage{array}
\usepackage{dcolumn}
\newcolumntype{d}[1]{D{.}{.}{#1}}
\newcommand\mc[1]{\multicolumn{1}{c}{#1}}
\usepackage{colortbl}
\makeatletter% Set distance from top of page to first float
\setlength{\@fptop}{5pt}
\makeatother
%%%%%%%%%% Journal Conventions %%%%%%%%%%
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\Alph{subsection}}
\renewcommand{\thetable}{\Roman{table}}
\renewcommand{\abstractname}{\textsc{ABSTRACT}}
\makeatletter
% we need a period (.) after sectioning numbers, but not in cites thereto.
\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname}.\hspace{0.5em}}
\long\def\@makefigcaption#1#2{%
\vskip\abovecaptionskip
%#1\\\footnotesize#2
%\sbox\@tempboxa{\footnotesize\bf#1.\footnotesize#2}%
%\sbox\@tempboxa{\footnotesize{\textbf{#1.}} footnotesize#2}%
%\sbox\@tempboxa{\textbf{#1.} footnotesize#2}%
%\sbox\@tempboxa
\footnotesize\textbf{#1.} \footnotesize#2
\ifdim \wd\@tempboxa >\hsize
\textbf{#1.} #2\par
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
\renewcommand{\figure}{\let\@makecaption\@makefigcaption\@float{figure}}
\long\def\@maketblcaption#1#2{%
\vskip\abovecaptionskip %Same size for Numbering and Caption of Tables
\begin{center}\normalsize\bf#1\\\normalsize#2\end{center}
% \sbox\@tempboxa{\textbf{#1.} #2}%
% \global \@minipagefalse
% \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\vskip\belowcaptionskip}
\renewcommand{\table}{\let\@makecaption\@maketblcaption\@float{table}}
%\renewcommand{\sidewaystable}{\let\@makecaption\@maketblcaption\@float{sidewaystable}}
\makeatother
\begin{document}
\section{Appendix}
\captionsetup[subfloat]{labelfont=md}
\centering
\begin{figure}
\begin{minipage}[b][15cm][b]{15cm}
\begin{turn}{90}
%\caption{Cumulated Average Index-Adjusted CDS Return for Extreme Earnings Decile Portfolios \label{fig:CASC}}
%\begin{minipage}{\textheight}
%\footnotesize test test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test test
%\bigskip
%\end{minipage}
\subfloat[DSUE1 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue1.eps}\label{fig:fullDSUE1}} \quad \bigskip
\subfloat[DSUE2 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue2.eps}\label{fig:fullDSUE2}}\quad
\subfloat[DSUE3 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue3.eps}\label{fig:fullDSUE3}} \quad \\
\subfloat[DSUE1 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue1.eps}\label{fig:preDSUE1}} \quad
\subfloat[DSUE2 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue2.eps}\label{fig:preDSUE2}}\quad
\subfloat[DSUE3 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue3.eps}\label{fig:preDSUE3}} \quad
%\begin{minipage}{\textheight}
%\bigskip
%Figure continues on next page
%\bigskip
%\end{minipage}
\end{turn}
\end{minipage}
\end{figure}
\end{document}
Furthermore, when I use sidewaysfigure the figures are equally "distributed" in a 2x3 (sideways view). Using the minipage environment just cuts them off.
Additionally, I would like to have the subcaptions in non-bold while the caption in bold. I tried to it with loading the subcaption package with labelfont=md options as well as directly "in front" of the figure with \captionsetup[subfloat]{labelfont=md} (and [sidewaysfigure]}. But the subcaption of my subfigure are still bold.
thank you very much
edit:
this is the code I am trying to compile:
%General Layout
\documentclass[a4paper, 12pt]{article}
\usepackage[left=3cm, right=2cm, top=3cm, bottom=4cm]{geometry}
%Font encoding
\usepackage[T1]{fontenc}
%Font
\usepackage[utf8]{inputenc}
%Language
\usepackage[english]{babel}
%Graphs and Diagrams
%\usepackage{subgraphic}
\usepackage{subfig}
\usepackage[demo]{rotating} %remove 'demo' option for real file
\usepackage{tikz}
\usepackage[outdir=./]{epstopdf}
\usepackage{graphicx}
\usepackage{float}
\usepackage{pdfpages}
%Tables
\usepackage{multirow}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{tabulary}
\usepackage{tabularx}
\usepackage{fixltx2e}
\usepackage{threeparttable}
\usepackage{threeparttablex}
\usepackage{pdflscape, longtable}
\usepackage{hvfloat}
\usepackage[labelsep=newline,% line break after label
justification=centering,
singlelinecheck=off, font=bf]{caption}
%%%%\usepackage[labelfont=md]{subcaption}
\usepackage{siunitx}
\usepackage{etoolbox}
\robustify\bfseries
\sisetup{detect-weight=true,detect-inline-weight=math}
\usepackage{fancybox}
\usepackage{array}
\usepackage{dcolumn}
\newcolumntype{d}[1]{D{.}{.}{#1}}
\newcommand\mc[1]{\multicolumn{1}{c}{#1}}
\usepackage{colortbl}
\makeatletter% Set distance from top of page to first float
\setlength{\@fptop}{5pt}
\makeatother
%%%%%%%%%% Journal Conventions %%%%%%%%%%
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\Alph{subsection}}
\renewcommand{\thetable}{\Roman{table}}
\renewcommand{\abstractname}{\textsc{ABSTRACT}}
\makeatletter
% we need a period (.) after sectioning numbers, but not in cites thereto.
\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname}.\hspace{0.5em}}
\long\def\@makefigcaption#1#2{%
\vskip\abovecaptionskip
%#1\\\footnotesize#2
%\sbox\@tempboxa{\footnotesize\bf#1.\footnotesize#2}%
%\sbox\@tempboxa{\footnotesize{\textbf{#1.}} footnotesize#2}%
%\sbox\@tempboxa{\textbf{#1.} footnotesize#2}%
%\sbox\@tempboxa
\footnotesize\textbf{#1.} \footnotesize#2
\ifdim \wd\@tempboxa >\hsize
\textbf{#1.} #2\par
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
\renewcommand{\figure}{\let\@makecaption\@makefigcaption\@float{figure}}
\long\def\@maketblcaption#1#2{%
\vskip\abovecaptionskip %Same size for Numbering and Caption of Tables
\begin{center}\normalsize\bf#1\\\normalsize#2\end{center}
% \sbox\@tempboxa{\textbf{#1.} #2}%
% \global \@minipagefalse
% \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\vskip\belowcaptionskip}
\renewcommand{\table}{\let\@makecaption\@maketblcaption\@float{table}}
%\renewcommand{\sidewaystable}{\let\@makecaption\@maketblcaption\@float{sidewaystable}}
\makeatother
\begin{document}
\section{Appendix}
\captionsetup[subfloat]{labelfont=md}
\centering
\begin{figure}
\begin{minipage}[b][15cm][b]{15cm}
\begin{turn}{90}
%\caption{Cumulated Average Index-Adjusted CDS Return for Extreme Earnings Decile Portfolios \label{fig:CASC}}
%\begin{minipage}{\textheight}
%\footnotesize test test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test testtest test test test
%\bigskip
%\end{minipage}
\subfloat[DSUE1 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue1.eps}\label{fig:fullDSUE1}} \quad \bigskip
\subfloat[DSUE2 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue2.eps}\label{fig:fullDSUE2}}\quad
\subfloat[DSUE3 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue3.eps}\label{fig:fullDSUE3}} \quad \\
\subfloat[DSUE1 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue1.eps}\label{fig:preDSUE1}} \quad
\subfloat[DSUE2 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue2.eps}\label{fig:preDSUE2}}\quad
\subfloat[DSUE3 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue3.eps}\label{fig:preDSUE3}} \quad
%\begin{minipage}{\textheight}
%\bigskip
%Figure continues on next page
%\bigskip
%\end{minipage}
\end{turn}
\end{minipage}
\end{figure}
\end{document}
EDIT: here is a reduced version (I just commented out all packages from which I know it would worked without).
%General Layout
\documentclass[a4paper, 12pt]{article}
\usepackage[left=3cm, right=2cm, top=3cm, bottom=4cm]{geometry}
%Font encoding
\usepackage[T1]{fontenc}
%Font
\usepackage[utf8]{inputenc}
%Language
%Graphs and Diagrams
%\usepackage{subgraphic}
\usepackage{subfig}
\usepackage[demo]{rotating} %remove 'demo' option for real file
\usepackage[outdir=./]{epstopdf}
\usepackage{graphicx}
\usepackage{float}
%\usepackage[labelsep=newline,% line break after label
% justification=centering,
% singlelinecheck=off, font=bf]{caption}
\usepackage{caption}
\begin{document}
\section{Appendix}
\centering
\begin{figure}
\begin{minipage}[b][15cm][b]{15cm}
\begin{turn}{90}
\subfloat[DSUE1 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue1.eps}\label{fig:fullDSUE1}} \quad \bigskip
\subfloat[DSUE2 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue2.eps}\label{fig:fullDSUE2}}\quad
\subfloat[DSUE3 $-$ Full Sample]{\includegraphics[width=0.31\textheight]{aasc_full_dsue3.eps}\label{fig:fullDSUE3}} \quad \\
\subfloat[DSUE1 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue1.eps}\label{fig:preDSUE1}} \quad
\subfloat[DSUE2 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue2.eps}\label{fig:preDSUE2}}\quad
\subfloat[DSUE3 $-$ Pre-Crisis]{\includegraphics[width=0.31\textheight]{aasc_precrisis_dsue3.eps}\label{fig:preDSUE3}} \quad
\end{turn}
\end{minipage}
\end{figure}
\end{document}
and that is the output:

ant that is what I would like to achieve (Note I painted the section-title manually):

EDIT: Here is the example that is almost what I wanted. Now the question arises on how to modify the caption just(!) for figures: I need them to be bold and left aligned while captions for my tables are supposed to be centered (therefore, I global definition might not be possible).
%General Layout
\documentclass[a4paper, 12pt]{article}
\usepackage[left=3cm, right=2cm, top=3cm, bottom=4cm]{geometry}
%Font encoding
\usepackage[T1]{fontenc}
%Font
\usepackage[utf8]{inputenc}
%Language
\usepackage[english]{babel}
\usepackage{rotating}
\usepackage[outdir=./]{epstopdf}
\usepackage{graphicx}
\usepackage{float}
\usepackage{pdfpages}
\usepackage[labelsep=newline,% line break after label
justification=centering, labelsep=period,
singlelinecheck=off, font=bf]{caption}
\usepackage{subcaption}
\makeatletter% Set distance from top of page to first float
\setlength{\@fptop}{5pt}
\makeatother
%%%%%%%%%% Journal of Finance %%%%%%%%%%
%These conventions are taken from Jiri Woschitz and Guido Rosenast
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\Alph{subsection}}
\renewcommand{\thetable}{\Roman{table}}
\renewcommand{\abstractname}{\textsc{ABSTRACT}}
\makeatletter
% we need a period (.) after sectioning numbers, but not in cites thereto.
\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname}.\hspace{0.5em}}
\long\def\@makefigcaption#1#2{%
\vskip\abovecaptionskip
%#1\\\footnotesize#2
%\sbox\@tempboxa{\footnotesize\bf#1.\footnotesize#2}%
%\sbox\@tempboxa{\footnotesize{\textbf{#1.}} footnotesize#2}%
%\sbox\@tempboxa{\textbf{#1.} footnotesize#2}%
%\sbox\@tempboxa
\footnotesize\textbf{#1.} \footnotesize#2
\ifdim \wd\@tempboxa >\hsize
\textbf{#1.} #2\par
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
\renewcommand{\figure}{\let\@makecaption\@makefigcaption\@float{figure}}
\long\def\@maketblcaption#1#2{%
\vskip\abovecaptionskip %Same size for Numbering and Caption of Tables
\begin{center}\normalsize\bf#1\\\normalsize#2\end{center}
% \sbox\@tempboxa{\textbf{#1.} #2}%
% \global \@minipagefalse
% \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\vskip\belowcaptionskip}
\renewcommand{\table}{\let\@makecaption\@maketblcaption\@float{table}}
%\renewcommand{\sidewaystable}{\let\@makecaption\@maketblcaption\@float{sidewaystable}}
\makeatother
\setlength{\abovecaptionskip}{0.1cm}
\setlength{\belowcaptionskip}{-2mm}
%%%%%%%%%% End: Journal of Finance%%%%%%%%%%
\captionsetup[subfigure]{font=md}
\begin{document}
\tableofcontents
\listoffigures
\listoftables
\newpage
\section{Appendix}
\centering
\begin{figure}[htp]
\begin{minipage}{\textwidth}
\section{Appendix} \bigskip \bigskip \bigskip
\end{minipage}
\begin{turn}{90}
\begin{minipage}{0.85\textheight}
\caption{Cumulated Average Index-Adjusted CDS Return for Extreme Earnings Decile Portfolios \label{fig:CASC}} \vspace{-3mm}
testestestt estestestteste stesttestestesttestestesttestestesttestestes
testestesttestest esttestestestteste stesttes testestvtestestest
testestesttestestestt estestesttestestestteste stesttestestesttesteste
testestestte stestesttestestesttestestesttestestesttestestest \bigskip \bigskip \\
\subfloat[DSUE1 $-$ Full Sample]{\includegraphics[width=0.27\textheight]{aasc_full_dsue1.eps}\label{fig:fullDSUE1}} \quad \bigskip
\subfloat[DSUE2 $-$ Full Sample]{\includegraphics[width=0.27\textheight]{aasc_full_dsue2.eps}\label{fig:fullDSUE2}} \quad
\subfloat[DSUE3 $-$ Full Sample]{\includegraphics[width=0.27\textheight]{aasc_full_dsue3.eps}\label{fig:fullDSUE3}} \quad
\subfloat[DSUE1 $-$ Pre-Crisis]{\includegraphics[width=0.27\textheight]{aasc_precrisis_dsue1.eps}\label{fig:preDSUE1}} \quad
\subfloat[DSUE2 $-$ Pre-Crisis]{\includegraphics[width=0.27\textheight]{aasc_precrisis_dsue2.eps}\label{fig:preDSUE2}} \quad
\subfloat[DSUE3 $-$ Pre-Crisis]{\includegraphics[width=0.27\textheight]{aasc_precrisis_dsue3.eps}\label{fig:preDSUE3}} \quad
\end{minipage}
\end{turn}
\end{figure}
\end{document}




subcaptionpackage, yet you use syntax of thesubfigpackage to create the subfloats. Please post a compilable example, so that others can focus on the problem you're describing rather than on figuring out how to debug your code. – Mico Aug 16 '14 at 09:23syntaxpackage to create the subfloats. The code I am using is from a question and solution posted (by another user). Does the code above as such not working for you? because I can run it "without problems". – eternity1 Aug 16 '14 at 12:14syntaxpackage. Your example code will not compile as posted. This is, in part, because the code uses\subfloatinstructions yet loads thesubcaptionpackage -- which does not provide a macro with named\subfloat. Thesubfigpackage does provide a macro namedsubfloat, but the instruction\usepackage{subfig}is currently commented out. I don't think it's fair to expect the people who you are asking for help to have to spend significant amounts of time tracking down basic syntactical errors. – Mico Aug 16 '14 at 12:30Syntxwas a mistake. I use TeXmaker to run the code and as long as I havecaptionandsubcaptionthe code runs. When I includesubfigan error appears (even when when comment out the first two packages). Do you have any suggestion how to replace\subfloat. I have this code from another question and as it worked fine (by now) i did not question it. – eternity1 Aug 16 '14 at 12:47\usepackage[labelfont=md]{subcaption}; (ii) uncommented the instruction\usepackage{subfig}; and (iii) replaced\usepackage{rotating}with\usepackage[demo]{rotating}, i.e., I added the optiondemo. The code will now compile, though I don't know if the code is actually what you're interested in. – Mico Aug 16 '14 at 13:09\captionis there only once. – eternity1 Aug 16 '14 at 13:16There is a newer version since August Texmaker 4.3. Do you think that migh the problem? or is it because of my "MiKTex 2.9"?
– eternity1 Aug 16 '14 at 13:27captionpackage I can compile the code. In the log-file I found thatcaptionandcaption3is loaded. – eternity1 Aug 16 '14 at 23:32tikzorpdfpagesorbabel, either. – cfr Aug 16 '14 at 23:40sidewaysfigure, but as it is pointed out in another question thesidewaysfigure"occupies" the whole page. Therefore, I was looking for an alternative to get section title + kind of sidewaysfigure (incl. caption, subcaptions and textdescription) as shown in the last graphic. WithminipageI hoped I could divide the page into a small part for the section-title and the major part for the graphics. – eternity1 Aug 16 '14 at 23:47