Re: using all of a specified page w/ geometry



William F. Adams <willadams@xxxxxxx> wrote:

I'm trying the following:

\documentclass[pdftex]{minimal}
\usepackage{graphicx}

\usepackage[paperwidth=4in,paperheight=5in,tmargin=0in,bmargin=0in,%
rmargin=0in,lmargin=0in,marginparwidth=0in,nohead,nofoot,%
nomarginpar,includeall,bindingoffset=0in]{geometry}
\begin{document}
\noindent\vbox{%
\vskip0bp%vertical shift
\hskip0bp%horizontal shift
\fbox{\vbox to 5in{\hbox to 4in {X}}}
}
\end{document}

but the box begins at ~19.925bp from the left edge --- I could stick in
a manual \hskip-19.925bp fudge factor, but would prefer to understand
why the above doesn't fill a page and what would be the correct way to
make it do so.

Well, 19.925bp is just 20pt, which is the normal \parindent inserted
by \hskip, which starts a paragraph. Remember that also \fbox starts a
paragraph.

If you want to move a box in vertical mode there is \moveright.

Ciao
Enrico
.



Relevant Pages

  • Re: using all of a specified page w/ geometry
    ... William F. Adams wrote: ... by \hskip, which starts a paragraph. ... Conversely, \hbox does not start horizontal mode, which is why you don't ...
    (comp.text.tex)
  • Re: Technical question re: dialog
    ... As we've now denied his pleasant request three times, he'll be composing less pleasant requests, which are often misunderstood by little Sergeants like me --" and here his voice did break in a growl "-- and mislabeled as threats. ... High Court to the previous paragraph (which seems awkward, ... shift of topic but not speaker. ...
    (rec.arts.sf.written)
  • Re: So Simple, Yet...
    ... >> Actually shift enter does not create a paragraph. ... Why, when I hit the ENTER key, is ... >>>> can easily change this with CSS - ...
    (microsoft.public.frontpage.client)
  • Re: So Simple, Yet...
    ... Shift + Enter produces a line break and enter by itself inserts a paragraph break. ... >> J-Bots 2004 Released Special Pricing ... >>> can easily change this with CSS - ...
    (microsoft.public.frontpage.client)
  • Re: MS Word - Soft Returns
    ... by using Shift + Enter as 'tj' noted. ... to treat the text as a single paragraph. ... - When a paragraph is formatted with Justify alignment and you want ... from Dian Chapman, Word MVP, and use nonbreaking spaces to control ...
    (microsoft.public.word.docmanagement)