From: bobby@hot.caltech.edu (Bobby Bodenheimer)
Newsgroups: comp.text.tex
Subject: Diffs to Frequently Asked Questions about TeX and LaTeX [monthly]
Followup-To: comp.text.tex
Date: 7 Oct 1992 01:38:04 GMT
Organization: Get a life, Inc.
Expires: 5 Dec 1992 01:36:09 GMT
Reply-To: bobby@hot.caltech.edu
NNTP-Posting-Host: dry.mu.caltech.edu
Keywords: tex-faq
Originator: bobby@dry.mu.caltech.edu

*** Freq_questions.sep	Wed Sep 16 18:07:22 1992
--- Freq_questions	Tue Oct  6 18:27:30 1992
***************
*** 28,38 ****
  comp.text.tex. Please don't ask these questions again, as they've been
  answered many times before. Note that Guoying Chen
  (chenguo@spunky.cs.nyu.edu) posts the monthly document ``Supplementary 
! TeX Information'' to this newsgroup which contains other information and 
  software relevant to TeX users but beyond the scope of this article.
  
! This is version 1.30 for September, last changed 9/16/92. The FAQ is a little
! late this month since I was away from Caltech for about 3 weeks.
  
  This article includes answers to:
  
--- 28,37 ----
  comp.text.tex. Please don't ask these questions again, as they've been
  answered many times before. Note that Guoying Chen
  (chenguo@spunky.cs.nyu.edu) posts the monthly document ``Supplementary 
! TeX Information'' to this newsgroup containing other information and 
  software relevant to TeX users but beyond the scope of this article.
  
! This is version 1.31 for October, last changed 10/6/92.
  
  This article includes answers to:
  
***************
*** 78,83 ****
--- 77,83 ----
    35) What is the New Font Selection Scheme (NFSS)?
    36) In LaTeX, my cross-references for floats (figures and tables) are
        incorrect. What's wrong?
+   37) I want to change the margins in LaTeX. What can I do?
  
  If you are looking, for instance, for the answer to question 17, and wish
  to skip everything else, you can search ahead for the regular expression
***************
*** 103,113 ****
  Hal Perkins, Walter Carlip, Max Hailpern, Tad Guy, Raymond Chen,
  Henning Schulzrinne, Sebastian Rahtz, Mark James, Peter Galko, Mike
  Ernst, Rainer Sch\"opf, Oren Patashnik, Philippe Louarn, Rafal
! Zbikowski, Anita Marie Hoover, David Rhead, and Darrell McCauley
! provided additional material and criticisms. The format of this
! document is based on the Frequently Asked Questions appearing in
! comp.unix.wizards, and written by Steve Hayman. Any mistakes are mine.
! Send corrections, suggestions, and additions to bobby@hot.caltech.edu.
  
  1) How can I get a copy of this article?
  
--- 103,114 ----
  Hal Perkins, Walter Carlip, Max Hailpern, Tad Guy, Raymond Chen,
  Henning Schulzrinne, Sebastian Rahtz, Mark James, Peter Galko, Mike
  Ernst, Rainer Sch\"opf, Oren Patashnik, Philippe Louarn, Rafal
! Zbikowski, Anita Marie Hoover, David Rhead, Darrell McCauley, Cameron
! Smith, and Emma Pease provided additional material and criticisms. The
! format of this document is based on the Frequently Asked Questions
! appearing in comp.unix.wizards, and written by Steve Hayman. Any
! mistakes are mine.  Send corrections, suggestions, and additions to
! bobby@hot.caltech.edu.
  
  1) How can I get a copy of this article?
  
***************
*** 135,148 ****
  
  2) Where can I get a DVI to PostScript conversion program?
  
!    Four very nice DVI to PostScript conversion programs that run
     under Unix are:
-      dvitps - part of the TeXPS package by Stephan Bectolsheim.
-        Available via anonymous ftp from arthur.cs.purdue.edu
-        (128.10.2.1) in ./pub/TeXPS.
-      dvi3ps - by Kevin Coombes. Available via anonymous ftp
-        from archive.cis.ohio-state.edu (128.146.8.52) in 
-        ./pub/dvi3ps.tar.Z 
       dvips - by Tomas Rokicki. This driver is very nice and
         has the ability to deal with virtual fonts. Available 
         via anonymous ftp from labrea.stanford.edu (36.8.0.47) 
--- 136,143 ----
  
  2) Where can I get a DVI to PostScript conversion program?
  
!    Two very nice DVI to PostScript conversion programs that run
     under Unix are:
       dvips - by Tomas Rokicki. This driver is very nice and
         has the ability to deal with virtual fonts. Available 
         via anonymous ftp from labrea.stanford.edu (36.8.0.47) 
***************
*** 184,191 ****
  
  4) Where can I find a DVI previewer for machine Y running Q?
  
!    This briefly lists some previewers which are available via anonymous
!    ftp:
        dvipage - For SunView. This was published in volume 15 of 
          comp.sources.unix and is available at sites that archive
          this. One such source is archive.cis.ohio-state.edu 
--- 179,185 ----
  
  4) Where can I find a DVI previewer for machine Y running Q?
  
!    This briefly lists some previewers available via anonymous ftp:
        dvipage - For SunView. This was published in volume 15 of 
          comp.sources.unix and is available at sites that archive
          this. One such source is archive.cis.ohio-state.edu 
***************
*** 195,202 ****
          ./pub/cs/misc/SeeTeX/SeeTeX/SeeTeX-*.tar.Z.
        dviapollo- for Apollo Domain. Available via anonymous ftp from
          labrea.stanford.edu (36.8.0.47) in ./pub/dviapollo.tar.Z.
-       dviis - For Integrated Systems. Does anyone know where this
-         program is archived?
        dvidis - For VAXstation VWS. Available via anonymous ftp from
          venus.ycc.yale.edu (130.132.1.5) in [.dvidis] (VMS machine).
        xdvi - Also for the X Window System. Available via anonymous ftp
--- 189,194 ----
***************
*** 346,354 ****
      If you fail to convince your officials, or want some inter-line 
      space for copy-editing:
       - Try changing \baselinestretch: \renewcommand{\baselinestretch}{1.2}
!        may be enough to give officials the impression that you've kept
!        to their regulations.  Don't try changing \baselineskip: it has
!        its value reset at any size-changing command.
       - Alternatively, get doublespace.sty from ./pub/tex/latex-style at
         sun.soe.clarkson.edu, or, if you are using the new font selection
         scheme, get doublespace.sty from ymir.claremont.edu
--- 338,346 ----
      If you fail to convince your officials, or want some inter-line 
      space for copy-editing:
       - Try changing \baselinestretch: \renewcommand{\baselinestretch}{1.2}
!        may be enough to give officials the impression you've kept
!        to their regulations.  Don't try changing \baselineskip: its
!        value is reset at any size-changing command.
       - Alternatively, get doublespace.sty from ./pub/tex/latex-style at
         sun.soe.clarkson.edu, or, if you are using the new font selection
         scheme, get doublespace.sty from ymir.claremont.edu
***************
*** 489,499 ****
      
  19) Where do I get TeX/LaTeX for machine Y running Q?
  
!     Unix - The Unix TeX distribution is available for anonymous
!        ftp from byron.u.washington.edu (128.95.48.32) in the directory
!        ./pub/unixtex. It is large, so please be sure to observe proper
!        ftp etiquette when getting it. It is also available through
!        the University of Washington, for a small fee. Contact:
                    Director
                    Northwest Computing Support Center
                    Thomson Hall, Mail Stop DR-10
--- 481,491 ----
      
  19) Where do I get TeX/LaTeX for machine Y running Q?
  
!     Unix - The Unix TeX distribution is no longer available via anonymous
!        ftp from one location. An up-to-date version of Unix TeX can
!        be assembled, however, by ftp'ing from several different sites.
!        If you don't want to do this, you can order it from the 
!        University of Washington, for a small fee. Contact:
                    Director
                    Northwest Computing Support Center
                    Thomson Hall, Mail Stop DR-10
***************
*** 510,515 ****
--- 502,535 ----
         ./pub/tex/bin-386ix and from math.berkeley.edu (128.32.183.94) 
         in ./pub/tex386ix.tar.Z.
  
+        To get TeX via anonymous ftp, first get the current web2c
+        distribution from ftp.cs.umb.edu (192.12.26.23) in ./pub/tex. If you
+        plan on using METAFONT, also grab the current version of modes.mf
+        (see question 18). The web2c distribution will allow you to create
+        initex, virtex, inimf, virmf, bibtex, and several programs for
+        manipulating fonts. Next you will need the basic TeX and METAFONT
+        macro files, available from labrea.stanford.edu (36.8.0.47) in
+        ./pub/tex/lib. The basic BibTeX style files are here as well, in
+        ./pub/tex/bibtex. If you want LaTeX, the current distribution is
+        available from rusinfo.rus.uni-stuttgart.de (129.69.1.12) in
+        ./soft/tex/latex. I recommend LaTeX be installed with the New Font
+        Selection Scheme (NFSS) (see question 35).  It resides in
+        ./soft/tex/latex-style-supported/nfss.  If you want AMSLaTeX or
+        AMSTeX, get them from e-math.ams.com (130.44.1.100) in ./ams.
+        Finally, you need fonts. TeX itself needs font files with the
+        extension ``.tfm''.  Your output device driver needs fonts in a
+        different format, probably ``.pk''. Both ymir.claremont.edu
+        (134.173.4.23) and rusinfo.rus.uni-stuttgart.de maintain collections
+        of fonts in these formats. These collections contain the necessary
+        fonts for the plain format and LaTeX, and other fonts you might
+        want.  Alternatively, the necessary font formats can be generated
+        from the METAFONT source, either by you, or automatically if you use
+        the dvips driver mentioned in question 2. The METAFONT sources are
+        available from the ymir and rusinfo archives.  Note that I have
+        tried to mention the definitive sources for all the programs above.
+        The nearest archive server (see question 22) may have everything
+        mentioned above, without having to ftp around the world.
+ 
      AIX - TeX for the IBM RS6000 running AIX can be found on
         rusinfo.rus.uni-stuttgart.de (129.69.1.12) in
         ./soft/tex/machines/unix/aix3.1.
***************
*** 618,624 ****
          sun.soe.clarkson.edu (128.153.12.3). An archive server is available
          if you can send mail to the United States. Send a one-line message
          ``help'' to archive-server@sun.soe.clarkson.edu and it will send
