Revision | 2e2770686a14c86bd018e6cb9485b665cfad6a85 (tree) |
---|---|
Zeit | 2018-08-10 05:40:43 |
Autor | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
A template to create an ebook-like manuscript.
@@ -0,0 +1,21 @@ | ||
1 | + | |
2 | +\documentclass[ebook,12pt,oneside,openany]{memoir} | |
3 | +\usepackage[utf8x]{inputenc} | |
4 | +\usepackage[english]{babel} | |
5 | +\usepackage{url} | |
6 | + | |
7 | +% for placeholder text | |
8 | +\usepackage{lipsum} | |
9 | + | |
10 | +\title{\LaTeX{} ePub Template} | |
11 | +\author{A Author} | |
12 | + | |
13 | +\begin{document} | |
14 | +\maketitle | |
15 | + | |
16 | +Once upon a time\ldots This document shows how you can get ePub-like formatting in \LaTeX{} with the \verb|memoir| document class. You can't yet export directly to ePub from writeLaTeX, but you can download the source and run it through a format conversion tool, such as \verb|htlatex| to get HTML, and then go from HTML to ePub with a tool like Sigil or Calibre. See \url{http://tex.stackexchange.com/questions/16569} for more advice. And they lived happily ever after. | |
17 | + | |
18 | +\lipsum | |
19 | + | |
20 | +\end{document} | |
21 | + | |
\ No newline at end of file |