The tikzscale LaTeX package provides an interface similar to includegraphics for tikzpictures. It allows scaling of TikZ images and PGFPlots to a provided width or height without changing the text size.
7
stars
3
forks
source link
Error when both width and height are specified without pgfplots package loaded #7
I think the desirable behavior here would be that the image is resized so that the width is at most 3cm and the height is at most 3cm, whichever is smaller.
Apart from that, do you have any plan to support inline tikzpicture environments?
Also, I think it's undesirable for the package to implicitly handle in addition relative import, that feels like the job of a separate package to me. The import package already handles that.STPH-FP
if
tikz
package is loaded withoutpgfplots
package, and both width and height are specified in\includegraphics
command, an error happens:An example document:
Where
image.tikz
contains:I think the desirable behavior here would be that the image is resized so that the width is at most 3cm and the height is at most 3cm, whichever is smaller.
Apart from that, do you have any plan to support inline
tikzpicture
environments?Also, I think it's undesirable for the package to implicitly handle in addition relative import, that feels like the job of a separate package to me. The
import
package already handles that.STPH-FP