0

I wanted to rotate image with caption. It was good, but also I want to keep my text below. It doesn't work:

\begin{landscape}
\begin{table}[]
\centering
\adjincludegraphics[width=150mm]{figures2/comparation1.png}
\caption{A comparison of Aloha, tree-based and hybrid protocols}
\label{tab:ComparationAll}
\end{table}
\end{landscape}
11
  • 2
    why did you tag this biblatex pdftex and latex3? Apr 24 '18 at 20:52
  • 1
    your question isn't very clear but perhaps remove the landscape environment and use \rotatebox{90}{\includegraphics....}} Apr 24 '18 at 20:54
  • 5
    @John988 it will work (it is my code, landscape, environment, \rotatebox and \includegraphics all come from packages with my name on:-) You have provided no test document so impossible to guess what you have done wrong. Make a small complete document (you can use the image example-image which is available for such examples) Apr 24 '18 at 21:19
  • 1
    What is the difference between this question and tex.stackexchange.com/questions/428176/… ? Apr 24 '18 at 21:30
  • 2
    well obviously not, but I assumed that's what you wanted perhaps you want to put the caption in a minipage and put the minipage in another \rotatebox it is hard to guess, but don't just put code fragments on comments make a proper test document that can be debugged. unrelated don't use [!h] normally latex will warn you it is changing it to [!ht] but as written it means not top not bottom and not on a page of tables, so it gives latex almost nowhere to put the table so it makes it very likely to go to the end of the document Apr 24 '18 at 22:50

Browse other questions tagged or ask your own question.