diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..a5ebbde --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,3 @@ +FROM qmcgaw/latexdevcontainer:latest-full + +RUN apt update -y && apt install git fontconfig inkscape -y \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..a70ef47 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,165 @@ +{ + "name": "huangfusl-latex-template", + "dockerComposeFile": ["docker-compose.yml"], + "service": "vscode", + "runServices": ["vscode"], + "shutdownAction": "stopCompose", + "workspaceFolder": "/workspace", + "postCreateCommand": "", + "customizations": { + "codespaces": { + "extensions": [ + // Copilot + "GitHub.copilot", + "GitHub.copilot-chat", + // LaTeX + "james-yu.latex-workshop", + // Git + "eamodio.gitlens", + // Other helpers + "shardulm94.trailing-spaces", + "stkb.rewrap", // rewrap comments after n characters on one line + // Other + "PKief.material-icon-theme", + "Equinusocio.vsc-material-theme" + ], + "settings": { + // General settings + "files.eol": "\n", + "[latex]": { + "editor.defaultFormatter": "James-Yu.latex-workshop" + }, + "github.copilot.enable": { + "latex": false + }, + "editor.wordWrap": "on", + "files.autoSave": "onFocusChange", + "files.autoSaveDelay": 150000, + "workbench.colorTheme": "Material Theme Ocean", + "workbench.iconTheme": "material-icon-theme", + // Latex settings + "latex-workshop.linting.chktex.enabled": true, + "latex-workshop.latex.clean.subfolder.enabled": true, + "latex-workshop.latex.autoClean.run": "onFailed", + "editor.formatOnSave": true, + "files.associations": { + "*.tex": "latex" + }, + "latex-workshop.latexindent.path": "latexindent", + "latex-workshop.latexindent.args": [ + "-c", + "%DIR%/", + "%TMPFILE%", + "-y=defaultIndent: '%INDENT%'" + ], + "latex-workshop.latex.recipes": [ + { "name": "Build", "tools": ["XeTeX"] }, + { + "name": "Build (bib)", + "tools": ["XeTeX", "BibTeX", "XeTeX", "XeTeX"] + } + ], + "latex-workshop.latex.tools": [ + { + "name": "XeTeX", + "command": "xelatex", + "args": [ + "-synctex=1", + "-shell-escape", + "-interaction=nonstopmode", + "-file-line-error", + "%DOCFILE%" + ] + }, + { + "name": "BibTeX", + "command": "bibtex", + "args": ["%DOCFILE%"] + } + ], + "latex-workshop.linting.run": "onType", + "latex-workshop.view.pdf.viewer": "tab", + "latex-utilities.countWord.args": ["%DOCFILE%"], + "latex-utilities.countWord.format": "${words} Words in Total, ${wordsBody} Words in Body", + "latex-utilities.countWord.path": "texcount" + } + }, + "vscode": { + "extensions": [ + // Copilot + "GitHub.copilot", + "GitHub.copilot-chat", + // LaTeX + "james-yu.latex-workshop", + // Git + "eamodio.gitlens", + // Other helpers + "shardulm94.trailing-spaces", + "stkb.rewrap", // rewrap comments after n characters on one line + // Other + "PKief.material-icon-theme", + "Equinusocio.vsc-material-theme" + ], + "settings": { + // General settings + "files.eol": "\n", + "[latex]": { + "editor.defaultFormatter": "James-Yu.latex-workshop" + }, + "github.copilot.enable": { + "latex": false + }, + "editor.wordWrap": "on", + "files.autoSave": "onFocusChange", + "files.autoSaveDelay": 150000, + "workbench.colorTheme": "Material Theme Ocean", + "workbench.iconTheme": "material-icon-theme", + // Latex settings + "latex-workshop.linting.chktex.enabled": true, + "latex-workshop.latex.clean.subfolder.enabled": true, + "latex-workshop.latex.autoClean.run": "onFailed", + "editor.formatOnSave": true, + "files.associations": { + "*.tex": "latex" + }, + "latex-workshop.latexindent.path": "latexindent", + "latex-workshop.latexindent.args": [ + "-c", + "%DIR%/", + "%TMPFILE%", + "-y=defaultIndent: '%INDENT%'" + ], + "latex-workshop.latex.recipes": [ + { "name": "Build", "tools": ["XeTeX"] }, + { + "name": "Build (bib)", + "tools": ["XeTeX", "BibTeX", "XeTeX", "XeTeX"] + } + ], + "latex-workshop.latex.tools": [ + { + "name": "XeTeX", + "command": "xelatex", + "args": [ + "-synctex=1", + "-shell-escape", + "-interaction=nonstopmode", + "-file-line-error", + "%DOCFILE%" + ] + }, + { + "name": "BibTeX", + "command": "bibtex", + "args": ["%DOCFILE%"] + } + ], + "latex-workshop.linting.run": "onType", + "latex-workshop.view.pdf.viewer": "tab", + "latex-utilities.countWord.args": ["%DOCFILE%"], + "latex-utilities.countWord.format": "${words} Words in Total, ${wordsBody} Words in Body", + "latex-utilities.countWord.path": "texcount" + } + } + } +} \ No newline at end of file diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml new file mode 100644 index 0000000..d6e3aff --- /dev/null +++ b/.devcontainer/docker-compose.yml @@ -0,0 +1,21 @@ +version: "3.2" + +services: + vscode: + build: . + image: latexdevcontainer + volumes: + - ../:/workspace + # Docker socket to access Docker server + - /var/run/docker.sock:/var/run/docker.sock + # SSH directory + - ~/.ssh:/root/.ssh + # For Windows without WSL, a copy will be made + # from /tmp/.ssh to ~/.ssh to fix permissions + # - ~/.ssh:/tmp/.ssh:ro + # Shell history persistence + - ~/.zsh_history:/root/.zsh_history:z + environment: + - TZ= + entrypoint: ["zsh", "-c", "while sleep 1000; do :; done"] + \ No newline at end of file diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 1254502..0186571 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -81,7 +81,12 @@ jobs: - name: Compile LaTeX document if: ${{ needs.workflow-setup.outputs.runner == 'self-texlive' }} run: | - latexmk -shell-escape -pdf -file-line-error -halt-on-error -interaction=nonstopmode ${{ needs.workflow-setup.outputs.tex }} + latexmk -shell-escape -xelatex -file-line-error -halt-on-error -interaction=nonstopmode ${{ needs.workflow-setup.outputs.tex }} + + - name: Compile Poster + if: ${{ needs.workflow-setup.outputs.runner == 'self-texlive' }} + run: | + latexmk -shell-escape -xelatex -file-line-error -halt-on-error -interaction=nonstopmode poster.template.tex - name: Rename PDF run: mv ${{ needs.workflow-setup.outputs.prefix }}.pdf ${{ needs.workflow-setup.outputs.pdf }} @@ -96,9 +101,11 @@ jobs: ./*.gin ./*.bbl ./${{ needs.workflow-setup.outputs.pdf }} + ./poster.template.pdf ./README.adoc ./hooks* ./img* + ./fonts/* ./dat* ./*.png ./a.cli @@ -140,8 +147,14 @@ jobs: name: Check compilation of LaTeX document from artifact if: ${{ needs.workflow-setup.outputs.runner == 'self-texlive' }} run: | - latexmk -shell-escape -pdf -file-line-error -halt-on-error -interaction=nonstopmode ${{ needs.workflow-setup.outputs.tex }} + latexmk -shell-escape -xelatex -file-line-error -halt-on-error -interaction=nonstopmode ${{ needs.workflow-setup.outputs.tex }} working-directory: ${{ github.workspace }}/artifact + - + name: Check compilation of poster from artifact + if: ${{ needs.workflow-setup.outputs.runner == 'self-texlive' }} + run: | + latexmk -shell-escape -xelatex -file-line-error -halt-on-error -interaction=nonstopmode poster.template.tex + working-directory: ${{ github.workspace }}/artifact release: needs: [workflow-setup,build_latex, check] @@ -174,4 +187,5 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} files: | artifact/${{ needs.workflow-setup.outputs.prefixwithref }}.pdf + artifact/poster.template.pdf ${{ needs.workflow-setup.outputs.prefixwithref }}.tar.gz diff --git a/.gitignore b/.gitignore index 7061797..a405c56 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,12 @@ presentation.template.chl presentation.template.lof presentation.template.lot presentation.template.pdf +poster.template.synctex(busy) +svg-inkscape/ +build/ +*.zip +*.dvi +poster.template.pdf +*.html +__MACOSX/ +.DS_Store \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index e557534..c28369d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,6 +5,21 @@ "tools": [ "xelatexmk" ] + }, + { + "name": "Build", + "tools": [ + "XeTeX" + ] + }, + { + "name": "Build (bib)", + "tools": [ + "XeTeX", + "BibTeX", + "XeTeX", + "XeTeX" + ] } ], "latex-workshop.latex.tools": [ @@ -25,6 +40,7 @@ "name": "xelatexmk", "command": "latexmk", "args": [ + "--shell-escape", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", @@ -41,6 +57,24 @@ "%DOCFILE%" ], "env": {} + }, + { + "name": "XeTeX", + "command": "xelatex", + "args": [ + "-synctex=1", + "-shell-escape", + "-interaction=nonstopmode", + "-file-line-error", + "%DOCFILE%" + ] + }, + { + "name": "BibTeX", + "command": "bibtex", + "args": [ + "%DOCFILE%" + ] } ] } \ No newline at end of file diff --git a/README.md b/README.md index 159ac33..1637991 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,99 @@ -# A beamer template for NumPEx presentations +# A Beamer Template for NumPEx Presentations [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15113190.svg)](https://doi.org/10.5281/zenodo.15113190) [![GitHub Release](https://img.shields.io/github/v/release/numpex/presentation.template)](https://github.com/numpex/presentation.template/releases/latest) +[![Slack](https://img.shields.io/badge/slack-presentation-brightgreen.svg?logo=slack)](https://numpex.slack.com/archives/C08L4KHUTFX) +[![Slack](https://img.shields.io/badge/slack-notifications-blue.svg?logo=slack)](https://numpex.slack.com/archives/C08KRJF3B55) +## Getting Started -Just clone the repository, add the path to your TEXINPUTS environment -variable and you are ready to use the theme in your presentation by adding +Just clone the repository, add the path to your `TEXINPUTS` environment variable, and you are ready to use the theme in your presentation by adding: -``` +```latex \usetheme{numpex} +``` + +### Slides template + +Checkout `presentation.template.tex`: + +```shell +bash a.cli build presentation.template.tex +``` + +### Poster template + +Checkout `poster.template.tex`: + +```shell +bash a.cli build poster.template.tex +``` + +## Fonts + +For a better result, you should install the [Marianne font](https://www.systeme-de-design.gouv.fr/elements-d-interface/fondamentaux-de-l-identite-de-l-etat/typographie/) and compile with XeTeX. + +### Installing Marianne Fonts + +1. **Download the Fonts:** + - You can download the Marianne fonts using the provided `a.cli` script. Run the following command: + ```bash + bash a.cli installfonts + ``` + - This will download and extract the Marianne fonts into the `fonts/` directory within your project. + +2. **Configure LaTeX:** + - Ensure your LaTeX configuration points to the `fonts/` directory. The provided `beamerfontthemenumpex` package is already configured to use the relative path `fonts/`. + +## CI/CD Pipeline + +This repository includes a GitHub Actions workflow to compile the LaTeX document and release the PDF artifact. The workflow is triggered on pushes to branches and tags. + +### Workflow Steps + +1. **Workflow Setup:** + - Determines the appropriate runner (`ubuntu-latest` or `self-texlive`) based on the availability of a self-hosted runner with the `self-texlive` label. + +2. **Build LaTeX:** + - Compiles the LaTeX document using `latexmk` and `xelatex`. + - Renames the generated PDF to include the branch or tag name. + +3. **Check:** + - Downloads the artifact and verifies that the LaTeX document compiles correctly from the artifact. + +4. **Release:** + - Creates a GitHub release for tagged commits (e.g., `v1.0.0`). + - Uploads the PDF and other relevant files as release assets. + +## Usage + +- **Setup Hooks:** + ```bash + bash a.cli setup + ``` + +- **Create a Release:** + ```bash + bash a.cli create v1.0.0 + ``` + +- **List Releases:** + ```bash + bash a.cli list + ``` + +- **Compile the Document:** + ```bash + bash a.cli build your_document.tex + ``` + +## Contributing + +Feel free to open issues or submit pull requests for improvements or bug fixes. + +## License +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. ``` -For a better result you should install the [Marianne font](https://www.systeme-de-design.gouv.fr/elements-d-interface/fondamentaux-de-l-identite-de-l-etat/typographie/) and compile with XeTeX. diff --git a/a.cli b/a.cli index a5459b5..bd3b812 100755 --- a/a.cli +++ b/a.cli @@ -88,6 +88,47 @@ delete_release() { echo "Release $VERSION deleted successfully." } +# Function to compile with latexmk and xelatex +compile() { + DOC=$1 + if [ -z "$DOC" ]; then + echo "Usage: $0 build " + exit 1 + fi + + OUTDIR="build" + mkdir -p "$OUTDIR" + + # Compile using latexmk with xelatex and the desired options + latexmk -synctex=1 -interaction=nonstopmode -file-line-error -f -xelatex -outdir="$OUTDIR" "$DOC" + +} + +# Function to install LaTeX fonts (Marianne and Roboto Mono) +install_fonts() { + FONTSDIR="fonts" + mkdir -p "$FONTSDIR" + + # Install Marianne fonts + MARIENNE_URL="https://www.systeme-de-design.gouv.fr/uploads/Marianne_fd0ba9c190.zip" + MARIENNE_ZIP="$FONTSDIR/Marianne_fd0ba9c190.zip" + echo "Downloading Marianne fonts..." + wget -O "$MARIENNE_ZIP" "$MARIENNE_URL" + echo "Extracting Marianne fonts..." + unzip -o "$MARIENNE_ZIP" -d "$FONTSDIR/" + rm "$MARIENNE_ZIP" + + # Install Roboto Mono fonts + ROBOTOMONO_URL="https://fonts.google.com/download?family=Roboto+Mono" + ROBOTOMONO_ZIP="$FONTSDIR/RobotoMono.zip" + echo "Downloading Roboto Mono fonts..." + wget -O "$ROBOTOMONO_ZIP" "$ROBOTOMONO_URL" + echo "Extracting Roboto Mono fonts..." + unzip -o "$ROBOTOMONO_ZIP" -d "$FONTSDIR/RobotoMono" + + echo "Fonts installed successfully in $FONTSDIR." +} + # Main script logic case "$1" in setup) @@ -102,13 +143,21 @@ case "$1" in delete) delete_release "$2" ;; + build) + compile "$2" + ;; + installfonts) + install_fonts + ;; *) echo "Usage: $0 {setup|create|list|delete} [version]" echo " setup : Setup hooks for commit, checkout, and merge" echo " create : Create a new release with the provided version" echo " list : List all existing releases" + echo " build : Compile the TeX document using latexmk and xelatex" + echo " installfonts: Download and install Marianne and Roboto Mono fonts into fonts/" echo " delete : Delete the release with the provided version" echo " version : Optional argument specifying the version for create and delete commands" exit 1 ;; -esac \ No newline at end of file +esac diff --git a/beamercolorthemenumpex.sty b/beamercolorthemenumpex.sty index 00ca2a1..2cb34ea 100644 --- a/beamercolorthemenumpex.sty +++ b/beamercolorthemenumpex.sty @@ -35,6 +35,7 @@ \definecolor{gray30}{rgb}{0.3,0.3,0.3} \definecolor{gray60}{rgb}{0.6,0.6,0.6} \definecolor{gray80}{rgb}{0.85,0.85,0.85} +\definecolor{AccentTeal}{HTML}{008B8B} \setbeamercolor{block body}{bg=gray80, fg=black} \setbeamercolor{block title}{bg=nblue, fg=white} @@ -62,12 +63,24 @@ \setbeamercolor{normal text}{fg=black!97} \setbeamercolor{alerted text}{fg=nred} +\setbeamercolor{alerted text}{fg=blue!70!black } \setbeamercolor{footnote}{fg=nblue!50} \setbeamercolor{footnote mark}{fg=.} \setbeamercolor{page number in head/foot}{fg=nblue} \setbeamercolor{bibliography entry title}{fg=nred} +\setbeamercolor{block body}{ bg=white, fg=black } + +%\setbeamercolor{block title}{ use=normal text, bg=AccentTeal!20, fg=black } +%\setbeamercolor{block title}{ use=normal text, bg=purple!80!black, fg=white } +% Title of example block +% dark teal +\setbeamercolor{block title example}{ bg=teal!70!black, fg=white } +% light teal +\setbeamercolor{block body example}{ bg=teal!5, fg=black } + + \if@beamer@numpex@blockbg \setbeamercolor{block title}{parent=palette primary,bg=palette primary.bg!80!fg} diff --git a/beamerfontthemenumpex.sty b/beamerfontthemenumpex.sty index dc0ee4c..f8e1340 100644 --- a/beamerfontthemenumpex.sty +++ b/beamerfontthemenumpex.sty @@ -1,40 +1,67 @@ -% Beamer mtheme -% -% Copyright 2014 Matthias Vogelgesang -% Licensed under CC-BY-SA 4.0 International. -% -% The initial template comes from the HSRM beamer theme by Benjamin Weiss, which -% you can find at https://github.com/hsrmbeamertheme/hsrmbeamertheme. -% - \ProvidesPackage{beamerfontthemenumpex} \ifxetex \RequirePackage{fontspec} \defaultfontfeatures{Mapping=tex-text} -\setsansfont[BoldFont={Marianne Bold}]{Marianne} -\newfontfamily\ExtraLight{Marianne Light} -\newfontfamily\Light{Marianne Light} -\newfontfamily\Book{Marianne} -\newfontfamily\Medium{Marianne Medium} -\newfontfamily\code{Courier} -\AtBeginEnvironment{tabular}{\setsansfont[BoldFont={Marianne}, Numbers={Monospaced}]{Marianne}} + +% Marianne fonts (for sans-serif parts) +\setsansfont[ + Path = fonts/Marianne/desktop/, + BoldFont = {Marianne-Bold.otf}, + Extension = .otf +]{Marianne-Regular.otf} + +\newfontfamily\ExtraLight[ + Path = fonts/Marianne/desktop/, + Extension = .otf +]{Marianne-Light.otf} + +\newfontfamily\Light[ + Path = fonts/Marianne/desktop/, + Extension = .otf +]{Marianne-Light.otf} + +\newfontfamily\Book[ + Path = fonts/Marianne/desktop/, + Extension = .otf +]{Marianne-Regular.otf} + +\newfontfamily\Medium[ + Path = fonts/Marianne/desktop/, + Extension = .otf +]{Marianne-Medium.otf} + +% Use RobotoMono for monospaced text (for code and \tt) +\setmonofont[ + Path = fonts/Roboto/static/, + BoldFont = {RobotoMono-Bold.ttf}, + ItalicFont = {RobotoMono-Italic.ttf}, + BoldItalicFont = {RobotoMono-BoldItalic.ttf}, + Extension = .ttf +]{RobotoMono-Regular.ttf} + +\AtBeginEnvironment{tabular}{\setsansfont[ + Path = fonts/Marianne/desktop/, + BoldFont = {Marianne-Bold.otf}, + Extension = .otf, + Numbers = {Monospaced} +]{Marianne-Regular.otf}} + \setbeamerfont{title}{family=\Book, size=\huge} \setbeamerfont{author}{family=\ExtraLight, size=\small} \setbeamerfont{date}{family=\ExtraLight, size=\small} \setbeamerfont{section title}{family=\Book, size=\huge} \setbeamerfont{block title}{family=\Book, size=\normalsize} -\setbeamerfont{block title alerted}{family=\Book,size=\normalsize} +\setbeamerfont{block title alerted}{family=\Book, size=\normalsize} \setbeamerfont{subtitle}{family=\Light, size=\fontsize{12}{14}} \setbeamerfont{frametitle}{family=\Book, size=\large} \setbeamerfont{caption}{size=\small} \setbeamerfont{caption name}{family=\Book} \setbeamerfont{description item}{family=\Book} \setbeamerfont{page number in head/foot}{size=\scriptsize} + \else \setbeamerfont{section title}{family=\tt, size=\Large} \setbeamerfont{title}{family=\tt, size=\Large} \AtBeginEnvironment{tabular}{\tt} -\fi - -% \linespread{1.15} +\fi \ No newline at end of file diff --git a/fonts/Marianne/desktop/Marianne-Bold.otf b/fonts/Marianne/desktop/Marianne-Bold.otf new file mode 100644 index 0000000..6b23c24 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-Bold.otf differ diff --git a/fonts/Marianne/desktop/Marianne-BoldItalic.otf b/fonts/Marianne/desktop/Marianne-BoldItalic.otf new file mode 100644 index 0000000..b4d7d50 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-BoldItalic.otf differ diff --git a/fonts/Marianne/desktop/Marianne-ExtraBold.otf b/fonts/Marianne/desktop/Marianne-ExtraBold.otf new file mode 100644 index 0000000..7f7a1a7 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-ExtraBold.otf differ diff --git a/fonts/Marianne/desktop/Marianne-ExtraBoldItalic.otf b/fonts/Marianne/desktop/Marianne-ExtraBoldItalic.otf new file mode 100644 index 0000000..17ec3fe Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-ExtraBoldItalic.otf differ diff --git a/fonts/Marianne/desktop/Marianne-Light.otf b/fonts/Marianne/desktop/Marianne-Light.otf new file mode 100644 index 0000000..32b0eaf Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-Light.otf differ diff --git a/fonts/Marianne/desktop/Marianne-LightItalic.otf b/fonts/Marianne/desktop/Marianne-LightItalic.otf new file mode 100644 index 0000000..901412c Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-LightItalic.otf differ diff --git a/fonts/Marianne/desktop/Marianne-Medium.otf b/fonts/Marianne/desktop/Marianne-Medium.otf new file mode 100644 index 0000000..6a28cfa Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-Medium.otf differ diff --git a/fonts/Marianne/desktop/Marianne-MediumItalic.otf b/fonts/Marianne/desktop/Marianne-MediumItalic.otf new file mode 100644 index 0000000..6e1f74d Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-MediumItalic.otf differ diff --git a/fonts/Marianne/desktop/Marianne-Regular.otf b/fonts/Marianne/desktop/Marianne-Regular.otf new file mode 100644 index 0000000..241bee9 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-Regular.otf differ diff --git a/fonts/Marianne/desktop/Marianne-RegularItalic.otf b/fonts/Marianne/desktop/Marianne-RegularItalic.otf new file mode 100644 index 0000000..6875d99 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-RegularItalic.otf differ diff --git a/fonts/Marianne/desktop/Marianne-Thin.otf b/fonts/Marianne/desktop/Marianne-Thin.otf new file mode 100644 index 0000000..3e4f595 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-Thin.otf differ diff --git a/fonts/Marianne/desktop/Marianne-ThinItalic.otf b/fonts/Marianne/desktop/Marianne-ThinItalic.otf new file mode 100644 index 0000000..1a56ff2 Binary files /dev/null and b/fonts/Marianne/desktop/Marianne-ThinItalic.otf differ diff --git a/fonts/Marianne/pdfs/Marianne 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne 11.01.46.pdf new file mode 100644 index 0000000..72944b0 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Bold 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Bold 11.01.46.pdf new file mode 100644 index 0000000..2be7d22 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Bold 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Bold Italic 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Bold Italic 11.01.46.pdf new file mode 100644 index 0000000..04285b5 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Bold Italic 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne ExtraBold 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne ExtraBold 11.01.46.pdf new file mode 100644 index 0000000..7090c3b Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne ExtraBold 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne ExtraBold Italic 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne ExtraBold Italic 11.01.46.pdf new file mode 100644 index 0000000..10ec68b Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne ExtraBold Italic 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Italic 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Italic 11.01.46.pdf new file mode 100644 index 0000000..663cc3f Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Italic 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Light 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Light 11.01.46.pdf new file mode 100644 index 0000000..f7b03a6 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Light 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Light Italic 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Light Italic 11.01.46.pdf new file mode 100644 index 0000000..99e5e96 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Light Italic 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Medium 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Medium 11.01.46.pdf new file mode 100644 index 0000000..a121be2 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Medium 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Medium Italic 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Medium Italic 11.01.46.pdf new file mode 100644 index 0000000..e7732a3 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Medium Italic 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Thin 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Thin 11.01.46.pdf new file mode 100644 index 0000000..f2c7ded Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Thin 11.01.46.pdf differ diff --git a/fonts/Marianne/pdfs/Marianne Thin Italic 11.01.46.pdf b/fonts/Marianne/pdfs/Marianne Thin Italic 11.01.46.pdf new file mode 100644 index 0000000..09476e5 Binary files /dev/null and b/fonts/Marianne/pdfs/Marianne Thin Italic 11.01.46.pdf differ diff --git a/fonts/Roboto/LICENSE.txt b/fonts/Roboto/LICENSE.txt new file mode 100644 index 0000000..75b5248 --- /dev/null +++ b/fonts/Roboto/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/fonts/Roboto/README.txt b/fonts/Roboto/README.txt new file mode 100644 index 0000000..de63274 --- /dev/null +++ b/fonts/Roboto/README.txt @@ -0,0 +1,77 @@ +Roboto Mono Variable Font +========================= + +This download contains Roboto Mono as both variable fonts and static fonts. + +Roboto Mono is a variable font with this axis: + wght + +This means all the styles are contained in these files: + RobotoMono-VariableFont_wght.ttf + RobotoMono-Italic-VariableFont_wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Roboto Mono: + static/RobotoMono-Thin.ttf + static/RobotoMono-ExtraLight.ttf + static/RobotoMono-Light.ttf + static/RobotoMono-Regular.ttf + static/RobotoMono-Medium.ttf + static/RobotoMono-SemiBold.ttf + static/RobotoMono-Bold.ttf + static/RobotoMono-ThinItalic.ttf + static/RobotoMono-ExtraLightItalic.ttf + static/RobotoMono-LightItalic.ttf + static/RobotoMono-Italic.ttf + static/RobotoMono-MediumItalic.ttf + static/RobotoMono-SemiBoldItalic.ttf + static/RobotoMono-BoldItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (LICENSE.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/fonts/Roboto/RobotoMono-Italic-VariableFont_wght.ttf b/fonts/Roboto/RobotoMono-Italic-VariableFont_wght.ttf new file mode 100644 index 0000000..1a4d694 Binary files /dev/null and b/fonts/Roboto/RobotoMono-Italic-VariableFont_wght.ttf differ diff --git a/fonts/Roboto/RobotoMono-VariableFont_wght.ttf b/fonts/Roboto/RobotoMono-VariableFont_wght.ttf new file mode 100644 index 0000000..fc02de4 Binary files /dev/null and b/fonts/Roboto/RobotoMono-VariableFont_wght.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-Bold.ttf b/fonts/Roboto/static/RobotoMono-Bold.ttf new file mode 100644 index 0000000..d884128 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-Bold.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-BoldItalic.ttf b/fonts/Roboto/static/RobotoMono-BoldItalic.ttf new file mode 100644 index 0000000..e9c4802 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-BoldItalic.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-ExtraLight.ttf b/fonts/Roboto/static/RobotoMono-ExtraLight.ttf new file mode 100644 index 0000000..9ff7ac6 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-ExtraLight.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-ExtraLightItalic.ttf b/fonts/Roboto/static/RobotoMono-ExtraLightItalic.ttf new file mode 100644 index 0000000..9e962d4 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-ExtraLightItalic.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-Italic.ttf b/fonts/Roboto/static/RobotoMono-Italic.ttf new file mode 100644 index 0000000..61e5303 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-Italic.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-Light.ttf b/fonts/Roboto/static/RobotoMono-Light.ttf new file mode 100644 index 0000000..4893662 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-Light.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-LightItalic.ttf b/fonts/Roboto/static/RobotoMono-LightItalic.ttf new file mode 100644 index 0000000..39b7250 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-LightItalic.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-Medium.ttf b/fonts/Roboto/static/RobotoMono-Medium.ttf new file mode 100644 index 0000000..f6c149a Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-Medium.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-MediumItalic.ttf b/fonts/Roboto/static/RobotoMono-MediumItalic.ttf new file mode 100644 index 0000000..70a1a75 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-MediumItalic.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-Regular.ttf b/fonts/Roboto/static/RobotoMono-Regular.ttf new file mode 100644 index 0000000..6df2b25 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-Regular.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-SemiBold.ttf b/fonts/Roboto/static/RobotoMono-SemiBold.ttf new file mode 100644 index 0000000..82ddc82 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-SemiBold.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-SemiBoldItalic.ttf b/fonts/Roboto/static/RobotoMono-SemiBoldItalic.ttf new file mode 100644 index 0000000..15b0846 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-SemiBoldItalic.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-Thin.ttf b/fonts/Roboto/static/RobotoMono-Thin.ttf new file mode 100644 index 0000000..aeb997b Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-Thin.ttf differ diff --git a/fonts/Roboto/static/RobotoMono-ThinItalic.ttf b/fonts/Roboto/static/RobotoMono-ThinItalic.ttf new file mode 100644 index 0000000..ab99e08 Binary files /dev/null and b/fonts/Roboto/static/RobotoMono-ThinItalic.ttf differ diff --git a/images/NumPEx_1.pdf b/images/NumPEx_1.pdf new file mode 100644 index 0000000..9224b87 Binary files /dev/null and b/images/NumPEx_1.pdf differ diff --git a/images/NumPEx_1.svg b/images/NumPEx_1.svg new file mode 100644 index 0000000..8597519 --- /dev/null +++ b/images/NumPEx_1.svg @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/NumPEx_2.pdf b/images/NumPEx_2.pdf new file mode 100644 index 0000000..15e00e1 Binary files /dev/null and b/images/NumPEx_2.pdf differ diff --git a/images/NumPEx_2.svg b/images/NumPEx_2.svg new file mode 100644 index 0000000..e3da577 --- /dev/null +++ b/images/NumPEx_2.svg @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/NumPEx_3.pdf b/images/NumPEx_3.pdf new file mode 100644 index 0000000..201cdbb Binary files /dev/null and b/images/NumPEx_3.pdf differ diff --git a/images/NumPEx_3.svg b/images/NumPEx_3.svg new file mode 100644 index 0000000..5537f39 --- /dev/null +++ b/images/NumPEx_3.svg @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/NumPEx_4.pdf b/images/NumPEx_4.pdf new file mode 100644 index 0000000..bad5250 Binary files /dev/null and b/images/NumPEx_4.pdf differ diff --git a/images/NumPEx_4.svg b/images/NumPEx_4.svg new file mode 100644 index 0000000..aa635d5 --- /dev/null +++ b/images/NumPEx_4.svg @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/poster.template.tex b/poster.template.tex new file mode 100644 index 0000000..cd50fdc --- /dev/null +++ b/poster.template.tex @@ -0,0 +1,286 @@ +\documentclass[final]{beamer} +\usepackage[size=a0,scale=1.4]{beamerposter} +\usetheme{numpex} +\usepackage{tikz} +\usepackage{graphicx} +\usepackage{xcolor} +\usepackage{pgfplots} +\usepackage{booktabs} +\usepackage{url} +\usepackage{listings} +\lstset{ + basicstyle=\ttfamily\scriptsize, % Set the font and size for code listings + breaklines=true, % Automatically break lines + breakatwhitespace=true, % Break lines at whitespace + numbers=left, % Add line numbers on the left + numberstyle=\tiny, % Set the style for line numbers + frame=single, % Add a frame around the code + showspaces=false, % Do not show spaces + showstringspaces=false, % Do not show spaces in strings + showtabs=false, % Do not show tabs + tabsize=2 % Set the tab size +} + + +% 1) Set a poster background +\setbeamertemplate{background}{ + \begin{tikzpicture}[remember picture,overlay] + \node at (current page.center) {\includegraphics[height=\paperheight, keepaspectratio=false]{images/NumPEx_1.pdf}}; + \end{tikzpicture} +} + + +% 2) Override block colors for a white background +\setbeamercolor{block title}{bg=white, fg=blue!60!black} +\setbeamercolor{block body}{bg=white, fg=black} + +% 3) Headline with a larger white rectangle (5cm high) and updated logos (3cm high) +\setbeamertemplate{headline}{ + \begin{tikzpicture}[remember picture,overlay] + % White headline background (5cm tall) + \fill[white] (current page.north west) rectangle ([yshift=-5cm] current page.north east); + + % Left logos + \node[anchor=north west, inner sep=0.5cm] at (current page.north west) + {% + \includegraphics[height=3cm]{images/rf.png}\hspace{0.3cm}% + \includegraphics[height=3cm]{images/f2030.png}% + }; + + % Right logos + \node[anchor=north east, inner sep=0.5cm] at (current page.north east) + {% + \includegraphics[height=3cm]{images/cea.png}\hspace{0.3cm}% + \includegraphics[height=3cm]{images/inria.png}\hspace{0.3cm}% + \includegraphics[height=3cm]{images/cnrs.png}% + }; + + % Title (centered in the white area) + \node[anchor=south, yshift=0.5cm] at ([yshift=-5cm] current page.north) + {\parbox{\paperwidth}{\centering + {\usebeamerfont{title}\color{black}\inserttitle\par\vspace{0.3cm} + {\usebeamerfont{author}\color{black}\insertauthor\par}} + }}; + \end{tikzpicture} +} + +% 4) Footline: a white rectangle (2cm tall) with logos and centered text +\setbeamertemplate{footline}{ + \begin{tikzpicture}[remember picture,overlay] + % White footline background (2cm tall) + \fill[white] (current page.south west) rectangle ([yshift=2cm] current page.south east); + + % Left logos in footline (scaled to 1.5cm height) + \node[anchor=south west, inner sep=0.5cm] at (current page.south west) + {% + \includegraphics[height=1.5cm]{images/rf.png}\hspace{0.2cm}% + \includegraphics[height=1.5cm]{images/f2030.png}% + }; + + % Right logos in footline (scaled to 1.5cm height) + \node[anchor=south east, inner sep=0.5cm] at (current page.south east) + {% + \includegraphics[height=1.5cm]{images/cea.png}\hspace{0.2cm}% + \includegraphics[height=1.5cm]{images/inria.png}\hspace{0.2cm}% + \includegraphics[height=1.5cm]{images/cnrs.png}% + }; + + % Centered footline text (e.g. institute and date) + \node[anchor=south] at ([yshift=0.5cm] current page.south) + {\parbox{\paperwidth}{\centering + {\usebeamerfont{footline}\usebeamercolor[fg]{footline}\insertinstitute \quad \insertdate}}}; + \end{tikzpicture} +} +\setbeamercolor{block title}{ use=normal text, bg=purple!15!white, fg=black } +\setbeamertemplate{block begin}{ + \begin{beamercolorbox}[wd=\linewidth,sep=5pt,shadow=true,rounded=true]{block title}% + \usebeamerfont{block title}\insertblocktitle + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=\linewidth,sep=5pt,rounded=true]{block body}% + \usebeamerfont{block body}% +} +\setbeamertemplate{block end}{ + \end{beamercolorbox} +} + + +\title{A Poster Beamer Theme for NumPEx} +\author{Alfredo Buttari, Christophe Prud'homme} +\institute{Institute or Miscellaneous Information} +\date{\today} + +\begin{document} + +\begin{frame}[t,fragile]{} + % Leave space for the headline (5cm tall) + \vspace*{5cm} + \begin{center} + % Use a centered minipage 90% of the poster width + \begin{minipage}{0.9\paperwidth} + \begin{columns}[t,totalwidth=\textwidth] + + % Column 1 + \column{0.32\textwidth} + \begin{block}{Theme Overview} + The NumPEx theme is a Beamer theme with minimal visual noise inspired by the HSRM theme. It emphasizes a clean design with elegant typography (using the Marianne font, so XeTeX is required). + \vspace{0.3cm} + \textbf{Enable the theme by loading:} + \begin{verbatim} +\usetheme{numpex} + \end{verbatim} + \vspace{0.3cm} + See the French state graphic guidelines: + \begin{center} + \alert{\href{https://www.info.gouv.fr/marque-de-letat}{Charte graphique de l'Etat Français}} + \end{center} + \end{block} + + \vspace{0.5cm} + + \begin{block}{Sections \& Typography} + Sections group slides on the same topic. For example: + \begin{verbatim} +\section{Elements} + \end{verbatim} + The theme provides sensible defaults for: + \begin{itemize} + \item \emph{Emphasis} on key text. + \item \alert{Accents} on important parts. + \item \textbf{Bold} for results. + \end{itemize} + \end{block} + + % Column 2 + \column{0.32\textwidth} + \begin{block}{Lists, Descriptions \& Animation} + \textbf{Lists:} + \begin{itemize} + \item Milk, Eggs, Potatoes. + \end{itemize} + \textbf{Enumerations:} + \begin{enumerate} + \item First, \item Second, \item Last. + \end{enumerate} + \textbf{Descriptions:} + \begin{description} + \item[PowerPoint] Meeh. + \item[Beamer] Yeeeha. + \end{description} + \textbf{Animation:} + \begin{itemize} + \item \alert{This is really important.} + \item Now this. + \item And now this. + \end{itemize} + \end{block} + + \vspace{0.5cm} + + \begin{block}{Tables} + \begin{table} + \caption{Largest cities in the world (source: Wikipedia)} + \begin{tabular}{lr} + \toprule + City & Population\\ + \midrule + Mexico City & 20,116,842\\ + Shanghai & 19,210,000\\ + Peking & 15,796,450\\ + Istanbul & 14,160,467\\ + \bottomrule + \end{tabular} + \end{table} + \end{block} + + % Column 3 + \column{0.32\textwidth} + \begin{block}{Blocks \& Math} + \begin{block}{Simple Block} + Hello + \end{block} + + \vspace{0.3cm} + \textbf{Mathematics:} + \[ + e = \lim_{n\to \infty} {\left(1 + \frac{1}{n}\right)}^n + \] + \end{block} + \vspace{0.5cm} + \begin{exampleblock}{Example Block} + Hello + \end{exampleblock} + + \vspace{0.5cm} + \begin{block}{Line Plots \& Bar Charts} + \textbf{Line Plot:} + \begin{center} + \begin{tikzpicture}[domain=0:4, scale=1.5, every node/.style={scale=0.7}] + \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9); + \draw[->] (-0.2,0) -- (4.2,0) node[right, font=\scriptsize] {$x$}; + \draw[->] (0,-1.2) -- (0,4.2) node[above, font=\scriptsize] {$f(x)$}; + \draw[color=red] plot (\x,\x) node[right, font=\scriptsize] {$f(x)=x$}; + \draw[color=blue] plot (\x,{sin(\x r)}) node[right, font=\scriptsize] {$f(x)=\sin x$}; + \draw[color=orange] plot (\x,{0.05*exp(\x)}) node[right, font=\scriptsize] {$f(x)=\frac{1}{20}e^x$}; + \end{tikzpicture} + \end{center} + \vspace{0.3cm} + \textbf{Bar Chart:} + \begin{center} + \begin{tikzpicture}[scale=1.5, every node/.style={scale=0.8}] + \begin{axis}[ + x tick label style={/pgf/number format/1000 sep=}, + ylabel={\scriptsize Population}, + enlargelimits=0.15, + legend style={at={(0.5,-0.15)},anchor=north,legend columns=-1, font=\scriptsize}, + ybar, + bar width=5pt, + tick label style={font=\scriptsize}, + label style={font=\scriptsize}, + ] + \addplot [color=red, fill=red!30] coordinates {(1930,50e6) (1940,33e6) (1950,40e6) (1960,50e6) (1970,70e6)}; + \addplot [color=blue, fill=blue!30] coordinates {(1930,38e6) (1940,42e6) (1950,43e6) (1960,45e6) (1970,65e6)}; + \addplot [color=green, fill=green!30] coordinates {(1930,15e6) (1940,12e6) (1950,13e6) (1960,25e6) (1970,35e6)}; + \addplot[red,sharp plot,update limits=false] coordinates {(1910,4.3e7) (1990,4.3e7)} + node[above, font=\scriptsize] at (axis cs:1950,4.3e7) {Houses}; + \legend{{\scriptsize Far},{\scriptsize Near},{\scriptsize Here},{\scriptsize Annot}} + \end{axis} + \end{tikzpicture} + \end{center} + + \end{block} + + \vspace{0.5cm} + + \begin{exampleblock}{Code Example} + \begin{lstlisting}[basicstyle=\tt\scriptsize, showlines=true] + program pippo + integer, parameter :: m=10, n=5 + real(kind(1.d0)), allocatable :: a(:,:) + allocate(a(m,n)) + call random_number(a) + call do_something(a) + write(*,'("Hello world")') + stop + end program pippo + \end{lstlisting} + \end{exampleblock} + + \begin{block}{Conclusion} + Get the source of this theme and the demo presentation from: + \begin{center}\small + \url{https://github.com/numpex/presentation.template/} + \end{center} + \end{block} + + \end{columns} + \end{minipage} + \end{center} +\end{frame} + +\end{document} +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% TeX-engine: xetex +%%% TeX-command-extra-options: "--synctex=1" +%%% End: diff --git a/presentation.template.tex b/presentation.template.tex index 746a90a..4f08a56 100644 --- a/presentation.template.tex +++ b/presentation.template.tex @@ -130,7 +130,7 @@ \section{Elements} \end{frame} \begin{frame}{Math} \begin{equation*} - e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n + e = \lim_{n\to \infty} {\left(1 + \frac{1}{n}\right)}^n \end{equation*} \end{frame}