[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] First preview image is of full page size
From: |
Andreas Matthias |
Subject: |
Re: [AUCTeX] First preview image is of full page size |
Date: |
Mon, 31 Aug 2015 17:35:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Joost Kremers wrote:
> As a workaround, though, I'll just use the book class as long as I'm
> writing and change it to scrbook when I do the final compilation and
> layout.
Another workaround:
\documentclass[pagesize=no]{scrbook}
Using the showbox option of preview.sty yields:
With pdftex:
\vbox(24.27454+0.0)x270.17181
.\vbox(24.27454+0.0)x270.17181
..\glue(\splittopskip) 0.0
..\hbox(15.0119+9.26263)x122.08807, shifted 148.08374, display
With xetex:
\vbox(24.27454+0.0)x270.17181
.\special{papersize=597.50793pt,845.04694pt}
.\vbox(24.27454+0.0)x270.17181
..\glue(\splittopskip) 0.0
..\hbox(15.0119+9.26263)x122.08807, shifted 148.08374, display
And [pagesize=no] omits this \special.
Ciao
Andreas