Skip to content

Commit

Permalink
Make logo on title page conditional for PDF only.
Browse files Browse the repository at this point in the history
  • Loading branch information
dietmarw committed Feb 20, 2020
1 parent 958eee8 commit 05ede75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chapters/abstract.tex
Expand Up @@ -5,6 +5,14 @@
% The accepted solution did not seem to work
\hypersetup{pageanchor=false,bookmarksdepth=2,destlabel=true,bookmarksopenlevel=0}
\begin{abstract}
\ifpdf
\else
~\bigskip
\begin{center}
\includegraphics[width=8cm]{Modelica_Language}
\end{center}
\bisgskip
\fi

This document defines the Modelica\footnote{Modelica is a registered
trademark of the Modelica Association} language, version 3.5, which is
Expand Down
2 changes: 2 additions & 0 deletions preamble.tex
Expand Up @@ -240,10 +240,12 @@
\def\subparagraphautorefname{section}

\title{
\ifpdf
\begin{center}
\includegraphics[width=8cm]{Modelica_Language}
\end{center}
~\\[2\baselineskip]
\fi
Modelica\textsuperscript\textregistered - A Unified Object-Oriented Language for Systems
Modeling\\[2\baselineskip]
Language Specification\\[2\baselineskip]
Expand Down

0 comments on commit 05ede75

Please sign in to comment.