Graphics, Figures & TablesPSTricks | Set optional arguments for specific command

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

PSTricks | Set optional arguments for specific command

Post by svend_tveskaeg »

Hi all.

I have some

Code: Select all

\begin{pspicture}
<code>
\end{pspicture}
constructions where I use \pscustom with the same options.

How (if possible) do I globally set the options for \pscustom? It is somewhat troublesome to typeset them at every pspicture.

Thank you in advance!
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

PSTricks | Set optional arguments for specific command

Post by CrazyHorse »

svend_tveskaeg wrote:I have some

Code: Select all

\begin{pspicture}
<code>
\end{pspicture}
constructions where I use \pscustom with the same options.

How (if possible) do I globally set the options for \pscustom? It is somewhat troublesome to typeset them at every pspicture.
read section "16 Custom styles"
in the documentation .... ;-)
http://mirror.ctan.org/graphics/pstrick ... ks-doc.pdf
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Re: PSTricks | Set optional arguments for specific command

Post by svend_tveskaeg »

Spot on, as always!
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
Post Reply