You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just discovered the \adjustimage command to fix images in place and I absolutely love it so far.
However I am wondering how I could get the caption to move with the figure.
I use this command:
\adjustimage{height=4.5cm, left, caption={Short Caption}, nofloat=figure}{image-15.png}
and it works like a charm.
Furthermore I noticed that when the caption gets longer than the \textwidth it is automatically left-aligned.
However when it is shorter than the \textwidth the caption text is centered and looks off when the figure is positioned left-aligned but the caption floats centered in the middle of the page.
Wrapping it with another \adjustbox{left}{ \adjustimage{.....}}
didn't do the trick.
Aligning caption and figure together with one command would be an awesome extension to this package and especially the \adjustimage{} usability.
Thanks for your awesome work on this package so far. I find it very useful for layout adjustments.
Kind regards,
Chris
The text was updated successfully, but these errors were encountered:
Hello Martin Scharrer,
I just discovered the \adjustimage command to fix images in place and I absolutely love it so far.
However I am wondering how I could get the caption to move with the figure.
I use this command:
\adjustimage{height=4.5cm, left, caption={Short Caption}, nofloat=figure}{image-15.png}
and it works like a charm.
Furthermore I noticed that when the caption gets longer than the \textwidth it is automatically left-aligned.
However when it is shorter than the \textwidth the caption text is centered and looks off when the figure is positioned left-aligned but the caption floats centered in the middle of the page.
Wrapping it with another
\adjustbox{left}{ \adjustimage{.....}}
didn't do the trick.
Aligning caption and figure together with one command would be an awesome extension to this package and especially the \adjustimage{} usability.
Thanks for your awesome work on this package so far. I find it very useful for layout adjustments.
Kind regards,
Chris
The text was updated successfully, but these errors were encountered: