Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/doc/usermanuals/DDG4/html/dd4hep.cfg is written in an unsupported language. File is not indexed.

0001 \RequirePackage{html/tools}
0002 \Preamble{html5,2,mathml} %,mathml
0003 \Configure{@HEAD}{\HCode{\Hnewline<link href='http://dd4hep.web.cern.ch/dd4hep/img/favicon.ico' rel='icon' type='image/x-icon'/>\Hnewline}}
0004 
0005 % Add Mathjax
0006 \AddJs{https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML}
0007 
0008 % Add sidebar for scrolling
0009 \AddJs{html/js/fw.js}
0010 \AddJs{html/js/sidebar.js}
0011 
0012 % Load basic CSS for markup
0013 \AddCss{https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css}
0014 \AddCss{https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css}
0015 \AddCss{https://dd4hep.web.cern.ch/dd4hep/css/main.css}
0016 \AddCss{https://dd4hep.web.cern.ch/dd4hep/css/css/pygment_highlights.css}
0017 \AddCss{https://dd4hep.web.cern.ch/dd4hep/css/css/highlight.min.css}
0018 
0019 % Enable nav bar shrinking
0020 \AddJs{https://code.jquery.com/jquery-1.12.4.min.js}
0021 \AddJs{https://dd4hep.web.cern.ch/dd4hep/js/main.js}
0022 
0023 % Load CSS fixes
0024 \AddCss{html/css/custom.css}
0025 
0026 % Set header and footer to replicate website
0027 \Configure{BODY}{\HCode{<body><nav class="navbar navbar-default navbar-fixed-top navbar-custom"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="https://cern.ch/dd4hep">Return to website</a> </div> <div class="collapse navbar-collapse" id="main-navbar"> </div> <div class="avatar-container"> <div class="avatar-img-border"> <a title="Home" href="DDG4Manual.html"> <img class="avatar-img" src="https://dd4hep.web.cern.ch/dd4hep/img/logo_small.png" alt="DD4hep"/> </a> </div></div></div></nav><header class="header-section"><div class="intro-header no-img"> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="page-heading"> <h1>DDG4 Manual</h1> </div></div></div></div></div></header> <div role="main" class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> }}{\HCode{</div> </div> </div> <footer> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-3 col-md-10 col-md-offset-2"> <a rel="license" href="http://creativecommons.org/licenses/by/4.0/" style="float: left"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a> <div id="license-text"> This manual is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a> </div> </div> </div> </div></footer> </body>}}
0028 
0029 % Fix to use ol tags for enumerate
0030 \ConfigureList{enumerate}
0031 {\ifvmode\IgnorePar\fi\EndP\HCode{<ol class="enumerate">\Hnewline}\ShowPar%
0032 \bgroup 
0033 \def\EndDefItem{}}
0034 {\EndDefItem\egroup%
0035 \ifvmode\IgnorePar\fi\EndP\HCode{</ol>\Hnewline}\ShowPar%
0036 \par}
0037 {\EndDefItem\HCode{<li class="enumerate-item" >}\DeleteMark\def\EndDefItem{\HCode{</li>\Hnewline}}}
0038 {}
0039 
0040 % Make standalone page for each chapter. make local TOC for contained sections and subsections
0041 \TocAt{section,subsection}
0042 \begin{document}
0043 
0044 % Fix duplicated table of contents and references
0045 \makeatletter
0046 \renewcommand\tableofcontents{\@ifstar{}{}}
0047 \makeatother
0048 %\renewcommand{\addreferencesline}{}
0049 
0050 % Delete license because it is included in html
0051 % \renewcommand{\addlicense}{}
0052 
0053 % Use standard for description because nextline does not work
0054 %\setlist[description]{style=standard}
0055 
0056 \EndPreamble