summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default.latex58
-rw-r--r--styles.html3
2 files changed, 31 insertions, 30 deletions
diff --git a/default.latex b/default.latex
index 60f9972..d067016 100644
--- a/default.latex
+++ b/default.latex
@@ -36,35 +36,6 @@ $for(classoption)$
36 $classoption$$sep$, 36 $classoption$$sep$,
37$endfor$ 37$endfor$
38]{$documentclass$} 38]{$documentclass$}
39$if(title)$
40\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
41$endif$
42$if(subtitle)$
43$if(beamer)$
44$else$
45\usepackage{etoolbox}
46\makeatletter
47\providecommand{\subtitle}[1]{% add subtitle to \maketitle
48 \apptocmd{\@title}{\par {\large #1 \par}}{}{}
49}
50\makeatother
51$endif$
52\subtitle{$subtitle$}
53$endif$
54\author{$for(author)$$author$$sep$ \and $endfor$}
55\date{$date$}
56$if(beamer)$
57$if(institute)$
58\institute{$for(institute)$$institute$$sep$ \and $endfor$}
59$endif$
60$if(titlegraphic)$
61\titlegraphic{\includegraphics{$titlegraphic$}}
62$endif$
63$if(logo)$
64\logo{\includegraphics{$logo$}}
65$endif$
66$endif$
67
68$if(beamer)$ 39$if(beamer)$
69$if(background-image)$ 40$if(background-image)$
70\usebackgroundtemplate{% 41\usebackgroundtemplate{%
@@ -452,6 +423,35 @@ $if(csquotes)$
452\usepackage{csquotes} 423\usepackage{csquotes}
453$endif$ 424$endif$
454 425
426$if(title)$
427\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
428$endif$
429$if(subtitle)$
430$if(beamer)$
431$else$
432\usepackage{etoolbox}
433\makeatletter
434\providecommand{\subtitle}[1]{% add subtitle to \maketitle
435 \apptocmd{\@title}{\par {\large #1 \par}}{}{}
436}
437\makeatother
438$endif$
439\subtitle{$subtitle$}
440$endif$
441\author{$for(author)$$author$$sep$ \and $endfor$}
442\date{$date$}
443$if(beamer)$
444$if(institute)$
445\institute{$for(institute)$$institute$$sep$ \and $endfor$}
446$endif$
447$if(titlegraphic)$
448\titlegraphic{\includegraphics{$titlegraphic$}}
449$endif$
450$if(logo)$
451\logo{\includegraphics{$logo$}}
452$endif$
453$endif$
454
455\begin{document} 455\begin{document}
456$if(has-frontmatter)$ 456$if(has-frontmatter)$
457\frontmatter 457\frontmatter
diff --git a/styles.html b/styles.html
index e744d83..d26a39c 100644
--- a/styles.html
+++ b/styles.html
@@ -14,7 +14,7 @@ body {
14 padding-top: $if(margin-top)$$margin-top$$else$50px$endif$; 14 padding-top: $if(margin-top)$$margin-top$$else$50px$endif$;
15 padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$; 15 padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$;
16 hyphens: auto; 16 hyphens: auto;
17 word-wrap: break-word; 17 overflow-wrap: break-word;
18 text-rendering: optimizeLegibility; 18 text-rendering: optimizeLegibility;
19 font-kerning: normal; 19 font-kerning: normal;
20} 20}
@@ -93,6 +93,7 @@ $endif$
93pre code { 93pre code {
94 padding: 0; 94 padding: 0;
95 overflow: visible; 95 overflow: visible;
96 overflow-wrap: normal;
96} 97}
97.sourceCode { 98.sourceCode {
98 background-color: transparent; 99 background-color: transparent;