Re: a4.sty and a4wide.sty

1996-08-27 Thread camenisc
In message [EMAIL PROTECTED], Susan G. Kleinmann writes:
Hi Hakan --

You asked:
 I have latex 2e-7 installed, but I can't find  a4.sty a4wide.sty, in which 
 package are they?

I think the Latex-2e approach is not to use .sty files, but to use .cls
(class) files.  Support for a4 letter paper is built into the article.cls
file, for example, but the option a4paper.
So, to get output formatted for a4 paper, you would invoke the article style
this way:

\documentclass[titlepage, oneside, a4paper, 11pt]{article}
\usepackage{html}
\usepackage[dvips]{graphicx}

where the options titlepage, oneside, 11pt, etc., are all 
optional (!); I just put them there to illustrate that you can have more
than 1 option in the [].  I also added the statements regarding
usepackage as a further example of package-loading in latex-2e.

If you'd like to read more about this, you might want to get a copy
of the boot The LaTeX Companion, by Goosens, Mittelbach, and Samarin.

HTH,
Susan Kleinmann

As the normal a4paper is not very wide, my office mate wrote a package
to get bigger text-width.
It can be invoked vai  \usepackage{realA4}.
Options are nohead, if no headers are used, and symetric, to place the 
text in the middle of the page

greetings,
jan




% realA4.sty
% 
% REALLY use A4 paper (based on longlines.sty)
%
% (c) 1995, 1996, Christian Cachin ([EMAIL PROTECTED])
%
%
% USAGE:  (in LaTeX2e only)
%
% \documentclass{anyclass}
%
% \usepackage[nohead,symmetric]{realA4}
%
% The optional `nohead' specifies that no headings will be used in the document
% and  therefore, the space reserved for it by LaTeX can be used for text.
%
% The optional `symmetric' specifies that even with the `twosided' option
% the main text is centered on the page.
%
%
% IMPLEMENTATION:
%
% The following is just the code to calculate \textwidth and several widths
% that depend on it, copied 1-to-1 from classes.dtx.
%

\def\fileversion{1.1}
\def\filedate{1996/07/23}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{realA4}[\filedate\space\fileversion\ the real A4 page layout]

\DeclareOption{nohead}{%
\advance\textheight by \headheight%
\advance\textheight by \headsep%
\headheight 0pt%
\headsep 0pt}

\DeclareOption{symmetric}{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\setlength\paperheight {297mm}
\setlength\paperwidth  {210mm}

\voffset 0pt
\topmargin 0pt 
 
\ifcase [EMAIL PROTECTED]   

 
\textheight 54\baselineskip
 
\or
 
\textheight 47\baselineskip
 
\or
 
\textheight 43\baselineskip
 
\fi
 
\advance\textheight by \topskip
 

[EMAIL PROTECTED]
[EMAIL PROTECTED]

\ProcessOptions

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

[EMAIL PROTECTED]
  [EMAIL PROTECTED]{\paperwidth}
  [EMAIL PROTECTED]  {-\textwidth}
  \setlength\oddsidemargin[EMAIL PROTECTED]@tempdima}
  \addtolength\oddsidemargin  {-1in}
  \setlength\marginparwidth   [EMAIL PROTECTED]@tempdima}
  \addtolength\marginparwidth {-0.4in}
\else
  [EMAIL PROTECTED]{\paperwidth}
  [EMAIL PROTECTED]  {-\textwidth}
  \setlength\oddsidemargin[EMAIL PROTECTED]
  \addtolength\oddsidemargin  {-1in}
  \setlength\marginparwidth   [EMAIL PROTECTED]
  \addtolength\marginparwidth {-.4in}
\fi
\ifdim \marginparwidth 2in
   \setlength\marginparwidth{2in}
\fi
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\setlength\evensidemargin  {\paperwidth}
\addtolength\evensidemargin{-2in}
\addtolength\evensidemargin{-\textwidth}
\addtolength\evensidemargin{-\oddsidemargin}
[EMAIL PROTECTED]


  Jan Camenisch
  Institut fuer theor. Informatik  Tel. +41 1 632 7412
  ETH Zentrum, IFW Fax. +41 1 632 1172
  CH-8092 Zurich, Switzerlande-mail: [EMAIL PROTECTED] -   
   -
  URL of my hompage   http://www.inf.ethz.ch/personal/camenisc



Re: a4.sty and a4wide.sty

1996-08-26 Thread Michael Meskes
Hakan Ardo writes:
 Then there is the trouble with lyx. I have just started to try it out, and it 
 seems like it uses the sty approch, but it might be a misconfiguration of it
 to...

I use a4paper with LyX all the time without a problem. However, a4wide
doesn't work.

Michael

-- 
Michael Meskes   |_  __  
[EMAIL PROTECTED] |   / ___// / // / / __ \___  __
[EMAIL PROTECTED]  |   \__ \/ /_  / // /_/ /_/ / _ \/ ___/ ___/
[EMAIL PROTECTED]|  ___/ / __/ /__  __/\__, /  __/ /  (__  )
Use Debian Linux!| //_/  /_/  //\___/_/  //



Re: a4.sty and a4wide.sty

1996-08-26 Thread Hakan Ardo
 Hakan Ardo writes:
  Then there is the trouble with lyx. I have just started to try it out, and 
  it
  
  seems like it uses the sty approch, but it might be a misconfiguration of it
  to...
 
 I use a4paper with LyX all the time without a problem. However, a4wide
 doesn't work.

Sure it does, the only trouble with that one is that it only uses half of 
the paper :) The rest is margins...



Re: a4.sty and a4wide.sty

1996-08-26 Thread Hakan Ardo
 Hakan Ardo writes:
  Sure it does, the only trouble with that one is that it only uses half of 
  the paper :) The rest is margins...
 
 That's true. And I don't know how to solve it correctly. I just entered a
 latex preamble:
 
 \begin_preamble
 \setlength\oddsidemargin {0mm}
 \setlength\evensidemargin  {\oddsidemargin}
 \setlength{\textheight}{23cm}
 \setlength{\textwidth}{17cm}
 \topmargin-20mm
 \end_preamble
 
 That works. :-)

Yes, it does, very well. But there should be a way to get hold of the sty 
files, it should prevent a lot of trouble, not only for me.



Re: a4.sty and a4wide.sty

1996-08-26 Thread Dirk . Eddelbuettel

   Hakan Ardo writes:  Sure it does, the only trouble with that one is
   that it only uses half of  the paper :) The rest is margins...
   
   That's true. And I don't know how to solve it correctly. I just entered
   a latex preamble:

I always use vmargin.sty which allows to define the margins sizes
explicitly, and also allows me to switch from letter to a4 paper with one
command, eg
\usepackage{vmargin}
  \setpapersize{A4}  
  \setmargrb{3cm}{3cm}{3cm}{3cm}
selects a4 paper (default is letter), and then sets left, top, right and
bottom margins to 3cm. Vmargin is on CTAN hosts as 
tex-archive/macros/latex/contrib/other/misc/vmargin.sty

--
Dirk Eddelbuttel http://qed.econ.queensu.ca/~edd



Re: a4.sty and a4wide.sty

1996-08-26 Thread Susan G. Kleinmann
You can find a particular .sty file (or anything else in the CTAN archives)
by visiting:
  http://www.shsu.edu/cgi-bin/ctan-index

Then enter the name of the macro you want, in this case, a4.sty, and you'll
be returned a page with links to sites that provide it.

HTH,
Susan Kleinmann



Re: a4.sty and a4wide.sty

1996-08-25 Thread Susan G. Kleinmann
Hi Hakan --

You asked:
 I have latex 2e-7 installed, but I can't find  a4.sty a4wide.sty, in which 
 package are they?

I think the Latex-2e approach is not to use .sty files, but to use .cls
(class) files.  Support for a4 letter paper is built into the article.cls
file, for example, but the option a4paper.
So, to get output formatted for a4 paper, you would invoke the article style
this way:

\documentclass[titlepage, oneside, a4paper, 11pt]{article}
\usepackage{html}
\usepackage[dvips]{graphicx}

where the options titlepage, oneside, 11pt, etc., are all 
optional (!); I just put them there to illustrate that you can have more
than 1 option in the [].  I also added the statements regarding
usepackage as a further example of package-loading in latex-2e.

If you'd like to read more about this, you might want to get a copy
of the boot The LaTeX Companion, by Goosens, Mittelbach, and Samarin.

HTH,
Susan Kleinmann



Re: a4.sty and a4wide.sty

1996-08-25 Thread Hakan Ardo
 Hi Hakan --
 
 You asked:
  I have latex 2e-7 installed, but I can't find  a4.sty a4wide.sty, in which 
  package are they?
 
 I think the Latex-2e approach is not to use .sty files, but to use .cls
 (class) files.  Support for a4 letter paper is built into the article.cls
 file, for example, but the option a4paper.
 So, to get output formatted for a4 paper, you would invoke the article style
 this way:
 
 \documentclass[titlepage, oneside, a4paper, 11pt]{article}
 \usepackage{html}
 \usepackage[dvips]{graphicx}
 
 where the options titlepage, oneside, 11pt, etc., are all 
 optional (!); I just put them there to illustrate that you can have more
 than 1 option in the [].  I also added the statements regarding
 usepackage as a further example of package-loading in latex-2e.

OK, this works all fine, but the there is the trouble with my old latex files,
latex still supports the us of sty files, right? I have several documents
that uese that apportch, and I felt it easyer to install the stys, than 
convert all my files. 

Then there is the trouble with lyx. I have just started to try it out, and it 
seems like it uses the sty approch, but it might be a misconfiguration of it
to...