Skip to content
Snippets Groups Projects
Commit f42a8552 authored by tuhe's avatar tuhe
Browse files

Updates to slider

parent 7a2c0495
No related branches found
No related tags found
No related merge requests found
......@@ -20,12 +20,40 @@ You can import the package using `import slider`.
# Use and examples
Go to an empty directory where you want to start a slideshow. Use the command
Go to an empty directory where you want to start a slideshow and run the command:
```terminal
python -m slider index.tex
```
This will start a small beamer project and populate it with the (few) necesary files to make the framework work. You can see the
generated files in the `/examples/new_project` folder. The main pdf file looks like this:
generated files in the `/examples/new_project` folder. The main `LaTeX` file looks like this:
```latex
\documentclass[aspectratio=43]{beamer}
\usepackage{etoolbox}
\newtoggle{overlabel_includesvgs}
\newtoggle{overlabel_includelabels}
\toggletrue{overlabel_includesvgs}
\toggletrue{overlabel_includelabels}
\input{beamer_slider_preamble.tex}
\title{Example slide show}
\author{Tue Herlau}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\begin{frame}\osvg{myoverlay} % Use the \osvg{labelname} - tag to create new overlays. Run slider and check the ./osvgs directory for the svg files!
\title{Slide with an overlay}
This is some example text!
\end{frame}
\end{document}
```
And the generated PDF file looks like this:
![alt text](docs/new_project_nup.png)
......
......@@ -35,16 +35,10 @@ if __name__ == "__main__":
pass
my_nup(np + "/index.pdf")
convert.pdf2png(np + "/index.pdf", "./index0.png")
output = np +"/index_2up.pdf"
data = {}
with open(np + "/index.tex", 'r') as f:
data['basic0_tex'] = f.read()
......
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment