tl2017 luatex discretionaries
[latex2e.git] / latex2e-20170101 / doc / ltnews05.tex
blob9416f0e4ed326cdb31fdc4929476370f0f6af5ea
1 % \iffalse meta-comment
3 % Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
4 % The LaTeX3 Project and any individual authors listed elsewhere
5 % in this file.
6 %
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
9 %
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % http://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2005/12/01 or later.
18 % This file has the LPPL maintenance status "maintained".
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
22 % information.
24 % The list of derived (unpacked) files belonging to the distribution
25 % and covered by LPPL is defined by the unpacking scripts (with
26 % extension .ins) which are part of the distribution.
28 % \fi
29 % Filename: ltnews05.tex
31 % This is issue 5 of LaTeX News.
33 \documentclass
34 % [lw35fonts]
35 {ltnews}
37 % \usepackage[T1]{fontenc}
39 \publicationmonth{June}
40 \publicationyear{1996}
41 \publicationissue{5}
43 \begin{document}
45 \maketitle
47 \section{Welcome to \LaTeXNews~5}
48 This issue of \emph{\LaTeXNews} accompanies the fifth release of the
49 new standard \LaTeX{}, \LaTeXe.
51 \section{Extra possibilities for section headings}
52 Most \LaTeX\ sectioning commands are defined using
53 \verb|\@startsection|.
54 For example, the \textsf{article} class defines:
55 \begin{small}
56 \begin{verbatim}
57 \newcommand\section{\@startsection
58 {section}{1}{0pt}{-3.5ex plus-1ex minus-.2ex}%
59 {2.3ex plus.2ex}{\normalfont\Large\bfseries}}
60 \end{verbatim}
61 \end{small}
62 The last argument specifies the style in which the section heading is
63 to be typeset.
65 The new feature added at this release is that at the \emph{end} of
66 this argument you may specify a command that \emph{takes an argument}.
67 This command will be applied to the section number and heading.
68 For example, one could use the \verb|\MakeUppercase| command to
69 produce uppercase headings. A package or class file could contain:
70 \begin{small}
71 \begin{verbatim}
72 \renewcommand\section{\@startsection
73 {section}{1}{0pt}{-3.5ex plus-1ex minus-.2ex}%
74 {2.3ex plus.2ex}{\normalfont\Large\MakeUppercase}}
75 \end{verbatim}
76 \end{small}
77 to produce section headings using uppercase medium weight text, rather
78 than the bold text used by \textsf{article}. Note that, like the font
79 choice, the uppercasing applies only to the actual heading (including
80 any automatically generated section number), not to the text as it may
81 appear in the running head or table of contents.
83 \section{The `openany' option in the `book' class}
84 The \textsf{openany} option allows chapter and similar openings to
85 occur on left hand pages. Previously this option only affected
86 \verb|\chapter| and \verb|\backmatter|. It now also affects
87 \verb|\part|, \verb|\frontmatter| and \verb|\mainmatter|.
89 \section{More font (output) encodings}
90 The font encoding name \texttt{T3} has been allocated to the encoding
91 used in the new 256-character \textsc{IPA} fonts (for the phonetic
92 alphabet) produced by Rei Fukui. His package, \textsf{tipa},
93 gives access to these fonts and should soon be available. (The
94 encoding named \texttt{OT3} is the 128-character encoding used in the
95 \textsc{IPA} fonts produced by Washington State University.)
99 \section{More input encodings supported}
100 The \textsf{inputenc} package now supports the IBM codepage~852 used
101 in Eastern Europe, with the option~\texttt{[cp852]} contributed by
102 Petr~Sojka.
104 Also, the \textsf{inputenc} package now activates most `control codes'
105 with \textsc{ascii} values below 32.
106 Currently none of the encodings in the standard distribution makes use
107 of these positions.
109 \section{Fixes and improvements}
110 The \LaTeX\ kernel has only had minor changes, apart from
111 \verb|\@startsection| mentioned above.
112 However, some small fixes have been incorporated removing the
113 following problems:
115 \begin{itemize}
116 \item
117 In tabular and array, previous versions of \LaTeX\ `lost' the
118 inter-column space from an `\texttt{l}'-column, when that column
119 was completely empty.
121 \item
122 Previously, the use of the \verb|\nofiles| command could change
123 the \emph{vertical spacing} in a document.\\ A side effect of fixing
124 this is that when \verb|\nofiles| is used, \verb|\label| puts a
125 blank line in the log file.
127 \item
128 \LaTeX~often loads fonts `on demand'. Previously, this could
129 happen inside the argument of an accent command and this would
130 cause the accent to appear in the wrong place.
132 \end{itemize}
134 \section{Changes to the `tools' packages}
136 \begin{itemize}
137 \item
138 The \textsf{longtable} package now uses a modified algorithm,
139 contributed by David Kastrup, to align the `chunks' of a table.
140 It is now unnecessary to edit the document to add
141 \verb|\setlongtables| before the final run of \LaTeX.
142 In certain cases of overlapping \verb|\multicolumn| entries, the new
143 algorithm will produce better column widths than the old (at the
144 price of extra passes through \LaTeX).
146 \item
147 The \textsf{dcolumn} package now has the extra possibility of
148 specifying the number of digits both \emph{before} and after the
149 `decimal point'. This makes it easy to centre the column of numbers
150 under a wide heading.
151 \end{itemize}
153 \section{New copy of the \LaTeX\ bug database}
154 \verb|http://www.tex.ac.uk/ctan/latex/bugs.html| will soon have links
155 to a copy of the searchable \LaTeX\ bugs database at Mainz (Germany)
156 as well as the original copy at Sussex (England).
158 \end{document}