/* * Academic Marp (acarp) Theme - Beamer Variant * Version: 1.0.0 * License: MIT * Repository: https://git.samsci.com/cgit.cgi/acarp-marp-theme/ * * Beamer-style 4:3 aspect ratio variant of the Academic Marp theme. * Import base theme and override dimensions for classic LaTeX Beamer-style presentations. */ /* @theme acarp-beamer */ /* Academic Marp (acarp) - Beamer Theme (4:3 aspect ratio) Overrides acarp.css with 4:3 dimensions for classic LaTeX Beamer-style presentations. */ /* Import the base theme and override specific values */ @import 'acarp.css'; /* Override slide dimensions for 4:3 aspect ratio */ :root { --slide-width: 1280px !important; --slide-height: 960px !important; --padding: 80px !important; } /* Force 4:3 dimensions on all sections */ section { width: 1280px !important; height: 960px !important; } /* Increase font size proportionally for taller slides */ section { font-size: 37px !important; } /* Adjust code blocks for 4:3 aspect ratio */ pre { font-size: 55% !important; } pre > code { min-width: 280px !important; } /* Adjust 2-column layout for 4:3 format */ section.layout-2col > h1:first-child, section.layout-2col > h2:first-child, section.layout-2col > h3:first-child { padding: 40px 80px 0 80px !important; } section.layout-2col .left-column { padding: 0 1em 0 80px !important; } section.layout-2col .right-column { padding: 0 150px 0 1em !important; } section.layout-2col::after { bottom: 40px !important; right: 80px !important; } /* Larger pagination for beamer theme */ section::after { font-size: 24px !important; } /* Ensure 2col layouts also use larger pagination */ section.layout-2col::after { font-size: 24px !important; }