How to put text above column in minipage?












4















I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.



The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.



documentclass[11pt]{report}
usepackage{ucs}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}
usepackage[ngerman]{hyperref}
usepackage{amsmath}
usepackage{mathtools}
usepackage{physics}
usepackage{setspace}
usepackage{bm}
usepackage{subfigure}
usepackage{afterpage}
usepackage{graphicx,color}
graphicspath{{Abb/}}
usepackage{tabularx}
usepackage{booktabs}
usepackage{esvect}
usepackage{longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
begin{document}
begin{figure}[!ht]
begin{minipage}{linewidth}
centering
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{minipage}hfill %[1em]
end{figure}

end{document}









share|improve this question







New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX.SE.

    – Mico
    5 hours ago






  • 1





    The subfigure package is old and seriously deprecated. Don't use it. Use either the subfig or the subcaption package.

    – Mico
    5 hours ago
















4















I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.



The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.



documentclass[11pt]{report}
usepackage{ucs}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}
usepackage[ngerman]{hyperref}
usepackage{amsmath}
usepackage{mathtools}
usepackage{physics}
usepackage{setspace}
usepackage{bm}
usepackage{subfigure}
usepackage{afterpage}
usepackage{graphicx,color}
graphicspath{{Abb/}}
usepackage{tabularx}
usepackage{booktabs}
usepackage{esvect}
usepackage{longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
begin{document}
begin{figure}[!ht]
begin{minipage}{linewidth}
centering
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{minipage}hfill %[1em]
end{figure}

end{document}









share|improve this question







New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX.SE.

    – Mico
    5 hours ago






  • 1





    The subfigure package is old and seriously deprecated. Don't use it. Use either the subfig or the subcaption package.

    – Mico
    5 hours ago














4












4








4


1






I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.



The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.



documentclass[11pt]{report}
usepackage{ucs}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}
usepackage[ngerman]{hyperref}
usepackage{amsmath}
usepackage{mathtools}
usepackage{physics}
usepackage{setspace}
usepackage{bm}
usepackage{subfigure}
usepackage{afterpage}
usepackage{graphicx,color}
graphicspath{{Abb/}}
usepackage{tabularx}
usepackage{booktabs}
usepackage{esvect}
usepackage{longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
begin{document}
begin{figure}[!ht]
begin{minipage}{linewidth}
centering
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{minipage}hfill %[1em]
end{figure}

end{document}









share|improve this question







New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.



The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.



documentclass[11pt]{report}
usepackage{ucs}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}
usepackage[ngerman]{hyperref}
usepackage{amsmath}
usepackage{mathtools}
usepackage{physics}
usepackage{setspace}
usepackage{bm}
usepackage{subfigure}
usepackage{afterpage}
usepackage{graphicx,color}
graphicspath{{Abb/}}
usepackage{tabularx}
usepackage{booktabs}
usepackage{esvect}
usepackage{longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
begin{document}
begin{figure}[!ht]
begin{minipage}{linewidth}
centering
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}\
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}quad
includegraphics[width=0.28textwidth]{test.jpg}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{minipage}hfill %[1em]
end{figure}

end{document}






subfloats minipage






share|improve this question







New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 5 hours ago









GobrelGobrel

212




212




New contributor




Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Gobrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Welcome to TeX.SE.

    – Mico
    5 hours ago






  • 1





    The subfigure package is old and seriously deprecated. Don't use it. Use either the subfig or the subcaption package.

    – Mico
    5 hours ago



















  • Welcome to TeX.SE.

    – Mico
    5 hours ago






  • 1





    The subfigure package is old and seriously deprecated. Don't use it. Use either the subfig or the subcaption package.

    – Mico
    5 hours ago

















Welcome to TeX.SE.

– Mico
5 hours ago





Welcome to TeX.SE.

– Mico
5 hours ago




1




1





The subfigure package is old and seriously deprecated. Don't use it. Use either the subfig or the subcaption package.

– Mico
5 hours ago





The subfigure package is old and seriously deprecated. Don't use it. Use either the subfig or the subcaption package.

– Mico
5 hours ago










2 Answers
2






active

oldest

votes


















4














First off, don't use the subfigure package: It is seriously deprecated.



The following code employs the subcaption package, which provides an environment called subfigure. The three subfigure environments in the first row are given caption*, allowing the insertion of unnumbered captions.



enter image description here



documentclass[11pt,demo,ngerman]{report} % don't use 'demo' option in real document
%usepackage{ucs} % do you really need this package?
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
%usepackage{amsmath} % is loaded automatically by 'mathtools'
usepackage{mathtools,physics,esvect,bm}

usepackage{setspace}

%%%%%usepackage{subfigure} % <--- this package is deprecated
usepackage{subcaption} % use 'subcaption' package instead

usepackage{afterpage,graphicx,xcolor}
graphicspath{{Abb/}}
usepackage{tabularx,booktabs,longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
usepackage{hyperref} % load this package LAST

begin{document}
begin{figure}[!ht]

makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.125$}}}%
begin{subfigure}[b]{0.3textwidth}
caption*{A word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{B word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{C word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

caption{I am using the subcaption package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}





share|improve this answer
























  • Thank you very much! This is really great. You saved my thesis.:)

    – Gobrel
    3 hours ago



















4














As the images and short texts are arranged in a table-like way, here is a variant that uses a tabularx in order to arrange text and images:



documentclass[11pt]{report}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[demo]{graphicx}
usepackage{tabularx}
newcolumntype{C}{>{centeringarraybackslash}X}

begin{document}
begin{figure}[!ht]
begin{tabularx}{linewidth}{lCCC}
& my short text & my short text & my short text\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
end{tabularx}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}


enter image description here






share|improve this answer


























  • I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

    – Mico
    4 hours ago











  • Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

    – Gobrel
    3 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Gobrel is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476493%2fhow-to-put-text-above-column-in-minipage%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














First off, don't use the subfigure package: It is seriously deprecated.



The following code employs the subcaption package, which provides an environment called subfigure. The three subfigure environments in the first row are given caption*, allowing the insertion of unnumbered captions.



enter image description here



documentclass[11pt,demo,ngerman]{report} % don't use 'demo' option in real document
%usepackage{ucs} % do you really need this package?
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
%usepackage{amsmath} % is loaded automatically by 'mathtools'
usepackage{mathtools,physics,esvect,bm}

usepackage{setspace}

%%%%%usepackage{subfigure} % <--- this package is deprecated
usepackage{subcaption} % use 'subcaption' package instead

usepackage{afterpage,graphicx,xcolor}
graphicspath{{Abb/}}
usepackage{tabularx,booktabs,longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
usepackage{hyperref} % load this package LAST

begin{document}
begin{figure}[!ht]

makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.125$}}}%
begin{subfigure}[b]{0.3textwidth}
caption*{A word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{B word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{C word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

caption{I am using the subcaption package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}





share|improve this answer
























  • Thank you very much! This is really great. You saved my thesis.:)

    – Gobrel
    3 hours ago
















4














First off, don't use the subfigure package: It is seriously deprecated.



The following code employs the subcaption package, which provides an environment called subfigure. The three subfigure environments in the first row are given caption*, allowing the insertion of unnumbered captions.



enter image description here



documentclass[11pt,demo,ngerman]{report} % don't use 'demo' option in real document
%usepackage{ucs} % do you really need this package?
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
%usepackage{amsmath} % is loaded automatically by 'mathtools'
usepackage{mathtools,physics,esvect,bm}

usepackage{setspace}

%%%%%usepackage{subfigure} % <--- this package is deprecated
usepackage{subcaption} % use 'subcaption' package instead

usepackage{afterpage,graphicx,xcolor}
graphicspath{{Abb/}}
usepackage{tabularx,booktabs,longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
usepackage{hyperref} % load this package LAST

begin{document}
begin{figure}[!ht]

makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.125$}}}%
begin{subfigure}[b]{0.3textwidth}
caption*{A word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{B word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{C word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

caption{I am using the subcaption package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}





share|improve this answer
























  • Thank you very much! This is really great. You saved my thesis.:)

    – Gobrel
    3 hours ago














4












4








4







First off, don't use the subfigure package: It is seriously deprecated.



The following code employs the subcaption package, which provides an environment called subfigure. The three subfigure environments in the first row are given caption*, allowing the insertion of unnumbered captions.



enter image description here



documentclass[11pt,demo,ngerman]{report} % don't use 'demo' option in real document
%usepackage{ucs} % do you really need this package?
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
%usepackage{amsmath} % is loaded automatically by 'mathtools'
usepackage{mathtools,physics,esvect,bm}

usepackage{setspace}

%%%%%usepackage{subfigure} % <--- this package is deprecated
usepackage{subcaption} % use 'subcaption' package instead

usepackage{afterpage,graphicx,xcolor}
graphicspath{{Abb/}}
usepackage{tabularx,booktabs,longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
usepackage{hyperref} % load this package LAST

begin{document}
begin{figure}[!ht]

makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.125$}}}%
begin{subfigure}[b]{0.3textwidth}
caption*{A word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{B word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{C word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

caption{I am using the subcaption package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}





share|improve this answer













First off, don't use the subfigure package: It is seriously deprecated.



The following code employs the subcaption package, which provides an environment called subfigure. The three subfigure environments in the first row are given caption*, allowing the insertion of unnumbered captions.



enter image description here



documentclass[11pt,demo,ngerman]{report} % don't use 'demo' option in real document
%usepackage{ucs} % do you really need this package?
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
%usepackage{amsmath} % is loaded automatically by 'mathtools'
usepackage{mathtools,physics,esvect,bm}

usepackage{setspace}

%%%%%usepackage{subfigure} % <--- this package is deprecated
usepackage{subcaption} % use 'subcaption' package instead

usepackage{afterpage,graphicx,xcolor}
graphicspath{{Abb/}}
usepackage{tabularx,booktabs,longtable}
usepackage{pdfpages}
usepackage[section]{placeins}
usepackage{hyperref} % load this package LAST

begin{document}
begin{figure}[!ht]

makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.125$}}}%
begin{subfigure}[b]{0.3textwidth}
caption*{A word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{B word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
caption*{C word}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

bigskip
makebox[20pt]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}hfill
begin{subfigure}[b]{0.3textwidth}
includegraphics[width=textwidth]{test.jpg}
end{subfigure}

caption{I am using the subcaption package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered 5 hours ago









MicoMico

280k31383771




280k31383771













  • Thank you very much! This is really great. You saved my thesis.:)

    – Gobrel
    3 hours ago



















  • Thank you very much! This is really great. You saved my thesis.:)

    – Gobrel
    3 hours ago

















