% !TeX root = manual.tex
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amsbsy}
\usepackage{amsmath}
\usepackage{psfrag}
\usepackage{scrlayer-scrpage}
\usepackage{color}
\usepackage{xcolor}
%\usepackage{fontspec}
\usepackage{xspace}
\usepackage{siunitx}

% 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.2\xspace}
\newcommand{\reldate}{Dec. 2022\xspace}
\newcommand{\Ombold}{\mbox{\boldmath $\Omega$}}

\newcommand{\NBIlong}{Niels Bohr Institute, Univeristy 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}

\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{import}

\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 these AT LAST with cleveref at the very last!
\usepackage{cleveref}

\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=Component Manual for the xray-tracing package McXtrace%
}

\makeindex % enable index generation
