Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
TeX Vorlagen
neo
Commits
2f2032fb
Commit
2f2032fb
authored
Jul 31, 2020
by
Bernhard Heinloth
Browse files
Support handout and multi page in markdown
parent
180c840c
Pipeline
#46061
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
markdown.beamer
View file @
2f2032fb
...
...
@@ -5,6 +5,8 @@ $if(colorlinks)$
$endif$$if(dir)$$if(latex-dir-rtl)$
\PassOptionsToPackage{RTLdocument}{bidi}
$endif$$endif$%
\RequirePackage{substr}
\IfSubStringInString{\detokenize{_handout}}{\jobname}{\PassOptionsToClass{handout}{beamer}}{}
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
$if(beamer)$
$if(background-image)$
...
...
@@ -283,7 +285,15 @@ $if(dir)$
\newenvironment{LTR}{\beginL}{\endL}
\fi
$endif$
\IfSubStringInString{\detokenize{_2x2}}{\jobname}{
\pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=2.5mm]
\neoset{background=white}
}{
\IfSubStringInString{\detokenize{_1x2}}{\jobname}{
\pgfpagesuselayout{2 on 1}[letterpaper,border shrink=5mm]
\neoset{background=white}
}{}
}
$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment