213 lines
7.9 KiB
TeX
213 lines
7.9 KiB
TeX
%--------------------------------------------------------------------
|
|
%Packages used
|
|
%--------------------------------------------------------------------
|
|
|
|
\usepackage{palatino}
|
|
\usepackage{vmargin}
|
|
\usepackage{fancyhdr}
|
|
|
|
\usepackage{titlesec}
|
|
\titleformat{\chapter}[display]{\normalfont\bfseries}{}{0pt}{\huge}
|
|
\titlespacing*{\chapter}{0pt}{-40pt}{20pt}
|
|
\titleformat*{\section}{\bfseries\large}
|
|
\titlespacing*{\section}{0pt}{0pt}{0pt}
|
|
\titleformat*{\subsection}{\bfseries\large}
|
|
\titlespacing*{\subsection}{0pt}{0pt}{0pt}
|
|
\titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
|
|
|
|
|
|
%--------------------------------------------------------------------
|
|
% Paper format and margins
|
|
|
|
%\usepackage[top=2.0cm, bottom=2.0cm, left=2.0cm, right=2.0cm]{geometry}
|
|
\setpapersize{A4}
|
|
% \setmargrb{leftmargin}{topmargin}{rightmargin}{bottommargin}
|
|
\setmargrb{2.00cm}{1.50cm}{2.00cm}{0.00cm}
|
|
\setlength{\footskip}{16.0pt}
|
|
\setlength\headsep{10pt}
|
|
\setlength{\headheight}{14.0pt}
|
|
%--------------------------------------------------------------------
|
|
% Page headings
|
|
\renewcommand{\baselinestretch}{1.05}
|
|
|
|
\makeatletter
|
|
\newcommand{\headertext}[1]{\gdef\@headertext{#1}}
|
|
\headertext{Internship Report YYYY}
|
|
\newcommand{\footertext}[1]{\gdef\@footertext{#1}}
|
|
\footertext{F. Name}
|
|
\pagestyle{fancy}
|
|
% First page
|
|
\fancypagestyle{plain}{%
|
|
\fancyhead{}
|
|
\fancyfoot[RE,LO]{\slshape \@footertext}
|
|
\fancyfoot[RO,LE]{\bfseries\thepage}
|
|
\renewcommand{\headrulewidth}{0.0pt}
|
|
\renewcommand{\footrulewidth}{0.1pt}
|
|
}
|
|
\pagenumbering{arabic}
|
|
\renewcommand{\sectionmark}[1]{\markboth{\thesection\quad #1}{}}
|
|
\fancyhead[RO,LE]{\slshape \@headertext}
|
|
\fancyhead[RE]{\bfseries\nouppercase{\leftmark}}
|
|
\fancyhead[LO]{\bfseries\nouppercase{\leftmark}}
|
|
\fancyfoot[C]{\relax}
|
|
\fancyfoot[RE,LO]{\slshape \@footertext}
|
|
\fancyfoot[RO,LE]{\bfseries\thepage}
|
|
\renewcommand{\headrulewidth}{0.1pt}
|
|
\renewcommand{\footrulewidth}{0.1pt}
|
|
\makeatother
|
|
|
|
%--------------------------------------------------------------------
|
|
% Column separation
|
|
|
|
\setlength\columnsep{15pt}
|
|
|
|
%--------------------------------------------------------------------
|
|
|
|
\usepackage{enumitem}
|
|
\usepackage{graphicx}
|
|
\usepackage{rotating}
|
|
\usepackage{subcaption}
|
|
\usepackage{placeins}
|
|
\usepackage{pgf}
|
|
\usepackage{tikz}
|
|
|
|
\newlength\figureheight
|
|
\newlength\figurewidth
|
|
\pgfkeys{/pgf/number format/.cd,
|
|
set decimal separator={,\!},
|
|
1000 sep={\,},
|
|
}
|
|
|
|
\usepackage{ifthen}
|
|
\usepackage{ifpdf}
|
|
\ifpdf
|
|
\usepackage[pdftex]{hyperref}
|
|
\else
|
|
\usepackage{hyperref}
|
|
\fi
|
|
|
|
\usepackage{color}
|
|
\hypersetup{colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black}
|
|
|
|
\makeatletter
|
|
\def\@textbottom{\vskip \z@ \@plus 1pt}
|
|
\let\@texttop\relax
|
|
\makeatother
|
|
|
|
\makeatletter
|
|
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
|
|
\hbox{}%
|
|
\thispagestyle{empty}%
|
|
\newpage%
|
|
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
|
|
\makeatother
|
|
|
|
\usepackage{amsthm}
|
|
\usepackage{amssymb,amsmath,bbm}
|
|
\newcommand{\RE}{\mathrm{Re}}
|
|
\newcommand{\IM}{\mathrm{Im}}
|
|
\usepackage{array}
|
|
\usepackage{bm}
|
|
\usepackage{multirow}
|
|
\usepackage[footnote]{acronym}
|
|
\usepackage{mathrsfs}
|
|
|
|
\usepackage{etoolbox}
|
|
|
|
\parskip=5pt
|
|
|
|
% Bibliography
|
|
\usepackage{csquotes}
|
|
\usepackage[backend=biber,natbib=true,style=authoryear,uniquename=init,giveninits=true,isbn=false,url=false,doi=false,maxcitenames=3,minbibnames=6,maxbibnames=50,sorting=ynt]{biblatex}
|
|
\addbibresource[glob]{*.bib}
|
|
|
|
% ADS acronyms
|
|
\makeatletter
|
|
\let\jnl@style=\rm
|
|
\def\ref@jnl#1{{\jnl@style#1}}
|
|
|
|
\def\aj{\ref@jnl{AJ}} % Astronomical Journal
|
|
\def\actaa{\ref@jnl{Acta Astron.}} % Acta Astronomica
|
|
\def\araa{\ref@jnl{ARA\&A}} % Annual Review of Astron and Astrophys
|
|
\def\apj{\ref@jnl{ApJ}} % Astrophysical Journal
|
|
\def\apjl{\ref@jnl{ApJ}} % Astrophysical Journal, Letters
|
|
\def\apjs{\ref@jnl{ApJS}} % Astrophysical Journal, Supplement
|
|
\def\ao{\ref@jnl{Appl.~Opt.}} % Applied Optics
|
|
\def\apss{\ref@jnl{Ap\&SS}} % Astrophysics and Space Science
|
|
\def\aap{\ref@jnl{A\&A}} % Astronomy and Astrophysics
|
|
\def\aapr{\ref@jnl{A\&A~Rev.}} % Astronomy and Astrophysics Reviews
|
|
\def\aaps{\ref@jnl{A\&AS}} % Astronomy and Astrophysics, Supplement
|
|
\def\azh{\ref@jnl{AZh}} % Astronomicheskii Zhurnal
|
|
\def\baas{\ref@jnl{BAAS}} % Bulletin of the AAS
|
|
\def\bac{\ref@jnl{Bull. astr. Inst. Czechosl.}}
|
|
% Bulletin of the Astronomical Institutes of Czechoslovakia
|
|
\def\caa{\ref@jnl{Chinese Astron. Astrophys.}}
|
|
% Chinese Astronomy and Astrophysics
|
|
\def\cjaa{\ref@jnl{Chinese J. Astron. Astrophys.}}
|
|
% Chinese Journal of Astronomy and Astrophysics
|
|
\def\icarus{\ref@jnl{Icarus}} % Icarus
|
|
\def\jcap{\ref@jnl{J. Cosmology Astropart. Phys.}}
|
|
% Journal of Cosmology and Astroparticle Physics
|
|
\def\jrasc{\ref@jnl{JRASC}} % Journal of the RAS of Canada
|
|
\def\memras{\ref@jnl{MmRAS}} % Memoirs of the RAS
|
|
\def\mnras{\ref@jnl{MNRAS}} % Monthly Notices of the RAS
|
|
\def\na{\ref@jnl{New A}} % New Astronomy
|
|
\def\nar{\ref@jnl{New A Rev.}} % New Astronomy Review
|
|
\def\pra{\ref@jnl{Phys.~Rev.~A}} % Physical Review A: General Physics
|
|
\def\prb{\ref@jnl{Phys.~Rev.~B}} % Physical Review B: Solid State
|
|
\def\prc{\ref@jnl{Phys.~Rev.~C}} % Physical Review C
|
|
\def\prd{\ref@jnl{Phys.~Rev.~D}} % Physical Review D
|
|
\def\pre{\ref@jnl{Phys.~Rev.~E}} % Physical Review E
|
|
\def\prl{\ref@jnl{Phys.~Rev.~Lett.}} % Physical Review Letters
|
|
\def\pasa{\ref@jnl{PASA}} % Publications of the Astron. Soc. of Australia
|
|
\def\pasp{\ref@jnl{PASP}} % Publications of the ASP
|
|
\def\pasj{\ref@jnl{PASJ}} % Publications of the ASJ
|
|
\def\rmxaa{\ref@jnl{Rev. Mexicana Astron. Astrofis.}}%
|
|
% Revista Mexicana de Astronomia y Astrofisica
|
|
\def\qjras{\ref@jnl{QJRAS}} % Quarterly Journal of the RAS
|
|
\def\skytel{\ref@jnl{S\&T}} % Sky and Telescope
|
|
\def\solphys{\ref@jnl{Sol.~Phys.}} % Solar Physics
|
|
\def\sovast{\ref@jnl{Soviet~Ast.}} % Soviet Astronomy
|
|
\def\ssr{\ref@jnl{Space~Sci.~Rev.}} % Space Science Reviews
|
|
\def\zap{\ref@jnl{ZAp}} % Zeitschrift fuer Astrophysik
|
|
\def\nat{\ref@jnl{Nature}} % Nature
|
|
\def\iaucirc{\ref@jnl{IAU~Circ.}} % IAU Cirulars
|
|
\def\aplett{\ref@jnl{Astrophys.~Lett.}} % Astrophysics Letters
|
|
\def\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}}
|
|
% Astrophysics Space Physics Research
|
|
\def\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}}
|
|
% Bulletin Astronomical Institute of the Netherlands
|
|
\def\fcp{\ref@jnl{Fund.~Cosmic~Phys.}} % Fundamental Cosmic Physics
|
|
\def\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}} % Geochimica Cosmochimica Acta
|
|
\def\grl{\ref@jnl{Geophys.~Res.~Lett.}} % Geophysics Research Letters
|
|
\def\jcp{\ref@jnl{J.~Chem.~Phys.}} % Journal of Chemical Physics
|
|
\def\jgr{\ref@jnl{J.~Geophys.~Res.}} % Journal of Geophysics Research
|
|
\def\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}}
|
|
% Journal of Quantitiative Spectroscopy and Radiative Transfer
|
|
\def\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}}
|
|
% Mem. Societa Astronomica Italiana
|
|
\def\nphysa{\ref@jnl{Nucl.~Phys.~A}} % Nuclear Physics A
|
|
\def\physrep{\ref@jnl{Phys.~Rep.}} % Physics Reports
|
|
\def\physscr{\ref@jnl{Phys.~Scr}} % Physica Scripta
|
|
\def\planss{\ref@jnl{Planet.~Space~Sci.}} % Planetary Space Science
|
|
\def\procspie{\ref@jnl{Proc.~SPIE}} % Proceedings of the SPIE
|
|
\makeatother
|
|
|
|
\let\astap=\aap
|
|
\let\apjlett=\apjl
|
|
\let\apjsupp=\apjs
|
|
\let\applopt=\ao
|
|
|
|
% Abbreviations
|
|
\newcommand*{\eg}{e.g.}
|
|
\newcommand*{\ie}{i.e.}
|
|
|
|
% Symbols
|
|
\renewcommand*\vec[1]{\ensuremath{\boldsymbol{#1}}}
|
|
\newcommand*\sun{\ensuremath{\odot}}
|
|
\newcommand*\degr{\ensuremath{^\circ}}
|
|
\newcommand*\arcmin{\ensuremath{^\prime}}
|
|
\newcommand*\arcsec{\ensuremath{^{\prime\prime}}}
|
|
\newcommand*\flux{\text{ergs\,cm$^{-2}$\,s$^{-1}$}}
|
|
\newcommand*\fluxdens{\text{ergs\,cm$^{-2}$\,s$^{-1}$\,\AA$^{-1}$}}
|