%% Time-stamp: <2000/03/14 15:20:25 bruce> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Style file for EXAFS Analysis with FEFF and FEFFIT %%% Copyright (C) 2000 Bruce Ravel %%% %%% http://feff.phys.washington.edu/~ravel %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Copyright (c) 2000 Bruce Ravel %% Permission is granted to copy, distribute and/or modify this %% document under the terms of the GNU Free Documentation License, %% Version 1.0 or any later version published by the Free Software %% Foundation; with the Invariant Sections being "EXAFS Analysis %% Using FEFF and FEFFIT, Part 1: Presentation", "EXAFS Analysis %% Using FEFF and FEFFIT, Part 2: Commentary", and all related %% analysis examples, with no Front-Cover Texts, and with no %% Back-Cover Texts. A copy of the license is included in the %% section entitled "GNU Free Documentation License". %% %% %% This file (and all files associated with `EXAFS Analysis Using FEFF %% and FEFFIT') are free documentation; you can redistribute it and/or %% modify it under the terms of the GNU Free Documentation License as %% published by the Free Software Foundation; either version 1, or (at %% your option) any later version. %% %% You should have received a copy of the GNU Free Documentation License %% along with `EXAFS Analysis Using FEFF and FEFFIT'; see the file %% COPYING. If not, write to the Free Software Foundation, 675 %% Massachusettes Ave, Cambridge, MA 02139, USA. %% %% Permission is granted to make and distribute verbatim copies of this %% manual provided the copyright notice and this permission notice are %% preserved on all copies. %% %% Permission is granted to copy and distribute modified versions of this %% manual under the conditions for verbatim copying, provided that the %% entire resulting derived work is distributed under the terms of a %% permission notice identical to this one. %% %% Permission is granted to copy and distribute translations of this %% manual into another language, under the above conditions for modified %% versions, except that this permission notice may be stated in a %% translation approved by the author. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% ------------------------------------------------------------------ %%% Page dimensions \setlength{\hoffset}{0truecm} \setlength{\voffset}{0truecm} \setlength{\topmargin}{0truecm} \setlength{\marginparsep}{0truecm} \setlength{\marginparwidth}{0truecm} \setlength{\textheight}{22.5truecm} \setlength{\textwidth}{16.truecm} %\setlength{\topmargin}{-1truecm} \setlength{\oddsidemargin}{0truecm} \setlength{\evensidemargin}{0truecm} \setlength{\headsep}{0.5truecm} \setlength{\parindent}{0.0pt} %%% ------------------------------------------------------------------ %%% Packages %\usepackage{pandora} % way cool font \usepackage{epsfig} % include encaps. postscript %\usepackage{pifont} % ZapfDingbats \usepackage{amsmath,amsfonts} % mathematics \usepackage{fancybox} % shadow and oval boxes \usepackage{fancyheadings} % page headings \usepackage{ifthen,calc} % used to determine page headings \usepackage{array} % needed for predictions page \usepackage{dcolumn} \usepackage{alltt} %\usepackage{colortbl} \pdfoutput=1\relax \usepackage[pdftex]{color} \usepackage[pdftex,colorlinks,breaklinks,backref,bookmarks=true]{hyperref} \usepackage{graphicx} \pdfcompresslevel=9 \input{rgb.sty} %% X11 color names \newcommand{\crnotice}{\textsf{EXAFS Analysis with FEFF and FEFFIT, {\copyright} 2000 Bruce Ravel}} \input{version} %%% title page \newcommand{\MakeTitlePage}{% \thispagestyle{empty} \vspace*{\stretch{1}} \noindent\rule{\linewidth}{1mm} \begin{flushleft} {\huge \textsf{EXAFS Analysis with FEFF and FEFFIT}}\\[2ex] {\huge \textsf{Part 1: Presentation}} \end{flushleft} \begin{flushright} {\Large Bruce Ravel} \end{flushright} \rule{\linewidth}{1mm} \vspace*{\stretch{2}} \begin{flushright} {\Large \textsf{Version \version\\[1ex] \today}} \end{flushright} \newpage } %%% ------------------------------------------------------------------ %%% word formatting commands \newcommand{\file}[1]{{\color{green4}`\texttt{#1}'}} \newcommand{\command}[1]{\texttt{\textsl{#1}}} %%% ------------------------------------------------------------------ %%% definitions of Page and Topic \newcounter{Topic} \newcounter{Page}[Topic] \setcounter{Topic}{0} \setcounter{Page}{0} \newcommand{\Topicname}{} \newcommand{\Topic}[2]{% \newpage\renewcommand{\@currentHref}{Topic:#2} \renewcommand{\Topicname}{#1}\hypertarget{Topic:#2}{\mbox{}}% \addcontentsline{lop}{Topic}{#1}\stepcounter{Topic}}% \newcommand{\Pinclude}[3]{% \begin{Page}{#1}{#3}\input{#2}\end{Page}} \newenvironment{Page}[2]{% \ifthenelse{\thePage > 0}{\newpage}{}% \stepcounter{Page}% \renewcommand{\@currentHref}{Page:#2}% \addcontentsline{lop}{Page}{#1}% \markboth{{\huge\color{blue}\textsf{\theTopic.\thePage}}}% {\LARGE\color{darkviolet}\textbf\textsf{{\Topicname}}}% \ifthenelse{\thePage > 1}{~\\\vspace{1ex}}{}% \hypertarget{Page:#2}{\centerline{{\huge\color{blue}\textsf{#1}}}}% \vspace{0.5cm}%\vspace*{\stretch{1}}% }{} % \begin{minipage}[h][0.95\textheight][c]{\linewidth}% % \begin{center}\begin{minipage}[h]{0.95\linewidth} }% % {\end{minipage}\end{center}\end{minipage}}% \vspace*{\stretch{1}}} % ~\\\vspace{1ex}% \newenvironment{Assignment}[2]{% \ifthenelse{\thePage > 0}{\newpage}{}% \stepcounter{Page}% \renewcommand{\@currentHref}{Assignment:#1}% \addcontentsline{lop}{Assignment}{Homework Assignment \##2}% \markboth{~}{\LARGE\color{darkviolet}\textbf\textsf{End of Day #2}}% \ifthenelse{\thePage > 1}{~\\\vspace{1ex}}{}% \hypertarget{Assignment:#1}{\centerline{{\huge\color{sienna}% \textsf{Homework Assignment \##2}}}}% \vspace{0.5cm}%\vspace*{\stretch{1}}% }{} \newenvironment{Answers}[3]{% \ifthenelse{\thePage > 0}{\newpage}{}% \stepcounter{Page}% \renewcommand{\@currentHref}{Answers:#1}% \addcontentsline{lop}{Answers}{Homework Answers \##2}% \markboth{~}{\LARGE\color{darkviolet}\textbf\textsf{Beginning of Day #3}}% \ifthenelse{\thePage > 1}{~\\\vspace{1ex}}{}% \hypertarget{Answers:#1}{\centerline{{\huge\color{sienna}% \textsf{Homework Answers \##2}}}}% \vspace{0.5cm}%\vspace*{\stretch{1}}% }{} %%% ------------------------------------------------------------------ %%% definition of List of Pages \newcommand{\listofPages}{\@starttoc{lop}} \newcommand{\Pcaption}[2]{\addcontentsline{lop}{#1}{#2}} \newcommand{\l@Topic}[2]{% \par\vspace{1.0ex}\noindent{\bfseries #1}~~\dotfill~~{\bfseries #2}} \newcommand{\l@Page}[2]{\par\quad{#1~~\dotfill~~#2}} \newcommand{\l@Assignment}[2]{% \par\vspace{1.0ex}\noindent{\bfseries #1}~~\dotfill~~{\bfseries #2}} \newcommand{\l@Answers}[2]{% \par\vspace{1.0ex}\noindent{\bfseries #1}~~\dotfill~~{\bfseries #2}} %%% ------------------------------------------------------------------ %%% headers and footers \pagestyle{fancy} \setlength{\headrulewidth}{2pt} \lhead[\fancyplain{}{\rightmark}]{\fancyplain{}{\rightmark}} \chead[]{} \rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{\leftmark}} \lfoot[\crnotice]{\crnotice} \cfoot[]{} \rfoot[\textsf{Page~\thepage}]{\textsf{Page~\thepage}} %% \lhead[\fancyplain{\textbf{\Topicname}}{\textbf{\Topicname}}] %% {\fancyplain{\textbf{\Topicname}}{\textbf{\Topicname}}} %% \chead[\fancyplain{}{}]{\fancyplain{}{}} %% \rhead[\fancyplain{}{}]{\fancyplain{}{}} %% \lfoot[\fancyplain{}{}]{\fancyplain{}{}} %% \cfoot[\fancyplain{}{\bfseries\thepage}]{\fancyplain{}{\bfseries\thepage}} %% \rfoot[\fancyplain{}{}]{\fancyplain{}{}} %%% ------------------------------------------------------------------ %%% commonly used words requiring special formating \newcommand{\atoms}{\textsc{atoms}} \newcommand{\feff}{\textsc{feff}} \newcommand{\autobk}{\textsc{autobk}} \newcommand{\feffit}{\textsc{feffit}} \newcommand{\ifeffit}{\textsc{ifeffit}} \newcommand{\eto}{EuTiO$_3$} \newcommand{\pto}{PbTiO$_3$} \newcommand{\pgt}{Pb$_{1-x}$Ge$_x$Te} \newcommand{\lsco}{La$_{1-x}$Sr$_x$CuO$_4$} \newcommand{\abc}{AgBr$_{1-x}$Cl$_x$} %%% I don't like the fraktur R and I for the real and imaginary %%% symbols. I much prefer Re(foo) and Im(foo). \Re and \Im behave %%% like \exp and \sin. \renewcommand{\Re}{\operatorname{Re}} \renewcommand{\Im}{\operatorname{Im}} %%% ------------------------------------------------------------------ %%% miscellaneous environments %%% a tighter linespacing for the enumerate and itemize environments \newcounter{tightenum} \newenvironment{tightenum} {\begin{list}{\arabic{tightenum}. }{\usecounter{tightenum} \setlength{\itemsep}{-0.5ex}}} {\end{list}} \newenvironment{tightitem} {\begin{list}{$\bullet$~}{\setlength{\itemsep}{-0.5ex}}} {\end{list}} \newenvironment{Homework}% {\begin{quote}\color{sienna}\textbf{Homework:}} {\end{quote}} \newenvironment{cquote}% {\begin{center}\begin{minipage}[h]{0.9\linewidth}\begin{center}} {\end{center}\end{minipage}\end{center}} %%% Local Variables: %%% mode: latex %%% TeX-master: "~/course/latex/course" %%% End: