Skip to content

Commit

Permalink
Deleted trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandmalfarbe committed Jun 16, 2019
1 parent e55a2c3 commit 542ca6c
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 57 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2017 - 2019, Pascal Wagler;
Copyright (c) 2017 - 2019, Pascal Wagler;
Copyright (c) 2014 - 2019, John MacFarlane
All rights reserved.

Expand Down
62 changes: 30 additions & 32 deletions eisvogel.tex
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
%%
% Copyright (c) 2017 - 2019, Pascal Wagler;
% Copyright (c) 2017 - 2019, Pascal Wagler;
% Copyright (c) 2014 - 2019, John MacFarlane
%
%
% All rights reserved.
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions
% are met:
%
% - Redistributions of source code must retain the above copyright
%
% - Redistributions of source code must retain the above copyright
% notice, this list of conditions and the following disclaimer.
%
% - Redistributions in binary form must reproduce the above copyright
% notice, this list of conditions and the following disclaimer in the
%
% - Redistributions in binary form must reproduce the above copyright
% notice, this list of conditions and the following disclaimer in the
% documentation and/or other materials provided with the distribution.
%
% - Neither the name of John MacFarlane nor the names of other
% contributors may be used to endorse or promote products derived
%
% - Neither the name of John MacFarlane nor the names of other
% contributors may be used to endorse or promote products derived
% from this software without specific prior written permission.
%
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
%
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
% POSSIBILITY OF SUCH DAMAGE.
%%

Expand Down Expand Up @@ -462,8 +462,6 @@





%%
%% added
%%
Expand Down Expand Up @@ -511,7 +509,7 @@
\PassOptionsToPackage{hyphens}{url}

%
% When using babel or polyglossia with biblatex, loading csquotes is recommended
% When using babel or polyglossia with biblatex, loading csquotes is recommended
% to ensure that quoted texts are typeset according to the rules of your main language.
%
\usepackage{csquotes}
Expand Down Expand Up @@ -540,7 +538,7 @@
% Source Sans Pro as the de­fault font fam­ily
% Source Code Pro for monospace text
%
% 'default' option sets the default
% 'default' option sets the default
% font family to Source Sans Pro, not \sfdefault.
%
$if(mainfont)$
Expand All @@ -549,7 +547,7 @@
\usepackage{sourcecodepro}

% XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887
% This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the
% This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the
% fix is still unreleased.
% TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN.
\ifxetex
Expand All @@ -576,7 +574,7 @@
$else$
\addtokomafont{section}{\color{heading-color}}
$endif$
% When using the classes report, scrreprt, book,
% When using the classes report, scrreprt, book,
% scrbook or memoir, uncomment the following line.
%\addtokomafont{chapter}{\color{heading-color}}

Expand Down Expand Up @@ -614,8 +612,8 @@
\endoldlongtable
\global\rownum=0\relax}

% Unfortunately the colored cells extend beyond the edge of the
% table because pandoc uses @-expressions (@{}) like so:
% Unfortunately the colored cells extend beyond the edge of the
% table because pandoc uses @-expressions (@{}) like so:
%
% \begin{longtable}[]{@{}ll@{}}
% \end{longtable}
Expand Down
4 changes: 2 additions & 2 deletions examples/basic-example/basic-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Expand Down
8 changes: 4 additions & 4 deletions examples/build-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ echo "##"
echo ""

echo "- basic-example"
pandoc "basic-example/basic-example.md" -o "basic-example/basic-example.pdf" --from markdown --template "../eisvogel.latex" --listings
pandoc "basic-example/basic-example.md" -o "basic-example/basic-example.pdf" --from markdown --template "../eisvogel.latex" --listings
pdftoppm -r 150 -png "basic-example/basic-example.pdf" > "basic-example/basic-example.png"

echo "- beamer"
pandoc "beamer/beamer.md" -o "beamer/beamer.pdf" --from markdown --to beamer --template "../eisvogel.latex" --listings
pdftoppm -r 150 -png "beamer/beamer.pdf" > "beamer/beamer.png"

echo "- custom-titlepage"
pandoc "custom-titlepage/custom-titlepage.md" -o "custom-titlepage/custom-titlepage.pdf" --from markdown --template "../eisvogel.latex" -V "logo=custom-titlepage/logo-inverted.pdf" --listings
pandoc "custom-titlepage/custom-titlepage.md" -o "custom-titlepage/custom-titlepage.pdf" --from markdown --template "../eisvogel.latex" -V "logo=custom-titlepage/logo-inverted.pdf" --listings
pdftoppm -r 150 -png "custom-titlepage/custom-titlepage.pdf" > "custom-titlepage/custom-titlepage.png"

echo "- default-titlepage"
Expand Down Expand Up @@ -44,12 +44,12 @@ pandoc "without-listings/without-listings.md" -o "without-listings/without-listi
pdftoppm -r 150 -png "without-listings/without-listings.pdf" > "without-listings/without-listings.png"

echo "- green-titlepage"
pandoc "green-titlepage/green-titlepage.md" -o "green-titlepage/green-titlepage.pdf" --from markdown --template "../eisvogel.latex" --listings
pandoc "green-titlepage/green-titlepage.md" -o "green-titlepage/green-titlepage.pdf" --from markdown --template "../eisvogel.latex" --listings
pdftoppm -r 150 -png "green-titlepage/green-titlepage.pdf" > "green-titlepage/green-titlepage.png"

echo "- book"
# Additional options like `book: true` and `classoption: [oneside]` are set in the markdown file via the YAML metadata block.
pandoc "book/book.md" -o "book/book.pdf" --from markdown --template "../eisvogel.latex" --listings --top-level-division="chapter"
pandoc "book/book.md" -o "book/book.pdf" --from markdown --template "../eisvogel.latex" --listings --top-level-division="chapter"
pdftoppm -r 150 -png "book/book.pdf" > "book/book.png"

echo "- images-and-tables"
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-titlepage/custom-titlepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Expand Down
4 changes: 2 additions & 2 deletions examples/default-titlepage/default-titlepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Expand Down
4 changes: 2 additions & 2 deletions examples/german/german.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Expand Down
4 changes: 2 additions & 2 deletions examples/green-titlepage/green-titlepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Expand Down
8 changes: 4 additions & 4 deletions examples/listings/listings.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Lorem markdownum Letoia, et alios -- "figurae flectentem annis aliquid Peneosque
esse, 'obstat' gravitate.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias
Expand Down Expand Up @@ -49,7 +49,7 @@ CREATE TYPE person_t AS (
firstName VARCHAR(50) NOT NULL,
lastName VARCHAR(50) NOT NULL
);
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
LANGUAGE SQL;
```
4 changes: 2 additions & 2 deletions examples/logo-titlepage/logo-titlepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Expand Down
8 changes: 4 additions & 4 deletions examples/without-listings/without-listings.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate.

```java
public class Example implements LoremIpsum {
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
}
```

Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias
Expand Down Expand Up @@ -50,7 +50,7 @@ CREATE TYPE person_t AS (
lastName VARCHAR(50) NOT NULL
);
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
LANGUAGE SQL;
```

0 comments on commit 542ca6c

Please sign in to comment.