emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] use adjustbox rather than resizebox for diagrams?


From: chopps
Subject: [O] use adjustbox rather than resizebox for diagrams?
Date: Mon, 15 Feb 2016 08:47:11 -0500
User-agent: mu4e 0.9.17; emacs 24.5.1

I've had very good luck using adjustbox for diagrams in ox-beamer
generated presentations. I've had much less luck using the standard
output (resizebox). I'm wondering if people might consider switching
over to adjustbox rather than resizebox for graphical inclusion?

The main difference between adjustbox and resizebox seems to be that
resizebox always resizes the included graphics whereas adjustbox only
resizes the graphics if they exceed the space as specified, and then the
graphics are scaled proportionally. This generally leads to getting what
you actually want all the time vs. having to tweak either the width or
height of the results to get the correct visuals.

IOW if ox-latex switched to adjustbox it could assign defaults for both
width and height and generally the user would get what they wanted
without having to specify anything.

Example raw latex using adjustbox:

\begin{adjustbox}{max totalsize={.9\textwidth}{.9\textheight},center}
\input{sequence.tikz}
\end{adjustbox}

Thanks,
Chris.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]