I somehow have the feeling this is a dumb question, but I just can't find anything :-(
How can I determine the actual values of the inner and outer margins of my document, or still better: the right and left margins of the current page?
Background is that I'm working on a package to manage music examples, and one of the kinds these come are multi-page pdf files. Additional to other methods I would like to add an option to automatically offset the included pdf pages depending on being on an odd or even page.
For this I would like to read out the margins of the current page.