% !TeX root = manual.tex
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amsbsy}
\usepackage{amsmath}
\usepackage{psfrag}
\usepackage{pstricks}

\usepackage{color}
\usepackage{xcolor}

\usepackage{xspace}
\usepackage{siunitx}
\usepackage{fixme}
% The next rawfonts package one is used in the ``datablad''.
% FIXME \usepackage[only,egtrm]{rawfonts}
% Handle sorting in reference list
% FIXME \usepackage{citesort}
% Create an index table
\usepackage{makeidx}
% For html links in install chapter (install latex2html package to get
% this style)
% \usepackage{html}

\newcommand{\MCX}{McXtrace\xspace}
\newcommand{\MCS}{McStas\xspace}
\newcommand{\version}{3.5\xspace}
\newcommand{\reldate}{September, 2024\xspace}
\newcommand{\Ombold}{\mbox{\boldmath $\Omega$}}

\newcommand{\NBIlong}{Niels Bohr Institute, University of Copenhagen, Copenhagen, Denmark.\xspace}
\newcommand{\Lifelong}{Faculty for Life Sciences, University of Copenhagen, Copenhagen, Denmark.\xspace}
\newcommand{\DTUPHYSlong}{Physics Department, Technical University of Denmark, Kgs. Lyngby, Denmark.\xspace}
\newcommand{\ESRFlong}{European Synchrotron Radiation Facility, Grenoble, France.}
\input{syntaxhighlighting}

\newcommand{\smallverbatimfile}[1]{{\footnotesize\verbatimfile{#1}}}

\def\reportnum{DTU}

\newcommand{\component}[5]{\begin{tabular}{|lp{0.7\textwidth}|}\hline {\bfseries Name:} & #1 \\ \hline {\bfseries Author:} & #2 \\ \hline {\bfseries Input parameters} & #3 \\ \hline {\bfseries Optional parameters} & #4 \\ \hline {\bfseries Notes} & #5 \\ \hline \end{tabular} \\ \noindent }
\newcommand{\mcdoccomp}[1]{\input{#1}}

\usepackage[%
backend=bibtex8,%
style=alphabetic,%
sorting=nyt,%
doi=true,%
isbn=true,%
hyperref=true,%
backref=true,%
url=false]{biblatex}

\bibliography{mcxtrace}
%\bibliographystyle{jacs}

\usepackage{hyperref} %LOAD AT LAST!
\usepackage{cleveref} %but this at the very last

\hypersetup{%
  colorlinks=false,   % 
  pdfpagemode=UseNone,  % PDF-Viewer TOC settings
  pdfstartview=FitH, % PDF-Viewer 
  pdfauthor={E. B. Knudsen, A. Prodi, P. Willendrup, E. Farhi, K. Lefmann, S. Schmidt},%
  pdftitle=User and programmers' guide to the xray-tracing package McXtrace%
}


\makeindex % enable index generation
