More structuring features for prosper
Guillaume Rousse <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Organization | Université Pierre et Marie Curie |
| Message-ID | <[email protected]> |
Hello.
Something i feel missing currently in prosper is the lack of features for
creating a structure in a presentation, as opposed to standard LaTeX
documents. The only available feature is the \part macro, that allows a
one-level depth structure, which is generally not enough for me. And there
isn't any automatic generation of the list of parts neither.
First, i'd like to create a second-level structure macro. My current idea
about it would be to display current part first, then all of subparts, with
current subpart highlited. Something as:
PART 1
subpart 1
subpart 2
SUBPART 3
Here is my current attempt, which is a quick hack from prosper.cls
\makeatletter
\let\subpart=\relax
\newcommand{\subpart}[3][\@defaultTransition]{%
\begin{slide}[#1]{}%
\vspace*{1.5cm}\@addBookmarkOnSlide{0}{#2}%
\begin{center}%
\fontTitle{#2}\\%
\bigskip%
{\ifinColor\@fontSubtitleColor\else\@fontSubtitleBW\fi#3\par}
\end{center}
\end{slide}}
\makeatother
And i use it this way:
\subpart{part1}{
subpart 1\\
subpart 2\\
\framebox{subpart 3}
}
As you can see, it is not optimal at all:
- I have to repeat current part name first,
- I didn't found anything else as \framebox for highliting current subpart, as
\textbf for instance failed (everything is done with subtitle font)
Moreover, propsper.cls has a macro for printing something with title font
(\fontTitle) but no equivalent for subtitle font, so I had to do it manually.
Second, i'd like to have some \tableofcontents equivalent for automatically
generating a slide with all part list. I didn't tried to implement anything
yet however.
Any comments/improvements welcomed.
--
Guillaume Rousse
The school board will make a better pay offer before the teacher's union
negotiates.
-- Murphy's Laws of Teaching n°12
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/