Re: How to use multiple styles in singlepresentation?
"Markus Harju" <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Message-ID | <00ad01c4172d$90241ef0$9259e782@mat089146> |
I think using new if's has the advantage of specifying different
text colors etc. for different styles. Same thing with \myitem{1}
etc. commands.
Or can you do it with \newcommand's as well? How do you
set the text font and item appearance for given style using
\newcommand's and templates? I mean so that you would have
different items in different styles and switch between them
in single presentation.
Markus
> Creative but unnecessarily cumbersome. Please have a look at my work on
> HA-prosper for examples. Basically, the command which uses \NewSlideStyle
> can be used to set the new template. And you can have as many templates
> in a style as you want. HA-prosper puts these (reserved) commands into
> an environment to create things like `wideslide' which temporarily uses
> a different template and switches back to the normal template after the
> wideslide:
> \newcommand{\NormalSlide}[1]{%...
> \newcommand{\SpecialSlide}[1]{%...
> ...
>
\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide
> }}\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialS
li
> de}}
> ...
> \def\wideslide{\@ifnextchar[\@wideslide{\@wideslide[]}}%
> \def\@wideslide[#1]#2{%
> \HAPR@wideSlide
> \begin{slide}[#1]{#2}%
> }%
> \def\endwideslide{\end{slide}\HAPR@normalSlide}%
>
> Now you can do:
> \begin{slide}{title}...\end{slide}
> and directly after that
> \begin{wideslide}{title}...\end{wideslide}
> and directly after that
> \begin{slide}{title}...\end{slide}
>
> Have a look at my styles for complete codes.
>
> Best,
> -Hendri.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Prosper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/prosper-users
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click