!         you a file describing how to use it more fully. If you have 
          problems, contact archive-management@sun.soe.clarkson.edu
        - In the United Kingdom, you can get TeX-related material from the
          UK TeX archive at the University of Aston. (FTP access is also
--- 638,644 ----
          sun.soe.clarkson.edu (128.153.12.3). An archive server is available
          if you can send mail to the United States. Send a one-line message
          ``help'' to archive-server@sun.soe.clarkson.edu and it will send
!         you a file describing how to use it more fully. If you have
          problems, contact archive-management@sun.soe.clarkson.edu
        - In the United Kingdom, you can get TeX-related material from the
          UK TeX archive at the University of Aston. (FTP access is also
***************
*** 681,722 ****
  
  23) How do I use PostScript fonts with LaTeX?
  
!     There are at least four problems with replacing the standard Computer
!     Modern fonts used in LaTeX:
!     1. The fonts are defined in a long set of macros in lfonts.tex
!        which are not easy to understand and change;
!     2. You must have a device driver capable of understanding the idea
!        of fonts built into the printer (all the drivers referred to in
!        question 2 have this capability).
!     3. The default layout of the Adobe fonts is NOT the same as that for
!        the CMR fonts, so you will not get the right characters (ligatures
!        being a good example).
!     4. The official names of the PostScript fonts are long and in both 
!        upper and lower cases. While this presents no problems for Unix,
!        it can cause problems with files under DOS, VMS, etc.
  
-     The first problem can be solved by one of:
-     1. Going through lfonts.tex and changing references to CMR to some
-        new font, e.g., times.
-     2. Overloading the definitions of \bf, \rm, etc., with new font 
-        families.
-     3. Using the New Font Selection Scheme (see question 35).
-     
-     The second problem is quickly disappearing since all recent DVI to 
-     PostScript drivers have adequate facilities. The third problem can
-     be solved by:
-     1. Changing TeX macros, etc., so the Adobe font layouts are
-        expected.
-     2. Re-encoding the Adobe fonts in a PostScript prolog so they
-        conform to TeX standards.
-     3. Using ``virtual fonts'' to perform the mapping between Adobe and
-        TeX layouts. Tomas Rokicki's dvips driver (see question 2) has 
-        examples of this.
- 
-     A definitive statement on short names for Adobe fonts is expected soon.
-     Meanwhile, there is not much agreement on how to compress 
-     Garamond-LightItalic into 8 characters.
- 
  24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  
      troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from
--- 701,715 ----
  
  23) How do I use PostScript fonts with LaTeX?
  
!     The best way to do this is to install the New Font Selection
!     Scheme (NFSS) (see question 35), and use the psnfss package
!     written by Sebastian Rahtz. It is available from all the major
!     archives mentioned in question 22. Unfortunately, on some it is
!     known as soton and on others as psnfss. The definitive home for
!     it is the UK TeX archive, tex.ac.uk (134.151.40.18) in
!     [tex-archive.latex.styles.fontsel.soton]. Other methods for using
!     PostScript fonts in LaTeX are cumbersome at best.
  
  24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  
      troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from
***************
*** 874,880 ****
      use the LaTeX-to-ASCII conversion program, l2a, available from 
      comp.sources.misc archives (one archive site is ftp.uu.net 
      (137.39.1.2)), although this is really more of a de-TeXing
!     program.
  
      Ralph Droms is interested in working with a TeXnician on this
      problem, and has a somewhat usable package to do it. If you
--- 868,875 ----
      use the LaTeX-to-ASCII conversion program, l2a, available from 
      comp.sources.misc archives (one archive site is ftp.uu.net 
      (137.39.1.2)), although this is really more of a de-TeXing
!     program. Still another possibility is to use the dvi2tty program
!     mentioned in question 4, and save the output to a file.
  
      Ralph Droms is interested in working with a TeXnician on this
      problem, and has a somewhat usable package to do it. If you
***************
*** 955,975 ****
      the family (e.g., computer modern), the series (i.e., the weight and
      width of the font, like light or bold), the shape (e.g., italic), and
      the size. NFSS is a mechanism allowing the user to change any of these
!     independently. NFSS makes it relatively easy to use nonstandard fonts 
      such as the PostScript ones with LaTeX, and easy to change math fonts.
!     It also allows dynamic loading of fonts at runtime (not when the 
!     format file is created). It is backward compatible with the old font 
      selection scheme.
  
      NFSS will be part of version 2.10 of LaTeX. Currently, you need
!     to create a new format file to use it. It is available via 
      anonymous ftp from all the major archives mentioned in question
      22. Its home is on rusinfo.rus.uni-stuttgart.de (129.69.2.12) in
      ./soft/tex/latex-style-supported/nfss. NFSS can be used in plain
      TeX as well, through an interface written by Wayne Sullivan.
  
!     There is one caveat that applies to LaTeX documents that are written
!     for the OLD scheme: some of them use special styles for special fonts
      which will not work under the NFSS.
  
  36) In LaTeX, my cross-references for floats (figures and tables) are
--- 950,970 ----
      the family (e.g., computer modern), the series (i.e., the weight and
      width of the font, like light or bold), the shape (e.g., italic), and
      the size. NFSS is a mechanism allowing the user to change any of these
!     independently. NFSS makes it relatively easy to use nonstandard fonts
      such as the PostScript ones with LaTeX, and easy to change math fonts.
!     It also allows dynamic loading of fonts at runtime (not when the
!     format file is created). It is backward compatible with the old font
      selection scheme.
  
      NFSS will be part of version 2.10 of LaTeX. Currently, you need
!     to create a new format file to use it. It is available via
      anonymous ftp from all the major archives mentioned in question
      22. Its home is on rusinfo.rus.uni-stuttgart.de (129.69.2.12) in
      ./soft/tex/latex-style-supported/nfss. NFSS can be used in plain
      TeX as well, through an interface written by Wayne Sullivan.
  
!     There is one caveat that applies to LaTeX documents written for
!     the OLD scheme: some of them use special styles for special fonts
      which will not work under the NFSS.
  
  36) In LaTeX, my cross-references for floats (figures and tables) are
***************
*** 981,983 ****
--- 976,1022 ----
         \caption{A Figure}    or     \caption{A Figure\label{fig}}
         \label{fig}                  \end{figure}
         \end{figure}
+ 
+ 37) I want to change the margins in LaTeX. What can I do?
+ 
+     This answer first helps you change the margins throughout a
+     document, then tells you how to change the margins in a portion
+     of the document.
+ 
+     Perhaps the easiest way to get more out of a page in LaTeX is to
+     get fullpage.sty, available from all the major archive servers
+     mentioned in question 22. This sets the margins of the page identical
+     to those of Plain TeX, i.e., 1-inch margins at all four sides of the
+     paper. It also contains an adjustment for A4 paper.
+ 
+     Here is a brief explanation of what's going on with the page
+     parameters in LaTeX. They are explained in section C.4.2 of the
+     LaTeX manual (p. 163). The margin parameters represent measurements
+     made to the DVI file. The origin in DVI coordinates is one inch
+     from the top of the paper and one inch from the left side. This
+     explains the ``one inch less than'' terminology used in the LaTeX
+     manual. In DVI coordinates, positive horizontal measurements extend
+     right across the page, and positive vertical measurements extend down
+     the page. Thus, for margins closer to the left and top edges of the
+     page than 1 inch, the corresponding parameters, e.g.,
+     \evensidemargin, \oddsidemargin, \topmargin, can be set to negative
+     values.
+ 
+     Finally, to change the margins of a document within the document,
+     modifying the parameters listed on page 163 will not work. They
+     can only be changed in the preamble of the document, i.e, before
+     the \begin{document} statement. To adjust the margins within a
+     document we define an environment which does it:
+       \newenvironment{changemargin}[2]{\begin{list}{}{
+          \setlength{\topsep}{0pt}\setlength{\leftmargin}{0pt}
+          \setlength{\rightmargin}{0pt}
+          \setlength{\listparindent}{\parindent}
+          \setlength{\itemindent}{\parindent}
+          \setlength{\parsep}{0pt plus 1pt}
+          \addtolength{\leftmargin}{#1}\addtolength{\rightmargin}{#2}
+          }\item }{\end{list}}
+     This environment takes two arguments, and will indent the left
+     and right margins by their values, respectively. Negative values
+     will cause the margins to be widened, so
+     \begin{changemargin}{-1cm}{-1cm} widens the left and right margins
+     by 1cm.
-- 
Bobby Bodenheimer				@hot.caltech.edu
// ARPA  : bobby@hot.caltech.edu                |
// BITNET: bobby@caltech.bitnet                 | Woof!
// UUCP  : {amdahl,ames!elroy}!cit-vax!bobby    |