Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cover support #3

Closed
tshu-w opened this issue May 17, 2017 · 5 comments
Closed

Add cover support #3

tshu-w opened this issue May 17, 2017 · 5 comments

Comments

@tshu-w
Copy link

tshu-w commented May 17, 2017

If I use this template to generate a long articles or notes. A cover and back cover support will be nice!

@Wandmalfarbe
Copy link
Owner

I will look into cover support.

@Wandmalfarbe
Copy link
Owner

Wandmalfarbe commented May 18, 2017

There is now support for a LaTeX title page. You can use the following YAML front matter in your markdown file:

---
title: "Vinaque sanguine metuenti cuiquam Alcyone fixus"
author: [Author Name]
date: 2017-02-20
subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum"
titlepage: true
titlepage-color: 06386e
titlepage-text-color: ffffff
titlepage-rule-color: ffffff
titlepage-rule-height: 1
...

All these variables are used when building the title page. You can also use the default styling by just specifying titlepage: true:

---
title: "Vinaque sanguine metuenti cuiquam Alcyone fixus"
author: [Author Name]
date: 2017-02-20
subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum"
titlepage: true
...

I might add some documentation of these variables in the future.

The back cover can be easily implemented the same way I implemented the title page. You can look at the LaTeX file between the comments % begin titlepage and % end titlepage. I don't consider the back cover to be part of this template because it is not intended for books.

@tshu-w
Copy link
Author

tshu-w commented May 19, 2017

@Wandmalfarbe I really appreciate your nice job. I know little about latex, but now I can make some changes for my own use on the basis of your template.

@e1th0r
Copy link

e1th0r commented Nov 26, 2018

I've working with this template

https://github.com/Wandmalfarbe/pandoc-latex-template

And results seems to be good

example.pdf

@e1th0r
Copy link

e1th0r commented Nov 26, 2018

Comment for to generate pdf is like

pandoc guides/titlepage.md guides/Team-Start-Example.md -o example.pdf --template eisvogel.latex

I will be fixing some details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants