[texhax] Textwidth question

Robert E. Harvey, M.D. rharvey at cox-internet.com
Mon Jun 2 22:23:08 CEST 2003


I'm having some problems with the syntax of   
\setlength{\texdtwidth}{lengthcm} as documented in "A Guide to Latex", 
third edition by Kopka and Daly.

If I enter
\documentclass[12pt]{book}
\begin{document}
\noindent
\hoffset=-.5in
\large
\setlength\textwidth=+18cm

I get this error on compiling:

This is TeX, Version 3.14159 (Web2C 7.3.1)
(bomlesson1.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, 
ngerman, i
talian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/book.cls
Document Class: book 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/bk12.clo)) (bomlesson1.aux)
! Missing number, treated as zero.
<to be read again>
                   \relax
l.6 \setlength\textwidth=
                         +18cm
?
If I



More information about the texhax mailing list