LyX ⇒ View Page Dimensions
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
View Page Dimensions
The page layout makes it easy to specify the dimensions of the page, but how do I know what the default margins are?
I want to add pictures that maintain their aspect ratio based on how wide the page is from margin to margin. On a 6in×9in page it looks like 4.5in is the maximum width of a picture before it goes into the margins. But, how can I be sure?
Is there a better way (better unit of measurement) to measure margins and the width of pictures?
I want to add pictures that maintain their aspect ratio based on how wide the page is from margin to margin. On a 6in×9in page it looks like 4.5in is the maximum width of a picture before it goes into the margins. But, how can I be sure?
Is there a better way (better unit of measurement) to measure margins and the width of pictures?
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
View Page Dimensions
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: View Page Dimensions
Does that package also give me the pixel measurements of the page, so that I know how to crop and resize my images to fit them perfectly within the margins?
(My JPEGs are only measured in pixels when I view their properties)
(My JPEGs are only measured in pixels when I view their properties)
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
View Page Dimensions
No. The primary unit in TeX is
pt
(postscript point). The relation between postscript point and pixel is 0.75 (or 1.333 respectively).How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: View Page Dimensions
Uggh - That's too much math!
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
View Page Dimensions
I loaded the layout package in the Latex preamble, but I still don't see how I'm supposed to view all the dimensions of the margins, page, etc.
So then I took a look at this from the link you provided:
"The package defines a command
I also entered
So then I took a look at this from the link you provided:
"The package defines a command
\layout
, which will show a summary of the layout of the current document. "I also entered
\layout
in the preamble, then in the text, then in both, and every time it gave me an error.
Last edited by cgnieder on Mon Sep 10, 2012 11:42 pm, edited 1 time in total.
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
View Page Dimensions
It would be good if you would tell us the error message, each time you get an error. Otherwise it's hard to guess.insipidtoast wrote:and every time it gave me an error.
Stefan
LaTeX.org admin
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: View Page Dimensions
Oh I guess I just left out a space between the ERT and the next word in my document.
It just doesn't work to enter \layout in the preamble
Don't worry about it though.
Thanks for your help
It just doesn't work to enter \layout in the preamble
Don't worry about it though.
Thanks for your help
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class