-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnovella.latex
40 lines (31 loc) · 1.22 KB
/
novella.latex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Auth: Nicklas Vraa
% Docs: https://github.com/NicklasVraa/LiX
% Everything you need to know about this template is on the github repository above.
% Stars are appreciated.
\documentclass{novella}
\lang {english}
\title {$title$}
\subtitle {$subtitle$}
\authors {$author$}
$if(keywords)$
$for(keywords)$$keywords$$sep$, $endfor$
$endif$
% figures
\usepackage{wrapfig}
\makeatletter
\newcommand{\checkheight}[1]{%
\par \penalty-100\begingroup%
\setlength{\dimen@}{#1}%
\dimen@ii\pagegoal \advance\dimen@ii-\pagetotal
\ifdim \dimen@>\dimen@ii
\break
\fi\endgroup}
\makeatother
\begin{document}
%----------------------------------------------------------------------------------------
% BODY
%----------------------------------------------------------------------------------------
$body$
% \h{Lorem}
% \l{L}orem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ornare pulvinar dolor, blandit ornare sapien lacinia et. Proin erat orci, molestie sed eros at, interdum egestas sem. Nulla facilisi. Phasellus suscipit porttitor augue eu finibus. Morbi eget metus nec ex venenatis vehicula. Vivamus nec eros accumsan, mattis nisi at, auctor diam. Vestibulum nec purus dui.
\end{document}