Ticket #446: image.pgf

File image.pgf, 861 bytes (added by smk78, 9 years ago)

Example PGF file header that is created

Line 
1%% Creator: Matplotlib, PGF backend
2%%
3%% To include the figure in your LaTeX document, write
4%%   \input{<filename>.pgf}
5%%
6%% Make sure the required packages are loaded in your preamble
7%%   \usepackage{pgf}
8%%
9%% Figures using additional raster images can only be included by \input if
10%% they are in the same directory as the main LaTeX file. For loading figures
11%% from other directories you can use the `import` package
12%%   \usepackage{import}
13%% and then include the figures with
14%%   \import{<path to file>}{<filename>.pgf}
15%%
16%% Matplotlib used the following preamble
17%%   \usepackage{fontspec}
18%%   \setmainfont{Times New Roman}
19%%   \setsansfont{Verdana}
20%%   \setmonofont{Courier New}
21%%
22\begingroup%
23\makeatletter%
24\begin{pgfpicture}%
25\pgfpathrectangle{\pgfpointorigin}{\pgfqpoint{6.112500in}{3.887500in}}%
26\pgfusepath{use as bounding box, clip}%