Document ClassesHow to reset pstricks for every new pspicture environment?

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
fractal.generator
Posts: 66
Joined: Tue Oct 07, 2008 9:39 am

How to reset pstricks for every new pspicture environment?

Post by fractal.generator »

Dear all,

In my document there are many pspicture environments with \psset command inside. I want to make the settings in one pspicture environment independent from the others.

Is there a command to reset all settings to default values?
I need this command to make sure all settings in default value before making any customization for every new pspicture environment.

Thank you in advance.


regards,


Hayashi

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: How to reset pstricks for every new pspicture environment?

Post by balf »

As far as I know, any change made via \psset is purely local to the pspicture environment inside which this command is used. The point is, of course, not to use \psset outside a pspicture environment.

Regards,
B.A.
fractal.generator
Posts: 66
Joined: Tue Oct 07, 2008 9:39 am

How to reset pstricks for every new pspicture environment?

Post by fractal.generator »

balf wrote:As far as I know, any change made via \psset is purely local to the pspicture environment inside which this command is used. The point is, of course, not to use \psset outside a pspicture environment.

Regards,
B.A.
Mr. B.A.
Thanks for replying.

I will do your suggestion.


regards,

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

How to reset pstricks for every new pspicture environment?

Post by CrazyHorse »

Code: Select all

\bgroup% holds everything local
\psset{...}
\begin{pspicture}
...
\end{pspicture}
\egroup
Herbert
fractal.generator
Posts: 66
Joined: Tue Oct 07, 2008 9:39 am

Re: How to reset pstricks for every new pspicture environment?

Post by fractal.generator »

Many thanks to Herbert ;)


Hayashi
Post Reply