|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
must use \documentclass{uicthesi}Hey,
Sorry, if you've received this twice. (Don't know if this works yet) I just love tikz and want to use it to make the pics for my thesis. Trouble is I am supposed to use \documentclass{uicthesi}, a style that carries instructions how my thesis will be formatted. Then when I load \usepackage{tikz} and use \begin{figure} \end{figure} I get an error, it says too many } There is no problem when I use \documentclass{article}. Everything compiles. Can you help? Petar Manolov "No longer do physicists regard group theory merely as providing a valuable tool for the elucidation of the symmetry aspects of physical problems. Recent developments, particularly in high-energy physics, have transformed its role so that it now occupies a crucial and central position." J. F. Cornwell ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: must use \documentclass{uicthesi}Le 4 juin 09 à 06:20, peter manolov a écrit : > Hey, > Sorry, if you've received this twice. (Don't know if this works yet) > I just love tikz and want to use it to make the pics for my thesis. > Trouble is I am supposed to use \documentclass{uicthesi}, a style that > carries instructions how my thesis will be formatted. Then when I load > \usepackage{tikz} and use > > \begin{figure} > > \end{figure} > I get an error, it says too many } > > There is no problem when I use \documentclass{article}. Everything > compiles. > Can you help? > Petar Manolov Hi An example complete is necessary ! Perhaps you make a mistake in the source or you have a problem with your TeX distribution and the installation. I can compile with uicthesi, tikz without problem Best Regards Alain Matthes ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: must use \documentclass{uicthesi}Hi,
This is a problem with the color package (used by xcolor and xxcolor which is used by TikZ). For a minimal example: \documentclass{uicthesi} \usepackage{color} \begin{document} \begin{figure} A figure \caption{A figure} \end{figure} \end{document} The color stuff uses \aftergroup and assumes that a box has an extra grouping level inside it. This extra grouping is provided by appropriately defined LaTeX macros in class/style files. Unfortunately, uicthesi.cls does not define macros appropriately in this case. You can see this if you compare the the definitions of \@xfloat in uicthesi.cls and latex.ltx (which should be in the base folder of your LaTeX distribution). You can try changing the line in the definition of \@xfloat in uicthesi.cls from \global\setbox\@currbox\vbox\bgroup to \global\setbox\@currbox\color@vbox\normalcolor\vbox\bgroup Which should work. Given the difference in maintainance dates (uicthesi.cls 1996, and color.sty 2005 - at least on my system), there may be other bits that need updating as well. Regards Mark 2009/6/4 Alain Matthes <alain.matthes@...>: > > Le 4 juin 09 à 06:20, peter manolov a écrit : > >> Hey, >> Sorry, if you've received this twice. (Don't know if this works yet) >> I just love tikz and want to use it to make the pics for my thesis. >> Trouble is I am supposed to use \documentclass{uicthesi}, a style that >> carries instructions how my thesis will be formatted. Then when I load >> \usepackage{tikz} and use >> >> \begin{figure} >> >> \end{figure} >> I get an error, it says too many } >> >> There is no problem when I use \documentclass{article}. Everything >> compiles. >> Can you help? >> Petar Manolov > > Hi > > An example complete is necessary ! Perhaps you make a mistake in the > source > or you have a problem with your TeX distribution and the installation. > > I can compile with uicthesi, tikz without problem > > Best Regards > > Alain Matthes > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > pgf-users mailing list > pgf-users@... > https://lists.sourceforge.net/lists/listinfo/pgf-users > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: must use \documentclass{uicthesi}Dear Mark,
Thank you so much for your email. Your suggestion did fix the problem. I couldn't have seen this myself. Sincerely, Peter Manolov On Thu, June 4, 2009 2:57 am, Mark Wibrow wrote: Hi, This is a problem with the color package (used by xcolor and xxcolor which is used by TikZ). For a minimal example: \documentclass{uicthesi} \usepackage{color} \begin{document} \begin{figure} A figure \caption{A figure} \end{figure} \end{document} The color stuff uses \aftergroup and assumes that a box has an extra grouping level inside it. This extra grouping is provided by appropriately defined LaTeX macros in class/style files. Unfortunately, uicthesi.cls does not define macros appropriately in this case. You can see this if you compare the the definitions of \@xfloat in uicthesi.cls and latex.ltx (which should be in the base folder of your LaTeX distribution). You can try changing the line in the definition of \@xfloat in uicthesi.cls from \global\setbox\@currbox\vbox\bgroup to \global\setbox\@currbox\color@vbox\normalcolor\vbox\bgroup Which should work. Given the difference in maintainance dates (uicthesi.cls 1996, and color.sty 2005 - at least on my system), there may be other bits that need updating as well. Regards Mark 2009/6/4 Alain Matthes <alain.matthes@...>: > > Le 4 juin 09 à 06:20, peter manolov a écrit : > >> Hey, >> Sorry, if you've received this twice. (Don't know if this works yet) >> I just love tikz and want to use it to make the pics for my thesis. >> Trouble is I am supposed to use \documentclass{uicthesi}, a style that >> carries instructions how my thesis will be formatted. Then when I load >> \usepackage{tikz} and use >> >> \begin{figure} >> >> \end{figure} >> I get an error, it says too many } >> >> There is no problem when I use \documentclass{article}. Everything >> compiles. >> Can you help? >> Petar Manolov > > Hi > > An example complete is necessary ! Perhaps you make a mistake in the > source > or you have a problem with your TeX distribution and the installation. > > I can compile with uicthesi, tikz without problem > > Best Regards > > Alain Matthes > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > pgf-users mailing list > pgf-users@... > https://lists.sourceforge.net/lists/listinfo/pgf-users > "No longer do physicists regard group theory merely as providing a valuable tool for the elucidation of the symmetry aspects of physical problems. Recent developments, particularly in high-energy physics, have transformed its role so that it now occupies a crucial and central position." J. F. Cornwell ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
| Free embeddable forum powered by Nabble | Forum Help |