View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Thu Apr 24, 2008 5:34 am Post subject: Texlive -->> Question and Answer |
|
|
This is a continuation of our discussion from thread:
https://forums.gentoo.org/viewtopic-t-689221.html
I think it is better (safer) to move this topic here.
The sample you gave is very good: Code: | \documentclass{article}
\usepackage{layouts}
\begin{document}
\pagediagram
\end{document} |
the only thing I didn't like is the dimension distance in "pt" which doesn't have much meaning. So I was looking through various tutorials and they are hard to read and not intuitive so I found few examples and start experimenting.
by adding to preamble:
\printinunitsof{mm}
and below begin document:
\pagediagram{\drawparameterstrue\drawpage}
\pagevalues
Code: | \documentclass[a4paper,12pt]{article}
\usepackage{geometry}
\usepackage{layouts}
\printinunitsof{mm}
\begin{document}
\pagediagram{\drawparameterstrue\drawpage}
\pagevalues
\large
a buncha
stuff
\begin{equation}
\sqrt{\pi}
\end{equation}
\end{document} | This converted the dimensions from "pt" to "mm" as it is easier to work with "mm" and a caliper. I was checking the distance accuracy and it is very good.
The reason I need the dimensions is that if I work with a form I usually take a ruler or caliper and measure the distance I need to move the text. I will start working on my check this week and for sure I'll have plenty of questions. |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Thu Apr 24, 2008 6:01 am Post subject: |
|
|
That's cool. I hadn't yet figured out how to get layouts to print the actual dimensions. The code you gave above caused two page diagrams to be be drawn. I removed the \drawpage and now just one diagram appears: Code: | \pagediagram{\drawparameterstrue} |
I also use a ruler for for moving things around. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|