[pstricks] conflict with pst-uml.sty and um.styl

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Fri Jun 4 22:50:19 CEST 2004


boulen ben foulen wrote:

> i'm using pst-uml.sty and uml.sty, there is no problem if i use them 
> separately, but when i use them together there is conflicts because they 
> depend on PSTriks, and they share   same commands like umlClass.
> i'm using  uml.sty to draw class diagram and package in uml ,and 
> pst-uml.sty to draw UML SEQUENCE DIAGRAM.
> How can i use the two packages in the same source.tex witout conflicts?

load the first package, e.g. pst-uml, then rename the macros
in a way like
\let\pstumlClass\umlClass
....

now load the second package and you can use
\psumlClass and \umlClass

Herbert



-- 
http://TeXnik.de/
http://PSTricks.de/
http://perce.de/LaTeX/math/Mathmode-TeX.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list