Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I use a exported TeX/PSTricks file in my TeX document?

DOCUMENT exported file TeX
0
Posted

How do I use a exported TeX/PSTricks file in my TeX document?

0

\usepackage{pstricks} to the preamble of your TeX document. Then include your image as \begin{figure} \centering \input{filename.tex} \caption{A caption} \label{figure:alabel} \end{figure} in your document. Note: Up to and including version 0.86, Dia doesn’t deal correctly with some functions that PSTricks doesn’t implement. You may have to change the start of the generated file to look like this: Then uncomment the three commands in the generated TeX file (unless you have a PSTricks with this functionality implemented), so it looks like: % PSTricks TeX macro % Title: x500name.dia % Creator: Dia v0.86 % CreationDate: Thu Oct 5 11:25:54 2000 % For: a user % \usepackage{pstricks} \providecommand{\setlinejoinmode}[1]{} \providecommand{\setlinecaps}[1]{} \providecommand{\setfont}[2]{} … Note: PSTricks in the tetex-1.0.6-11 RPM (used in Red Hat Linux 6.2) is buggy. Easiest fix is to get pstricks.tex from CTAN and put it in /usr/share/texmf/tex/generic/pstricks/. • Q: I wish I had nice zig

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123