Using Fancy headers with powersem
Giridhar Jothiprasad <[email protected]> Thu, 5 Dec 2002 10:17:34 -0800 (PST)
| Newsgroups | gmane.comp.tex.texpower.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I was trying to develop my own header and footer for
my presentation with the fancyhdr package and use it
along with powersem but however I was having big time
problems. I use pdflatex to generate the pdf code.
When I compile this I get a pdf file with a single
line on a white page. The actual light background with
the text occurs displaced horizontally on the same
page.
My code are is given below. I have included all the
packages I used because I was kind of new to this and
didnt know what affects the display. The portion on
defining the color "lemon Chiffon" did not work as
well. But the more critical problem for me was to get
headers and footers. I would greatly appreciate any
help I could get in solving this.
Thanks,
Giri.
Code I used :
\PassOptionsToPackage{coloremph,colormath,colorhighlight,lightbackground,slifonts}{texpower}
\documentclass
[ letterpaper,landscape,
KOMA,calcdimensions,display]%
{powersem}
\renewcommand{\slidetopmargin}{10mm}
\renewcommand{\slidebottommargin}{10mm}
\renewcommand{\slideleftmargin}{5mm}
\renewcommand{\sliderightmargin}{5mm}
\usepackage{slidesec}
\usepackage{semcolor}
\usepackage{fancybox}
\usepackage{fancyhdr}
\usepackage{url}
\usepackage[latin1]{inputenc}
\let\name=\textsc
\usepackage[bookmarksopen,colorlinks,urlcolor=red]{hyperref}
\usepackage{fixseminar}
\usepackage{texpower}
\slidesmag{4}
\slideframe{none}
\pagestyle{fancy}
\setcounter{tocdepth}{3}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{amsmath}
\delimitershortfall-1sp
\usepackage{soul}
\IfFileExists{cmtt.sty}{\usepackage[override]{cmtt}}{}
%\definecolor{LemonChiffon}{rgb}{1.,0.98,0.8}
\renewcommand{\makeslideheading}[1]{%
\begin{flushleft}
%\psframebox[framearc=0.4,fillstyle=solid,fillcolor=LemonChiffon]{%
\psframebox[framearc=0.4,fillstyle=solid]{%
\large{\theslidesection \quad #1}}
\end{flushleft}}
\renewcommand{\makeslidesubheading}[1]{%
\begin{flushleft}
%\textbf{\underline{\theslidesubsection \quad #1}}
{\textcolor{blue}{\underline{\theslidesubsection \quad
#1}}}
\end{flushleft}}
% Headers and footers personalization using the
`fancyhdr' package
\fancyhf{} % Clear all fields
\renewcommand{\headrulewidth}{0.1mm}
\renewcommand{\footrulewidth}{0.1mm}
\fancyhead[R]{\theslidesection \quad \theslideheading}
\fancyfoot[L]{\tiny\thedate}
\fancyfoot[C]{\tiny Page \theslide}
\fancyfoot[R]{\tiny Giridhar Jothiprasad \\}
\begin{document}
\begin{slide}
\slideheading{Hello}
Hello
\end{slide}
\end{document}
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf