Skip to content

Commit

Permalink
Add beamertheme-metropolis and its dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kernald committed Oct 22, 2022
1 parent ced6b36 commit 9a75173
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,20 @@ latex_package(
],
)

latex_package(
name = "beamertheme-metropolis",
srcs = [
":beamer",
":fontspec",
":grfext",
":pgfopts",
"@texlive_texmf__texmf-dist__tex__latex__beamertheme-metropolis",
],
tests = [
"beamertheme-metropolis_test.tex",
],
)

# Package is tested in example PDF
latex_package(
name = "biblatex",
Expand Down Expand Up @@ -526,6 +540,15 @@ latex_package(
tests = ["graphicx_test.tex"],
)

latex_package(
name = "grfext",
srcs = [
":kvdefinekeys",
"@texlive_texmf__texmf-dist__tex__latex__grfext",
],
tests = ["grfext_test.tex"],
)

latex_package(
name = "hanging",
srcs = ["@texlive_texmf__texmf-dist__tex__latex__hanging"],
Expand Down Expand Up @@ -653,6 +676,12 @@ latex_package(
tests = ["koma_script_test.tex"],
)

latex_package(
name = "kvdefinekeys",
srcs = ["@texlive_texmf__texmf-dist__tex__generic__kvdefinekeys"],
tests = ["kvdefinekeys_test.tex"],
)

latex_package(
name = "kvoptions",
srcs = [":graphics_oberdiek"],
Expand Down
17 changes: 17 additions & 0 deletions packages/beamertheme-metropolis_test.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
\documentclass{beamer}
\usetheme{metropolis}
\title{Metropolis}
\author{Foo Bar}
\date{October 23, 2022}

\begin{document}
\maketitle
\begin{frame}
\frametitle{First Slide}
Contents of the first slide
\end{frame}
\begin{frame}
\frametitle{Second Slide}
Contents of the second slide
\end{frame}
\end{document}
6 changes: 6 additions & 0 deletions packages/grfext_test.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
\documentclass{report}
\usepackage{grfext}
\begin{document}
This outputs to the logs.
\PrintGraphicsExtensions
\end{document}
8 changes: 8 additions & 0 deletions packages/kvdefinekeys_test.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\documentclass{report}
\usepackage{kvdefinekeys}
\begin{document}
\makeatletter
\kv@define@key{Foo}{Bar}{}
\makeatother
This doesn't output anything.
\end{document}

0 comments on commit 9a75173

Please sign in to comment.