Thank you very much! This is really great. You saved my thesis.:)

– Gobrel
3 hours ago





Thank you very much! This is really great. You saved my thesis.:)

– Gobrel
3 hours ago











4














As the images and short texts are arranged in a table-like way, here is a variant that uses a tabularx in order to arrange text and images:



documentclass[11pt]{report}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[demo]{graphicx}
usepackage{tabularx}
newcolumntype{C}{>{centeringarraybackslash}X}

begin{document}
begin{figure}[!ht]
begin{tabularx}{linewidth}{lCCC}
& my short text & my short text & my short text\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
end{tabularx}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}


enter image description here






share|improve this answer


























  • I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

    – Mico
    4 hours ago











  • Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

    – Gobrel
    3 hours ago
















4














As the images and short texts are arranged in a table-like way, here is a variant that uses a tabularx in order to arrange text and images:



documentclass[11pt]{report}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[demo]{graphicx}
usepackage{tabularx}
newcolumntype{C}{>{centeringarraybackslash}X}

begin{document}
begin{figure}[!ht]
begin{tabularx}{linewidth}{lCCC}
& my short text & my short text & my short text\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
end{tabularx}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}


enter image description here






share|improve this answer


























  • I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

    – Mico
    4 hours ago











  • Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

    – Gobrel
    3 hours ago














4












4








4







As the images and short texts are arranged in a table-like way, here is a variant that uses a tabularx in order to arrange text and images:



documentclass[11pt]{report}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[demo]{graphicx}
usepackage{tabularx}
newcolumntype{C}{>{centeringarraybackslash}X}

begin{document}
begin{figure}[!ht]
begin{tabularx}{linewidth}{lCCC}
& my short text & my short text & my short text\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
end{tabularx}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}


enter image description here






share|improve this answer















As the images and short texts are arranged in a table-like way, here is a variant that uses a tabularx in order to arrange text and images:



documentclass[11pt]{report}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[demo]{graphicx}
usepackage{tabularx}
newcolumntype{C}{>{centeringarraybackslash}X}

begin{document}
begin{figure}[!ht]
begin{tabularx}{linewidth}{lCCC}
& my short text & my short text & my short text\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90} {$t/T=0.125$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.25$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.375$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}\
makebox[1baselineskip]{raisebox{40pt}{rotatebox[origin=c]{90}{$t/T=0.50$}}}%
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
& includegraphics[width=hsize]{test.jpg}
end{tabularx}
caption{I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total.
The Code works fine, I have a caption which is perfect. My only problem is, how can I get text over each column? No a), b) and c). I want only a word, or Maybe 2 words above each column.}
label{fig:sub1}
end{figure}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 4 hours ago

























answered 5 hours ago









leandriisleandriis

9,1271530




9,1271530













  • I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

    – Mico
    4 hours ago











  • Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

    – Gobrel
    3 hours ago



















  • I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

    – Mico
    4 hours ago











  • Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

    – Gobrel
    3 hours ago

















I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

– Mico
4 hours ago





I think this tabularx-based solution is far simpler and more elegant than mine, which employs 12 separate subfigure environments.

– Mico
4 hours ago













Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

– Gobrel
3 hours ago





Thank you very much! This is really a great feedback. Did not expect such a great support in that short amount of time. Thanks.:)

– Gobrel
3 hours ago










Gobrel is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Gobrel is a new contributor. Be nice, and check out our Code of Conduct.













Gobrel is a new contributor. Be nice, and check out our Code of Conduct.












Gobrel is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476493%2fhow-to-put-text-above-column-in-minipage%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

日野市

Tu-95轟炸機