Strange things with colours...
Magnus Therning <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, this is my first posting so please be gentle :-)
I am finding prosper to be somewhat confusing sometimes. My experience
with LaTeX is somewhat limited in the sense that I most often have
stayed within the defined styles and classes. Now, however I'd like to
define my own prosper style.
I would like to have white text on blue background, but find myself
having a mix of black and white text on blue...
I've put the following in PPRmystyle.sty:
\ifcolorBG
\FontTitle{%
\usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\white}{%
\usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\white}
\FontSubtitle{%
\white}{%
\white}
\FontText{%
\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont\white}{%
\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont\white}
\else
\FontTitle{%
\usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\black}{%
\usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\black}
\FontSubtitle{%
\black}{%
\black}
\FontText{%
\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont\black}{%
\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont\black}
\fi
The top of pres.tex looks like this:
\documentclass[mystyle,total,slideColor,colorBG]{prosper}
\title{My Title}
\subtitle{My subtitle}
\author{Magnus Therning}
\email{[email protected]}
\institution{Where I work}
\begin{document}
\maketitle
This gives me the following on the title page:
title - black
subtitle - white
author, email, institution - black
Putting \white in front of author, institution, and email works fine,
but '\tite{\white My Title} continues to give me a black title!
I also noticed that the items in lists are in black rather than white:
\begin{slide}{Slide one}
\begin{description}
\item[in white] in black
\item[in white] in black
\end{description}
\end{slide}
(The same goes for itemize and enumerate, where bullets and numbers are
white and the text black.)
What variables control the font colors?
/M
--
Magnus Therning (OpenPGP: 0x6A83A7DF)
[email protected]
http://members.chello.nl/m.therning/
I'm convinced anybody who thinks RPM is A Good Thing really should
reconsider how much crack they smoke in a day. 8:o)
-- Paul Johnson (in a post to debian-user)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+9apK/uA7GWqDp98RAjYXAJ4z9tV44sVTMYy2lIHj/t0XNucfswCfVxll Z218LOZ3eM8eT2rLRLIjyYk= =Dw3W -----END PGP SIGNATURE-----