beamer add tag
Philippp (imported from SE)
I am writing my own latex beamer style. I want to use different background graphics depending on the aspect ratio chosen in the documentclass in the main file, like
`\documentclass[12pt, aspectratio=169]{beamer}`

So how can I access the value of aspectratio in my .sty file?
Top Answer
samcarter (imported from SE)
One way could be to use the `\ifdimcomp{⟨dimen expression⟩}{⟨relation⟩}{⟨dimen expression⟩}{⟨true⟩}{⟨false⟩}` macro to test for different paperwidths (and height in case of `169` and `1610`):

    %	aspectratio=43

This room is for discussion about this question.

Once logged in you can direct comments to any contributor here.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.