Commit c8b82bb8 authored by Moritz Robert Lauster's avatar Moritz Robert Lauster
Browse files

Merge pull request #99 from emunozh/master

guidelines version 0.7
parents 6de5f19a 198a8a72
This diff is collapsed.
......@@ -42,6 +42,7 @@ Script to generate a latex via `pandoc` and compile via `pdflatex`.
``` shell
pandoc -S -o Guidelines_EnergyADE.tex \
--listings \
--template=template1 \
--filter pandoc-citeproc \
Guidelines_EnergyADE.md metadata.yaml
......@@ -52,6 +53,7 @@ pdflatex Guidelines_EnergyADE.tex
Script to generate the pdf directly with `pandoc`.
```
pandoc -S -o Guidelines_EnergyADE.pdf \
--listings \
--template template1 \
--filter pandoc-citeproc \
Guidelines_EnergyADE.md metadata.yaml
......
# this file should be use for debugging purposes only
pandoc -S -o Guidelines_EnergyADE.tex \
--listings \
--template=template1 \
--filter pandoc-citeproc \
Guidelines_EnergyADE.md metadata.yaml
sed -i 's/\\textbackslash{}degree\\{C\\}/\\degree{C}/' Guidelines_EnergyADE.tex
pdflatex Guidelines_EnergyADE.tex
mv Guidelines_EnergyADE.pdf ../Guidelines_EnergyADE.pdf
pandoc -S -o Guidelines_EnergyADE.pdf \
--listings \
--template template1 \
--filter pandoc-citeproc \
Guidelines_EnergyADE.md metadata.yaml
......
\documentclass[a4paper,12pt]{article}
\usepackage{geometry}
\geometry{left=3cm,right=3cm,top=3cm,bottom=3cm,footskip=2cm}
\usepackage{setspace}
\usepackage{setspace}
\linespread{1.3}
\usepackage{lmodern}
......@@ -18,12 +18,43 @@
\usepackage{listings}
%Allow degree escape in listings
\usepackage{gensymb}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
$if(highlighting-macros)$
$highlighting-macros$
$endif$
\usepackage{color}
\definecolor{lightgray}{gray}{0.60}
\definecolor{lightgraycode}{gray}{0.80}
\definecolor{keywords}{RGB}{255,0,90}
\definecolor{comments}{RGB}{76,76,76}
\definecolor{string}{RGB}{0,0,250}
\definecolor{identifier}{RGB}{250,80,0}
\definecolor{tag}{rgb}{0,0.46,0}
\lstset{
basicstyle=\ttfamily \lst@ifdisplaystyle\footnotesize\fi,
framexleftmargin = 5mm,
%frame = shadowbox,
rulesepcolor = \color{lightgraycode},
numbers = left,
numberstyle = \tiny,
numbersep = 10pt,
columns = fullflexible,
breaklines = true,
showstringspaces = false,
commentstyle = \color{comments}\upshape
}
\lstdefinelanguage{XML}
{
morestring=[b]",
morestring=[s]{>}{<},
morecomment=[s]{<?}{?>},
morecomment=[s]{--}{--},
moredelim=[s][\color{keywords}]{\ }{=},
stringstyle=\color{black},
identifierstyle=\color{tag},
}
\usepackage{longtable,booktabs}
\usepackage{graphicx}
\usepackage{pdfpages}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
......@@ -54,10 +85,20 @@ $endif$
%\setcounter{secnumdepth}{0}
%$endif$
\usepackage{enumitem}
\setlist{nosep, noitemsep}
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
%% Reformat Sections
\let\stdsection\section%
\renewcommand\section{\newpage\stdsection}
%% Reformat Paragraph
\let\stdparagraph\paragraph%
\renewcommand{\paragraph}[1]{\stdparagraph{#1}\mbox{}\\\vspace{-0.5cm}}
%% Title Page
\usepackage{fancyhdr}
\pagestyle{fancy}
......@@ -89,14 +130,13 @@ $endif$
%% Title Page
\fancypagestyle{titlepage}{%
\fancyhf{}
% The title page has different margins
% The title page has different margins
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}
}
\pagestyle{titlepage}
\usepackage{color}
\definecolor{lightgray}{gray}{0.60}
%% Maketitle
\renewcommand\maketitle{%
\sffamily
......@@ -126,7 +166,7 @@ $for(revision)$
$revision.who$
$sep$\\
$endfor$
% $for(revision)$$revision.comment$$sep$\\$endfor$
% $for(revision)$$revision.comment$$sep$\\$endfor$
\\
\bottomrule
\end{tabular}
......@@ -144,6 +184,9 @@ $for(author)$$author$$sep$\\$endfor$}
\newpage
}
% show only two levels in the table of content
\setcounter{tocdepth}{2}
\begin{document}
\pagestyle{titlepage}
$if(title)$
......
---
title:
- up: Draft Guidelines - Energy ADE version 0.6
- up: Draft Guidelines - Energy ADE version 0.7
main: CityGML Energy Application Domain Extension
dw: In collaboration with OGC and SIG 3D
authors:
......@@ -26,7 +26,7 @@ institutes:
- Karlsruhe Institute für Technologie, Germany
- European Institute for Energy Research, Germany
- RWTH Aachen University / E.ON Energy Research Center, Germany
- HafenCityUniversität Hamburg, Germany
- HafenCity Universität Hamburg, Germany
- Ecole Polytechnique Fédérale de Lausanne, Switzerland
- Centre Scientifique et Technique du Batiment, France
- Electricité de France, France
......@@ -34,9 +34,20 @@ institutes:
- M.O.S.S Computer Grafik Systeme, Germany
- Austrian Institute of Technology, Austria
abstract: |
The Energy Application Domain Extension (Energy ADE) described in this documentation defines a standardized data model based on the CityGML 2.0 format for urban energy analyses, aiming to be a reference exchange data model between different urban modelling tools and expert databases.
The Energy Application Domain Extension (Energy ADE) described in this
documentation defines a standardized data model based on the CityGML 2.0
format for urban energy analyses, aiming to be a reference exchange data
model between different urban modelling tools and expert databases.
The Energy ADE has been developed since May 2014 by an international consortium of urban energy simulation developers and users, both academic and commercial. To date, the consortium is composed by: University of Applied Sciences Stuttgart, Technische Universität München, Karlsruhe Institute für Technologie, RWTH Aachen University / E.ON Energy Research Center, HafenCity Universität Hamburg, European Institute for Energy Research, Ecole Polytechnique Fédérale de Lausanne, Centre Scientifique et Technique du Batiment, Electricité de France, Sinergis, M.O.S.S Computer Grafik Systeme and Austrian Institute of Technology.
The Energy ADE has been developed since May 2014 by an international
consortium of urban energy simulation developers and users, both academic
and commercial. To date, the consortium is composed by: University of
Applied Sciences Stuttgart, Technische Universität München, Karlsruhe
Institute für Technologie, RWTH Aachen University / E.ON Energy Research
Center, HafenCity Universität Hamburg, European Institute for Energy
Research, Ecole Polytechnique Fédérale de Lausanne, Centre Scientifique et
Technique du Batiment, Electricité de France, Sinergis, M.O.S.S Computer
Grafik Systeme and Austrian Institute of Technology.
bibliography: EnergyADE-library.bib
csl: chicago.csl
---
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment