I started to create a custom theme for beamer slides, and I want to change the default aspect ratio for this theme. Of course I can use \documentclass[aspectratio=169]{beamer} in every document, but I'd like to keep everything in *.sty files. In beamer.cls I found definitions of \beamer@paperwidth and \beamer@paperheight, but setting these lengths in bemerthemeMYTHEME.sty as follows has no effect on the result.
\mode<presentation>
\setlength\beamer@paperwidth{16.00cm}
\setlength\beamer@paperheight{10.00cm}
What would be a proper way to change the default aspect ratio in *.sty? Shell I use beamerouterthemeMYTHEME.sty or bemerthemeMYTHEME.sty for this?
beamermore than a theme. – Joseph Wright May 03 '13 at 10:06\documentclass{...}. – jub0bs May 03 '13 at 10:10\documentclass. Could you please elaborate a bit more on the "concepts"? For me it is just changing the defaults, you can do it with margins, why not with paper size? – zeliboba May 03 '13 at 10:15aspectratio=169). You could probably adjust those settings after\documentclass{...}but you would probably have to rerun a lot of lines from the class file in order to get the desired result. I had a similar problem a while back: I wanted the output to look just as if I had loaded thesmallerbeamer class option while keeping all my tweaks in my .sty file. It turned out to be unwieldy and I ended up simply passingsmalleras an option to the class:\documentclass[smaller]{beamer}. – jub0bs May 03 '13 at 10:28\documentclass{...}command; 2) as Joseph Wright suggested, modify thebeamerclass file to create your own, which would set the aspect ratio to a different value by default. – jub0bs May 03 '13 at 10:38beamer, just create a small wrapper class that loadsbeamerwith the required options. – Joseph Wright May 03 '13 at 10:52