#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass memoir
\begin_preamble
% improve font rendering
% recommended at http://longair.net/blog/2009/11/11/lyx-tips-for-thesis-writing/
\usepackage{microtype}

%to correct font problems with bm package
%http://tug.org/pipermail/yandytex/2003-September/000368.html
\newcommand\hmmax{0}
\newcommand\bmmax{2}
\usepackage{bm}

% create a mini table of contents at the start of each chapter
%\usepackage{minitoc}

\bibpunct{~[}{]}{,}{n}{}{;}

% macros for consistent and correct rendering of numbers and units
\usepackage[load-configurations=abbreviations]{siunitx}

\usepackage[compatibility=false]{caption}

% upright Greek letters for maths and particles and such
\usepackage{upgreek}
% textcomp, for its upright mu
\usepackage{textcomp}
% some user macros
\newcommand{\murm}{%
  \ifmmode
    \mathchoice
        {\hbox{\normalsize\textmu}}
        {\hbox{\normalsize\textmu}}
        {\hbox{\scriptsize\textmu}}
        {\hbox{\tiny\textmu}}%
  \else
    \textmu
  \fi
}
\newcommand{\muon}{\murm\textsuperscript{+}}
\newcommand{\muSR}{\muon SR}
\newcommand{\Fmu}{F\murm}
\newcommand{\FmuF}{F\murm F}
\newcommand{\mmcalc}{M\murm Calc}

% set up margins
% https://wiki.ccs.neu.edu/display/GRADWIKI/Using+the+Memoir+Class
\settrims{0in}{0in}
\settypeblocksize{23.35cm}{15.46cm}{*}
\setlrmargins{3cm}{*}{*}
\setulmargins{1.0in}{*}{*}
\setheadfoot{13pt}{26pt}
\setheaderspaces{*}{13pt}{*}
\checkandfixthelayout

\usepackage{color}
\definecolor{agrey}{rgb}{.9,.9,.9}

