2

I try to understand the actual page layout - but like to have it in mm units. I use layouts but get the sizes in pt. There is a command \printinunitsof{mm} but I do not understand how to use it. In my example code, it does not have an effect. Where does it belong?

\documentclass[msmallroyalvopaper
    ]{memoir}

\usepackage{layouts}

\begin{document}

\printinunitsof{mm}
\begin{figure}
    \currentpage
    \oddpagelayouttrue
    \pagedesign
    \caption{Odd page layout for this document} \label{fig:ptrs}
\end{figure}

\include{intro}

\end{document}
  • The unit pt is hardcoded in the definition of \pagedesign. – egreg Jun 11 '18 at 21:52
  • @egreg any reason as to why that is so? – naphaneal Jun 11 '18 at 22:35
  • You must use also commands like \prntlen{\headsep} to have these lengths printed in mm, or use this macro but obviously as an add, without modifying the \pagedesign output. – Fran Jun 11 '18 at 23:17
  • @naphaneal The author decided to round the shown lengths to an integer number of points. Respecting the setting of \printinunitsof would require extensive rewriting. – egreg Jun 12 '18 at 8:26
  • Using the pgf package, I tried with paperwidth \prntlen{\the\paperwidth}\` in the definition from <https://tex.stackexchange.com/questions/54694/page-geometry-discrepancies> but get completely unreasonable output paperwidth .86299pt0.35146mm` for a 444pt. What am I not understanding? – user855443 Jun 12 '18 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.