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}
8
  • The unit pt is hardcoded in the definition of \pagedesign.
    – egreg
    Commented Jun 11, 2018 at 21:52
  • @egreg any reason as to why that is so?
    – naphaneal
    Commented Jun 11, 2018 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
    Commented Jun 11, 2018 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
    Commented Jun 12, 2018 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
    Commented Jun 12, 2018 at 20:18

0

You must log in to answer this question.

Browse other questions tagged .