\makechapterstyle{statto}{%
\setlength{\afterchapskip}{40pt}
\renewcommand*{\chapterheadstart}{\vspace*{40pt}}
\renewcommand*{\afterchapternum}{\par\nobreak\vskip 25pt}
\renewcommand*{\chapnamefont}{\normalfont\Large\flushright\scshape}
\renewcommand*{\chapnumfont}{\normalfont\HUGE}
\renewcommand*{\chaptitlefont}{\normalfont\huge\sffamily\bfseries\flushright\SingleSpace}
\renewcommand*{\printchapternum}{\makebox{\resizebox{!}{24pt}{\chapnumfont\thechapter}}}
\renewcommand*{\printchaptertitle}[1]{%
\hrule height 1pt width \columnwidth\vskip\onelineskip \raggedleft \chaptitlefont ##1}
\renewcommand*{\afterchaptertitle}{%
\vskip\onelineskip \vspace{0pt}\hrule height 1pt width \columnwidth \color{agrey} \hrule height 6pt width \columnwidth \vskip \afterchapskip}
}% end{statto}

\makechapterstyle{stattofront}{%
\setlength{\afterchapskip}{40pt}
\renewcommand*{\chapterheadstart}{\vspace*{20pt}}
\renewcommand*{\afterchapternum}{\par\nobreak\vskip 25pt}
\renewcommand*{\chapnamefont}{\normalfont\Large\centering\scshape}
\renewcommand*{\chapnumfont}{\normalfont\HUGE}
\renewcommand*{\chaptitlefont}{\normalfont\huge\sffamily\bfseries\centering\SingleSpace}
\renewcommand*{\printchapternum}{\makebox{\resizebox{!}{24pt}{\chapnumfont\thechapter}}}
\renewcommand*{\printchaptertitle}[1]{%
\hrule height 1pt width \columnwidth\vskip\onelineskip \raggedleft \chaptitlefont ##1}
\renewcommand*{\afterchaptertitle}{%
\vskip\onelineskip \vspace{0pt}\hrule height 1pt width \columnwidth \color{agrey} \hrule height 6pt width \columnwidth \vskip \afterchapskip}
}% end{stattofront}

\makechapterstyle{stattofrontlessskip}{%
\setlength{\afterchapskip}{12pt}
\renewcommand*{\chapterheadstart}{\vspace*{0pt}}
\renewcommand*{\afterchapternum}{\par\nobreak\vskip 25pt}
\renewcommand*{\chapnamefont}{\normalfont\Large\centering\scshape}
\renewcommand*{\chapnumfont}{\normalfont\HUGE}
\renewcommand*{\chaptitlefont}{\normalfont\huge\sffamily\bfseries\centering\SingleSpace}
\renewcommand*{\printchapternum}{\makebox{\resizebox{!}{24pt}{\chapnumfont\thechapter}}}
\renewcommand*{\printchaptertitle}[1]{%
\hrule height 1pt width \columnwidth\vskip\onelineskip \raggedleft \chaptitlefont ##1}
\renewcommand*{\afterchaptertitle}{%
\vskip\onelineskip \vspace{0pt}\hrule height 1pt width \columnwidth \color{agrey} \hrule height 6pt width \columnwidth \vskip \afterchapskip}
}% end{stattofrontlessskip}

% for some reason, LaTeX does not seem to respond to the \setcounter{secnumdepth}{2} in the LyX preamble...
\setsecnumdepth{subsection}

% new refstyle, er, reference styles
\renewcommand\RSenglish{%
    \def\RSrngtxt{\space to~}%
    \def\RSlsttxt{\space and~}%
    \def\RSparttxt{Part~}%
    \def\RSpartstxt{Parts~}%
    \def\RSParttxt{Part~}%
    \def\RSPartstxt{Parts~}%
    \def\RSappendixname{Appendix~}%
    \def\RSAppendixname{Appendix~}%
    \def\RSappendicesname{Appendices~}%
    \def\RSAppendicesname{Appendices~}%
    \def\RSchaptername{Chapter~}%
    \def\RSChaptername{Chapter~}%
    \def\RSchaptersname{Chapters~}%
    \def\RSChaptersname{Chapters~}%
    \def\RSsectxt{Sec.~}%
    \def\RSsecstxt{Secs.~}%
    \def\RSSectxt{Sec.~}%
    \def\RSSecstxt{Secs.~}%
    \def\RSsubtxt{Sec.~}%
    \def\RSsubstxt{Secs.~}%
    \def\RSSubtxt{Sec.~}%
    \def\RSSubstxt{Secs.~}%
    \def\RSeqtxt{Eq.~}%
    \def\RSeqstxt{Eqs.~}%
    \def\RSEqtxt{Eq.~}%
    \def\RSEqstxt{Eqs.~}%
    \def\RSfigtxt{Fig.~}%
    \def\RSfigstxt{Figs.~}%
    \def\RSFigtxt{Fig.~}%
    \def\RSFigstxt{Figs.~}%
    \def\RStabtxt{Table~}%
    \def\RStabstxt{Tables~}%
    \def\RSTabtxt{Table~}%
    \def\RSTabstxt{Tables~}%
    \def\RSfootntxt{footnote~}%
    \def\RSfootnstxt{footnotes~}%
    \def\RSFootntxt{Footnote~}%
    \def\RSFootnstxt{Footnotes~}%
}

   \newref{sec}{%
      name      = \RSsectxt,
      names     = \RSsecstxt,
      Name      = \RSSectxt,
      Names     = \RSSecstxt,
      refcmd    = {\ref{#1}},
      rngtxt    = \RSrngtxt,
      lsttwotxt = \RSlsttwotxt,
      lsttxt    = \RSlsttxt}


%for sideways tables
\usepackage{rotating}

\pagestyle{ruled}
\makeevenhead{ruled}{\leftmark}{}{} % not small caps on left-hand pages

% nice captions
\renewcommand{\fnum@figure}{\textbf{\figurename~\thefigure}}
\renewcommand{\fnum@table}{\textbf{\tablename~\thetable}}

%\usepackage[bottom]{footmisc}
\end_preamble
\use_default_options false
\begin_modules
fixltx2e
\end_modules
\maintain_unincluded_children false
\begin_local_layout
Format 35

Provides bm 1
\end_local_layout
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman palatino
\font_sans lmss
\font_typewriter beramono
\font_default_family default
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100
\font_tt_scale 80

\graphics default
\default_output_format default
\output_sync 1
\bibtex_command default
\index_command default
\paperfontsize 12
\spacing single
\use_hyperref true
\pdf_title "Quantum magnetism probed with muon-spin relaxation"
\pdf_author "Andrew J. Steele"
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks true
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\pdf_quoted_options "urlcolor=blue,linkcolor=blue,citecolor=blue"
\papersize a4paper
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine natbib_numerical
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1.25in
\topmargin 1.25in
\rightmargin 1in
\bottommargin 2in
\headheight 1in
\headsep 0.5in
\footskip 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\bullet 1 0 9 -1
\bullet 2 0 15 -1
\bullet 3 0 26 -1
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict true
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
pagenumbering{Alph}
\end_layout

\end_inset


\begin_inset Note Note
status open

\begin_layout Plain Layout
make the front page called A so as not to have duplicate references
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset External
	template PDFPages
	filename title/title.pdf
	lyxscale 50

\end_inset


\begin_inset Note Note
status open

\begin_layout Plain Layout
This is the front page, inserted as a raw PDF having been designed however
 you like...
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
frontmatter
\end_layout

\begin_layout Plain Layout


\backslash
chapterstyle{stattofront}
\end_layout

\end_inset


\begin_inset Note Note
status open

\begin_layout Plain Layout
This is the section of the document which is numbered with Roman numerals.
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "abstract/abstract.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "acknowledgements/acknowledgements.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "references/publications.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
chapterstyle{stattofrontlessskip}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
newpage
\backslash
thispagestyle{empty}
\backslash
mbox{}
\backslash
newpage %creates a blank page after the contents, before the main thesis
 starts
\end_layout

\begin_layout Plain Layout


\backslash
mainmatter
\end_layout

\begin_layout Plain Layout

%
\backslash
DoubleSpacing %enable double spacing for the examiners' copy
\end_layout

\begin_layout Plain Layout


\backslash
chapterstyle{statto}
\end_layout

\end_inset


\begin_inset Note Note
status open

\begin_layout Plain Layout
This is the main section of the document, numbered with Arabic numerals,
 and 1.5-spaced after http://wiki.lyx.org/LyX/UsingMemoirInLyX
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/introduction.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/musr.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/dipole.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/ba2moso6.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/mmintro.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/cuhf2pyz2x.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "chapters/other2dmm.lyx"

\end_inset


\end_layout

\begin_layout Standard
\start_of_appendix
\begin_inset CommandInset include
LatexCommand include
filename "appendices/ewaldsummation.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "appendices/propagationvector.lyx"

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
renewcommand*
\backslash
bibname{References}
\end_layout

\begin_layout Plain Layout


\backslash
SingleSpacing
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "references/thesis"
options "references/statto"

\end_inset


\end_layout

\end_body
\end_document
