hpi-swa-lab / hpitr Goto Github PK
View Code? Open in Web Editor NEWLaTeX class for technical reports at the HPI Potsdam
LaTeX class for technical reports at the HPI Potsdam
It's nice, but doesn't cut it.
mathpazo
is already there.
unicode-math
probably later.
@krono Is there a reason, why you haven't uploaded a version to CTAN? In my experience having a package on CTAN (and therefore in TeX Live and MiKTeX) makes usage for authors much easier. If you need help on that, I'll be glad to assist.
Add \usepackage[backend=bibtex]{biblatex}
, \addbibresource{references.bib}
, and \printbibliography
to sample document.
\documentclass[german,inproceedings]{hpitr}
\input{preamble}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{references.bib}
\begin{document}
\input{content}
%\bibliography{references}
\printbibliography
\end{document}
The class makes use of some features not available in v3 of siunitx
. This leads to some errors, and warnungs, e.g:
! Undefined control sequence.
<argument> \SendSettingsToPgf
...
Package siunitx Warning: Option "round-integer-to-decimal" has been removed in
(siunitx) this release.
Package siunitx Info: Option "group-digits = true" has been deprecated in this
(siunitx) release.
(siunitx)
(siunitx) Use "group-digits = all" as a replacement.
A straightforward fix (or at least a workaround) is to load the old version with \RequirePackage{siunitx}[=v2]
We might be inclined to generate the titlepage on our own now.
\newcommand\P@gobblepar[1]{\@ifnextchar\par{\P@gobblepar}{}}
...
\@ifnextchar\par{\P@gobblepar}{}%
.
.
example-single.tex
loads the package like \usepackage[math]{blindtext}
, but it will be loaded already by the hpitr document class,
since it is used in draft mode. All other examples don't use the draft mode.
style=numeric-comp,firstinits=true
-> style=numeric,sortcites,firstinits=true
Note: must be package option
Maybe
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
This is fragile:
\global\let\TR@saved@label\label
\gdef\label##1{\TR@saved@label{##1-\thechapter}}
\global\let\TR@saved@amslabel\label@in@display
\global\def\label@in@display##1{\TR@saved@amslabel{##1-\thechapter}}
\def\do##1{%
\global\csletcs{TR@saved@##1}{##1}%
\protected\csgdef{##1}{\@ifstar{\csuse{TR@##1@s}}{\csuse{TR@##1@n}}}%
\csgdef{TR@##1@s}####1{\expandafter\csname TR@saved@##1\endcsname*{####1-\thechapter}}
\csgdef{TR@##1@n}####1{\expandafter\csname TR@saved@##1\endcsname{####1-\thechapter}}
}
\docsvlist{ref,pageref,autoref,autopageref,nameref}
%
\TR@includedir@{#1}
\def\do##1{\global\csletcs{##1}{TR@saved@##1}}
\docsvlist{ref,pageref,autoref,autopageref,nameref}
\global\let\label@in@display\TR@saved@amslabel
\global\let\label\TR@saved@label
for foontontes, with date, maybe optional
Giving all addresses takes space, so we {firstname.lastname}
But we might want to link to the correct addresses via <mailto:[email protected],[email protected]>
or so
For numbered subsects
\printbibliography[%
notcategory=hidden,% <<<<<<<<<<<<<<<<<<<<<
heading=subbibliography, %
title=\refname, %
]%
and
\ifthenelse{\boolean{TR@inproceedings}}{}{%
\AtEndPreamble{%
\RequirePackage{biblatex}
\DeclareBibliographyCategory{hidden}}
\providecommand*\fullcitehidden[1]{\fullcite{#1}\addtocategory{hidden}{#1}}
}
To make cross-references between chapters, the names of the chapter labels have to be known. To achieve this, print the label names to a log file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.