diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6739d4b3e85d3e9d36e08d72601c56eed8ed3b6d..9d1ef754a8046f387437801607c56f3dc93ac648 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,7 +74,7 @@ stages:
     - apt install -y xvfb # Virtual framebuffer for GL stuff.
     - apt install -y inkscape pdftk
     - apt install -y latexmk  poppler-utils # latexmk and pdftocairo
-    - apt install -y texlive-latex-recommended texlive-latex-extra
+    - apt install -y texlive-latex-recommended texlive-latex-extra texlive-science
     - pip install -U Pillow
     - pip install -e ./
     - cd tests
@@ -114,6 +114,7 @@ pages:
     - apt install -y git
     - apt install -y inkscape pdftk # pdftk to grap pdf pages (only for converter; can probably be omitted).
     - apt install -y latexmk  poppler-utils # latexmk and pdftocairo
+    - apt install -y texlive-latex-recommended texlive-latex-extra texlive-science
     - pip install -U Pillow
     - pip install -e ./
     - apt install -y python-opengl xvfb # Virtual framebuffer for GL stuff.