Update to v1.0:
Major overhaul: All sections have been changed and improved. Added: Computation of the condensate fraction Added: Discussion and plots of correlation function and momentum distribution Added: Section on numerical computation Added: Appendices on functional analysis Added: Detailed analysis of the operator K_e Change: Parameters for numerical simulations. Change: Renamed "Simplified approach" to "Lieb's simplified approach" Added: More bibliography Added: Acknowledgements
This commit is contained in:
161
libs/ian.cls
161
libs/ian.cls
@ -26,9 +26,11 @@
|
||||
\DeclareOption{no_subsection_in_eq}{\subsectionsineqfalse}
|
||||
\DeclareOption{no_subsection_in_fig}{\subsectionsinfigfalse}
|
||||
\DeclareOption{no_subsection_in_all}{\subsectionsineqfalse\subsectionsinfigfalse}
|
||||
\DeclareOption{a4paper}{\afourpaper}
|
||||
\DeclareOption{letterpaper}{\letterpaper}
|
||||
|
||||
\def\ian@defaultoptions{
|
||||
\ExecuteOptions{section_in_all, no_subsection_in_all}
|
||||
\ExecuteOptions{section_in_all, no_subsection_in_all, a4paper}
|
||||
\ProcessOptions
|
||||
|
||||
%% required packages
|
||||
@ -41,9 +43,56 @@
|
||||
\pagestyle{plain}
|
||||
}
|
||||
|
||||
%% paper dimensions
|
||||
\setlength\paperheight{297mm}
|
||||
\setlength\paperwidth{210mm}
|
||||
%% paper sizes
|
||||
\def\afourpaper{
|
||||
%% paper dimensions
|
||||
\setlength\paperheight{297mm}
|
||||
\setlength\paperwidth{210mm}
|
||||
%% offsets
|
||||
\hoffset=-1in
|
||||
\voffset=-1in
|
||||
%% horizontal margins
|
||||
\oddsidemargin=25mm
|
||||
\evensidemargin=25mm
|
||||
%% vertical margin
|
||||
\topmargin=15mm
|
||||
%% body size
|
||||
\textwidth=160mm
|
||||
\textheight=247mm
|
||||
%% header size and margin
|
||||
\headheight=5mm
|
||||
\headsep=5mm
|
||||
%% footer size
|
||||
%\footskip=30pt
|
||||
%% margin size and margin
|
||||
\marginparwidth=15mm
|
||||
\marginparsep=5mm
|
||||
}
|
||||
|
||||
\def\letterpaper{
|
||||
\setlength\paperheight{11in}
|
||||
\setlength\paperwidth{8.5in}
|
||||
%% offsets
|
||||
\hoffset=-1in
|
||||
\voffset=-1in
|
||||
%% horizontal margins
|
||||
\oddsidemargin=1in
|
||||
\evensidemargin=1in
|
||||
%% vertical margin
|
||||
\topmargin=0.5in
|
||||
%% body size
|
||||
\textwidth=6.5in
|
||||
\textheight=9in
|
||||
%% header size and margin
|
||||
\headheight=0.25in
|
||||
\headsep=0.25in
|
||||
%% footer size
|
||||
%\footskip=30pt
|
||||
%% margin size and margin
|
||||
\marginparwidth=0.4in
|
||||
\marginparsep=0.2in
|
||||
}
|
||||
|
||||
|
||||
%% fonts
|
||||
\input{size11.clo}
|
||||
@ -53,12 +102,6 @@
|
||||
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
|
||||
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
|
||||
|
||||
%% text dimensions
|
||||
\hoffset=-50pt
|
||||
\voffset=-72pt
|
||||
\textwidth=460pt
|
||||
\textheight=704pt
|
||||
|
||||
|
||||
%% remove default indentation
|
||||
\parindent=0pt
|
||||
@ -120,9 +163,9 @@
|
||||
\hyperlink{ln.\csname label@##1@hl\endcsname}{{\color{blue}\safe\csname label@##1\endcsname}}%
|
||||
\else%
|
||||
\ifcsname label@##1\endcsname%
|
||||
{\color{blue}\csname ##1\endcsname}%
|
||||
\else%
|
||||
{\bf ??}%
|
||||
{\color{blue}\csname ##1\endcsname}%
|
||||
\else%
|
||||
{\bf ??}%
|
||||
\fi%
|
||||
\fi%
|
||||
}
|
||||
@ -136,9 +179,12 @@
|
||||
\csname ##1\endcsname%
|
||||
\else%
|
||||
{\bf ??}%
|
||||
\fi%
|
||||
\fi%
|
||||
}
|
||||
{\color{blue}\csname ##1\endcsname}%
|
||||
\else%
|
||||
{\bf ??}%
|
||||
\fi%
|
||||
\fi%
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -435,12 +481,13 @@
|
||||
% booleans (write section or subsection in equation number)
|
||||
\newif\ifsectionsinfig
|
||||
\newif\ifsubsectionsinfig
|
||||
% width of figures
|
||||
\newlength\figwidth
|
||||
\setlength\figwidth\textwidth
|
||||
\addtolength\figwidth{-2.5cm}
|
||||
% caption
|
||||
\def\defcaption{
|
||||
% width of figures
|
||||
\newlength\figwidth
|
||||
\setlength\figwidth\textwidth
|
||||
\addtolength\figwidth{-2.5cm}
|
||||
|
||||
\long\def\caption##1{%
|
||||
\stepcounter{figcount}%
|
||||
%
|
||||
@ -530,34 +577,6 @@
|
||||
%\def\seqskip{\vfill\pagebreak}
|
||||
}
|
||||
|
||||
%% start exercises
|
||||
\def\exercises{
|
||||
\vfill
|
||||
\pagebreak
|
||||
|
||||
% counter
|
||||
\setcounter{sectioncount}0
|
||||
\setcounter{seqcount}0
|
||||
|
||||
% prefix
|
||||
\def\sectionprefix{E}
|
||||
|
||||
\hrefanchor
|
||||
|
||||
% write
|
||||
{\bf \LARGE Exercises}\par\penalty10000\bigskip\penalty10000
|
||||
|
||||
% add a mention in the table of contents
|
||||
\iftoc
|
||||
% save lncount in aux variable which is written to toc
|
||||
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@exercises\endcsname{\thelncount}}
|
||||
\write\tocoutput{\noexpand\tocexercises{\thepage}}\penalty10000
|
||||
\fi
|
||||
|
||||
\def\eqprefix{E}
|
||||
\sectionsineqfalse
|
||||
}
|
||||
|
||||
|
||||
%% bibliography
|
||||
% size of header
|
||||
@ -593,7 +612,7 @@
|
||||
|
||||
%% cite command
|
||||
% @tempswa is set to true when there is an optional argument
|
||||
\newif\@tempswa
|
||||
\newif\if@tempswa
|
||||
\def\cite{%
|
||||
% check whether there is an optional argument (if there is none, add on empty '[]')
|
||||
\@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}%
|
||||
@ -692,13 +711,6 @@
|
||||
{\hyperlink{ln.\csname toc@references\endcsname}{{\color{blue}\bf References}\leaderfill#1}}\par
|
||||
\smallskip
|
||||
}
|
||||
\def\tocexercises#1{
|
||||
\medskip
|
||||
\setcounter{tocsectioncount}0
|
||||
{\hyperlink{ln.\csname toc@exercises\endcsname}{{\color{blue}\bf Exercises}\leaderfill#1}}\par
|
||||
\smallskip
|
||||
\def\tocsectionprefix{E}
|
||||
}
|
||||
|
||||
|
||||
%% definitions that must be loaded at begin document
|
||||
@ -710,6 +722,43 @@
|
||||
\defcaption
|
||||
}
|
||||
|
||||
%% start exercises
|
||||
\def\exercises{
|
||||
\vfill
|
||||
\pagebreak
|
||||
|
||||
% counter
|
||||
\setcounter{sectioncount}0
|
||||
\setcounter{seqcount}0
|
||||
|
||||
% prefix
|
||||
\def\sectionprefix{E}
|
||||
|
||||
\hrefanchor
|
||||
|
||||
% write
|
||||
{\bf \LARGE Exercises}\par\penalty10000\bigskip\penalty10000
|
||||
|
||||
% add a mention in the table of contents
|
||||
\iftoc
|
||||
% save lncount in aux variable which is written to toc
|
||||
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@exercises\endcsname{\thelncount}}
|
||||
\write\tocoutput{\noexpand\tocexercises{\thepage}}\penalty10000
|
||||
\fi
|
||||
|
||||
\def\eqprefix{E}
|
||||
\sectionsineqfalse
|
||||
}
|
||||
|
||||
|
||||
\def\tocexercises#1{
|
||||
\medskip
|
||||
\setcounter{tocsectioncount}0
|
||||
{\hyperlink{ln.\csname toc@exercises\endcsname}{{\color{blue}\bf Exercises}\leaderfill#1}}\par
|
||||
\smallskip
|
||||
\def\tocsectionprefix{E}
|
||||
}
|
||||
|
||||
%% end
|
||||
\ian@defaultoptions
|
||||
\endinput
|
||||
|
@ -108,8 +108,8 @@
|
||||
\def\questionformat#1{{\bf(#1)} }
|
||||
|
||||
\def\solution#1{
|
||||
\makelink{sol:#1}{\thepage}
|
||||
{\bf Solution\-~\ref{ex:#1}}\par\penalty10000\smallskip\penalty10000
|
||||
\makelink{sol:#1}{\thepage}
|
||||
\def\eqprefix{S\textref{ex:#1}.}
|
||||
\resetpointcounter
|
||||
\setcounter{seqcount}{0}
|
||||
|
Reference in New Issue
Block a user