RE: How to use multiple styles in singlepresentation?

Pedro Jorge Caridade <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <1080742469.16191.18.camel@betty>
You are right!
I've never tried you package (I assume my guilt) but how are treated the
old Prosper styles? This is simply because I have a lot of styles and to
migrate to our solution maybe a little complicated.
Pedro  



On Wed, 2004-03-31 at 14:49, Hendri Adriaens wrote:
> > The solution is a bit tricky and uses if commands.
> > Create if with the instruction
> > \newif\ifStyleAtrue
> > \newif\ifStyleBfalse
> > .....
> >
> > then inside your PPR style put all the styles and color definitions in
> > if-then-else structure
> > \ifStyleA
> > ......
> > \fi
> > \ifStyleB
> > .....
> > \fi
> >
> > When you are writing you presentation you just need to switch the styles
> >
> > \StyleAfalse
> > \StyleBtrue
> 
> 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}{SpecialSli
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.