fhackenberger / ktikz

KtikZ provides a nice user interface for making pictures using TikZ.
Other
350 stars 34 forks source link

Add support for other TikZ packages #7

Open gprud opened 7 years ago

gprud commented 7 years ago

Hi Florian,

I would like to implement support for other libraries in KTikz, like some of TikZ libs (external, …) or PgfPlots which I use a lot. Making some “completion data files” (as Texstudio’s *.cwl) would be nice. These files could be loaded on request. I think that reading .cwl files is not so complicated, but I’m not sure that these files are complete.

Could you recommend me a way to implement this feature?

Thanks, GP

lcpz commented 6 years ago

It would be very useful to be able to load PgfPlots.

bonanza123 commented 5 years ago

Isn't it sufficient to change the template file (call it pgf.pgs), e.g. to

\documentclass[x11names,tikz,crop=true]{standalone}
\usepackage{mathtools}
\usepackage{pgfplots}
\begin{document}
<>
\end{document}

?