Search found 3 matches

by qb170300
Sun Mar 09, 2025 10:11 am
Forum: Graphics, Figures & Tables
Topic: Using float in a figure
Replies: 4
Views: 290

Re: Using float in a figure

Stefan, I found the error!

Instead of using \begin{sidewaystable} I am now using \begin{landscape}. After all, this is a figure, not a table, so I guess latex went crazy not understanding why I was treating a figure like a table. When I do this, everything works nicely!

\begin{landscape}
\begin ...
by qb170300
Sun Mar 09, 2025 12:09 am
Forum: Graphics, Figures & Tables
Topic: Using float in a figure
Replies: 4
Views: 290

Re: Using float in a figure

Thanks, Stefan,

However, I cannot find anywhere else in my code where I use the word ´float´and this issue only occurred when I typed \usepackage{float}... I'll keep thinking about it...

david
by qb170300
Sat Mar 08, 2025 10:39 pm
Forum: Graphics, Figures & Tables
Topic: Using float in a figure
Replies: 4
Views: 290

Using float in a figure

Hi

I have this figure that I want to show sideways because it looks nicer that way. I do this:

\begin{sidewaystable}
\begin{figure}[H]
\centering
\captionsetup{justification=centering}
\includegraphics[scale=.99]{Figures/hbar_pop_auf.pdf}
\end{figure}
\end{sidewaystable}

However, overleaf puts ...