[OS X TeX] An error came up
Juan Manuel Palacios
jmpalacios at mac.com
Thu Nov 28 07:15:33 CET 2002
Hello Tom. Sorry for taking the liberty to write to you like this
but I couldn't keep my hands off the sample code you provided to that
amazingly beautiful thesis presentation you told us about. I was very
eager to copy it and compile it to see what it achieves but turned into
dismay when the console told me there was an error:
! Illegal parameter number in definition of \fmpage.
<to be read again>
l.37 ...x[1.2\width]{\usebox{\fmbox}}\end{center}}
You think you could please help me fix it so that I can study your
code and output in order to learn from it?
Thank you very much in advance for the time. Regards,...
Juan.
On Wednesday, November 27, 2002, at 10:23 PM, Tom Kornack wrote:
> Thanks for pointer to turn on smoothing in Reader; it works well.
>
> Okay, I'm usually one to pick nits, but I would love to claim the
> extra pixels around my presentation that Reader currently wastes. When
> I'm presenting data, every pixel counts. How hard could it possibly be
> to write a full screen PDF viewer in cocoa? Anyone have experience
> here?
>
> To those who asked: I'm using seminar. I've posted some sample code
> below.
>
> Warren: Yes, Mike tolerates my use of the mac - he's actually happy
> with what I can do using Octave, although he often mentions that
> Genplot on Windows could do all that and cook eggs, too.
>
> Best Regards,
> Tom
>
>
>
> kornack.com
> 609-688-9077 (h), 609-258-0702 (w)
> Fundamental Symmetries Lab, Princeton University
> 414C Devereux Avenue, Princeton, New Jersey 08540
>
> -=-
>
> \documentclass{seminar}
>
> \usepackage{semcolor,slidesec}
> \rotateheaderstrue
> \pagestyle{empty}
> \slideframe{none}
> \centerslidesfalse
> \renewcommand{\slidestretch}{1.0}
> \renewcommand{\printlandscape}{\special{landscape}}
> \setlength{\slidewidth}{10in}
> \setlength{\slideheight}{8.25in}
>
> \usepackage{natbib}
>
> \usepackage[pdftex]{graphicx}
> \pdfcompresslevel=9
> \pdfadjustspacing=1
> \graphicspath{{./figures/}}
> \DeclareGraphicsExtensions{.jpg,.png,.pdf}
> \ExecuteOptions{pdftex}
>
> \usepackage{amsmath,amssymb,latexsym}
>
> \usepackage[
> pdftitle={A test of CPT symmetry using a high sensitivity
> potassium magnetometer},
> pdfauthor={Thomas Kornack <tom at kornack.com>},
> pdfkeywords={CPT Violation, alkali magnetometer},
> pdftex,colorlinks,citecolor=purple,bookmarks,linkcolor=blue,
> menucolor=blue,linktocpage,pdfstartview=FitH,
> pdfpagemode=UseThumbs
> ]{hyperref}
>
> \usepackage{boxedminipage}
> \newsavebox{\fmbox}
> \newenvironment{fmpage}[1]
> {\begin{center}\begin{lrbox}{\fmbox}\begin{minipage}[c][1.2\height]
> [c]{# 1}}
> {\end{minipage}\end{lrbox}\framebox[1.2\width]{\usebox{\fmbox}}\end
> {cent er}}
>
> \usepackage{color}
> \definecolor{orange}{rgb}{0.753,0.420,0.000}
> \definecolor{orangehi}{rgb}{0.765,0.463,0.129}
> \definecolor{yellow}{rgb}{0.651,0.651,0.000}
> \definecolor{green}{rgb}{0.149,0.451,0.000}
> \definecolor{red}{rgb}{0.690,0.000,0.000}
> \definecolor{blue}{rgb}{0.000,0.000,0.690}
> \definecolor{purple}{cmyk}{0.45,0.86,0,0}
>
> \newcommand{\headrule}{\rule{1pt}{0.8\textwidth}}
> \newcommand{\boxeq}[1]{\fboxsep=.2in $$ \framebox{$ #1 $} $$}
> \renewcommand{\labelitemi}{\(\rhd\)}
> \renewcommand{\labelitemii}{\(\square\)}
> \renewcommand{\labelitemiii}{\(\star\)}
>
> \begin{document}
>
> \begin{slide}
> \vspace*{0.2in}
> \textcolor{orange}{\Large
> \centerline{A test of CPT symmetry}
> \centerline{using a high sensitivity potassium magnetometer}
> }
> \centerline{Thesis Proposal}
> \centerline{Princeton University Program in Plasma Physics} \\
> \vspace*{0.3in}
> \centerline{Thomas W. Kornack} \\
> \vspace*{0.3in}
> \centerline{Advisor: Michael Romalis} \\
> \vspace*{0.3in}
> \centerline{1 November 2002}
> \end{slide}
>
> %HUGE SNIP
>
> \end{document}
>
>
> -----------------------------------------------------
> Mac TeX info, resources, and news can be found at:
> <http://www.esm.psu.edu/mac-tex/>
> -----------------------------------------------------
> List archives can be found at:
> <http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
> -----------------------------------------------------
> See message headers for list info.
> -----------------------------------------------------
>
-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------
More information about the macostex-archives
mailing list