KristofferC / PGFPlotsX.jl

Plots in Julia using the PGFPlots LaTeX package
Other
301 stars 40 forks source link

Change font in documentclass options #208

Closed yakir12 closed 4 years ago

yakir12 commented 4 years ago

Can we affect the default font size by specifying it in the options of the documentclass:

\documentclass[tikz, 10pt]{standalone}
%                     ↑
%                     Like this

Or perhaps there is a better way?

KristofferC commented 4 years ago

You can use PGFPlotsX.CLASS_OPTIONS to set options like that.

https://github.com/KristofferC/PGFPlotsX.jl/blob/5145243095622247e8419b1fb4d0fa7d87ac627e/src/tikzdocument.jl#L109-L118

yakir12 commented 4 years ago

Ah, yes. I missed it in the documents. Thanks again!