LyX ⇒ View Page Dimensions
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
View Page Dimensions
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'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.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
View Page Dimensions
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
(My JPEGs are only measured in pixels when I view their properties)
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
pt
(postscript point). The relation between postscript point and pixel is 0.75 (or 1.333 respectively).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
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
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.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: 10335
- 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
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: View Page Dimensions
It just doesn't work to enter \layout in the preamble
Don't worry about it though.
Thanks for your help
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class