X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["3362" "Mon" "14" "December" "1998" "11:41:00" "+0100" "Thierry Bouche" "Thierry.Bouche@UJF-GRENOBLE.FR" nil "82" "Layout parameters in LaTeX" "^Date:" nil nil "12" nil "Layout parameters in LaTeX" nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.8/8.8.8) with ESMTP id LAA06693; Mon, 14 Dec 1998 11:34:28 +0100 (MET) Received: from lsv1.listserv.gmd.de (192.88.97.2) by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <11.29ADCCFC@listserv.gmd.de>; Mon, 14 Dec 1998 11:34:24 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 412685 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Mon, 14 Dec 1998 11:34:19 +0100 Received: from ujf.ujf-grenoble.fr (ujf.ujf-grenoble.fr [193.54.232.33]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id LAA03193 for ; Mon, 14 Dec 1998 11:34:16 +0100 (MET) Received: from mozart.ujf-grenoble.fr (mozart.ujf-grenoble.fr [193.54.241.5]) by ujf.ujf-grenoble.fr (8.8.5/8.8.5) with ESMTP id LAA13947 for ; Mon, 14 Dec 1998 11:34:14 +0100 (MET) Received: (from bouche@localhost) by mozart.ujf-grenoble.fr (8.7.6/8.6.9) id LAA13591; Mon, 14 Dec 1998 11:41:00 +0100 (MET) X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Message-ID: <199812141041.LAA13591@mozart.ujf-grenoble.fr> Reply-To: Mailing list for the LaTeX3 project Date: Mon, 14 Dec 1998 11:41:00 +0100 From: Thierry Bouche Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Layout parameters in LaTeX Status: R X-Status: X-Keywords: X-UID: 3091 Hello all, [second try here after an almost unanswered posting on ctt] I'm still trying to find the graal of good typography with (la)tex. My impression is as simple as: tex is very good at horizontal things (H&J) and very bad for vertical spacing. Now, it is rather obvious that latex has been conceived as a backend of a markup system, not really as a typographical tool, hence the loose spacing/penalties everywhere. My question is about real typesetting with the constraint to beat Xpress on H&J (easy) _and_ on page layout (hard!). I'm trying to find reasonnable parameters for latex so that -- vertical skips do not stretch and shrink at will (in particular, i kill the glue in line skips (and \z@skip), i also kill it in most trivlist environments; i reduce it at parskips and pre/post section skips. -- hopefully the text lines snap to an underlying grid. -- two facing pages have the same page geometry (here i mean that i don't want ragged bottom, i'd want in fact that \enlargethispage enlarges also the facing page!). -- I want no widows at all, i'd be less definitive for orphans, but i don't like them either, hence \widowpenalty=10000 \displaywidowpenalty=8000 \predisplaypenalty=7000 -- I want a good quality and homogeneity of the page colour, hence \tolerance600 \pretolerance300 \badness=2000 \adjdemerits=10000 (but i don't really `feel' these number's effect anyway) -- i want to have two levels of text units, the lowest being called `alinea' (i make them currently with essentially \def\alinea{\newline\indent}, hence without any demerits for widow or orphans at this level... there should be some), the other being \par. This is a real problem, BTW. Because it may happen that in textual documents, one 10 pages section contains only alineas (no blank lines), and i believe that most of TeX and LaTeX is expecting rather short paragraphs (for instance, \thispagestyle{empty} mayu have very surprizing effects when the only paragraph is 10 pages long). But if i declare alineas as \par (\parskip=\z@) and code explicitly paragraphs with \par\vskip\baselineskip, then i have now awy to distinguish awful paragraph widows from (almost) harmless alinea widows. -- i don't really care about too many hyphenated lines (i prefer them to bad grey, or widows/orphans, but i'd like to prevent too many consecutive hyphenated lines, say more than 4 be prohibited, i'd also be happy with a parameter handling the ratio hyphenated/nonhyphenated text lines in a page) but i don't want to see a hyphen at an odd page break, & i'd prefer not to see one at the end of a paragraph or even page. This is thus maybe too restrictive: \brokenpenalty=10000 \finalhyphendemerits=10000 ****************************** Well, when i simply gently ask tex to do what seems the minimal requirements of quality typography by setting the parameters to \pm the values above, it appears that it can't do its job anymore, it stretchs infinitely my tiny vertical glue to find a page break, it removes up to 2 lines from a page because of widow/broken control, etc. Now, i'd like to ask you all super gurus if you came up with some usable system approaching reasonnably my typographical constraints and tex mechanisms. Thanks for reading this lengthy post, if any reader comes up to _this_ line! --- Thierry Bouche, Grenoble.