% Style file for the Talk % Ewan Stewart % KAIST % Fall 2007 %%%% Layout %%%% %\addtolength{\hoffset}{-1cm} %\addtolength{\textwidth}{2cm} %\addtolength{\voffset}{-1cm} %\addtolength{\headheight}{1mm} %\addtolength{\textheight}{1.9cm} % Reduces the margins and expands the text to fit. %\usepackage{fancyhdr} % A package for adding fancy headers and footers. %\renewcommand{\headrulewidth}{0pt} % Eliminates the headrule. %\pagestyle{fancy} %\lhead{PH211} %\chead{Physical Mathematics I} %\rhead{KAIST} %\lfoot{Ewan Stewart} %\rfoot{Fall 2007} %%%% Mathematics %%%% \usepackage{amssymb} % A package for extra mathematical symbols. \usepackage{bm} % A package for bold mathematical symbols. \newcommand{\Z}{\mathbb{Z}} % Defines the command "\Z" to be "Z" written in blackboard bold font. \newcommand{\R}{\mathbb{R}} \newcommand{\C}{\mathbb{C}} \renewcommand{\Re}{\mathop{\mathrm{Re}}} % Redefines the command "\Re" to be "Re" written in Roman font and treated as a mathematical operator. \renewcommand{\Im}{\mathop{\mathrm{Im}}} \newcommand{\sgn}{\mathop{\mathrm{sgn}}} \renewcommand{\d}[1]{\mathinner{d#1}} % Redefines the command "\d{ }" to be "d" followed by its argument and treated as a sub-formula. \newcommand{\fn}[2]{\mathinner{#1\mathopen{\left(#2\right)}}} % Defines the command "\fn{ }{ }" to be its first argument followed by "\left(" followed by its second argument followed by "\right)" and treated as a sub-formula. The "\mathopen" command makes the spacing before the "\left(" appropriate for a "(" rather than a sub-formula. \newcommand{\bra}[1]{\langle #1 |} % Defines a new command "\bra{ }" to be a left angled bracket "\langle" followed by its argument followed by "|". \newcommand{\ket}[1]{| #1 \rangle} \newcommand{\braket}[2]{\langle #1 | #2 \rangle} % Defines a new command "\braket{ }{ }" to be a left angled bracket "\langle" followed by its first argument followed by "|" followed by its second argument followed by a right angled bracket "\rangle". \newcommand{\vect}[1]{\bm{#1}} % Defines vector notation to be boldface. %\newcommand{\vect}[1]{\bm{\vec{#1}}} % Defines vector notation to be arrowed boldface. %\newcommand{\covect}[1]{\bm{\underline{#1}}} % Defines covector notation to be underlined boldface. %%%% Text %%%% \newcommand{\keyword}[1]{\textbf{#1}} % Defines the command "\keyword{ }" to be its argument written in bold font. \newcommand{\eq}[1]{Eq.~(\ref{#1})} % Defines the command "\eq{}" to be "Eq.~()". \newcommand{\eqs}[2]{Eqs.~(\ref{#1}) and (\ref{#2})} % Defines the command "\eqs{}{}" to be "Eqs.~() and ()". %%%% Annotations %%%% \usepackage{color} % A package to add color. \newcommand{\texthl}[1]{\begingroup\setlength\fboxsep{1pt}\colorbox{yellow}{#1}\endgroup} % Defines the command "\texthl{}" to be the text of its argument highlighted in yellow. \newcommand{\displayhl}[1]{\begingroup\setlength\fboxsep{1pt}\colorbox{yellow}{$\displaystyle #1$}\endgroup} % Defines the command "\displayhl{}" to be the displayed mathematics of its argument highlighted in yellow. \newcommand{\scripthl}[1]{{\setlength\fboxsep{1pt}\colorbox{yellow}{$\scriptstyle #1$}}} % Defines the command "\scripthl{}" to be the superscript or subscript of its argument highlighted in yellow. \newcommand{\comment}[1]{\begingroup\color{red} #1\endgroup} % Defines the command "\comment{}" to be its argument written in red font. %%%% Counters %%%% \@addtoreset{equation}{section} % Resets the equation counter to zero at the beginning of each section. \renewcommand{\theequation}{\thesection.\arabic{equation}} % Changes equation numbering to "(chapter.section.equation)". \@addtoreset{table}{section} \renewcommand{\thetable}{\thesection.\arabic{table}} \@addtoreset{figure}{section} \renewcommand{\thefigure}{\thesection.\arabic{figure}} %%%% Homework %%%% \newcounter{homework} % Defines a new counter "homework". \newenvironment{homework}[1]{ \renewcommand{\theequation}{\theenumi.\arabic{equation}} % Redefines the equation number to be ".". \renewcommand{\thefigure}{\theenumi.\arabic{figure}} % Redefines the figure number to be ".". \section*{Homework \arabic{homework}} #1 \begin{enumerate} }{ \end{enumerate} } % Defines the environment "homework" to be an unnumbered section title "Homework " followed by its argument followed by a numbered list environment. %%%% Exam %%%% \newenvironment{exam}[2]{ \renewcommand{\theequation}{\theenumi.\arabic{equation}} % Redefines the equation number to be ".". \renewcommand{\thefigure}{\theenumi.\arabic{figure}} % Redefines the figure number to be ".". \section*{Final Exam - #1, #2} You should start from basic principles and give reasoning at every step. Answers should be clear and concise. Unclear or excessively long answers will not be graded. \begin{enumerate} }{ \end{enumerate} } % Defines the environment "exam", with two arguments for time and place, to be an unnumbered section title "Final Exam -