summaryrefslogtreecommitdiff
path: root/usergrps/uktug/baskervi/6_3/robina.tex
diff options
context:
space:
mode:
Diffstat (limited to 'usergrps/uktug/baskervi/6_3/robina.tex')
-rw-r--r--usergrps/uktug/baskervi/6_3/robina.tex117
1 files changed, 117 insertions, 0 deletions
diff --git a/usergrps/uktug/baskervi/6_3/robina.tex b/usergrps/uktug/baskervi/6_3/robina.tex
new file mode 100644
index 0000000000..e10084a0fd
--- /dev/null
+++ b/usergrps/uktug/baskervi/6_3/robina.tex
@@ -0,0 +1,117 @@
+%\documentclass{article}
+%\usepackage{faq,bv-emu,shortvrb,multicol}
+% bv-emu.sty to come
+% for faq.sty see below
+\usepackage{faqa}
+\MakeShortVerb\|
+\input dirctan % These are in ftp://ftp.cl.cam.ac.uk/users/rf/faq
+\input filectan % along with faq.sty
+%\providecommand\Article[1]{\section*{#1}}
+%\begin{document}
+%\begin{multicols}{2}
+\author{Robin Fairbairns}
+\title{The frequent supplement}
+\begin{Article}
+\noindent
+A couple of questions answered this issue; this arises because the
+column failed to make its appearance in \BV{} 6.2 for lack of space.
+
+The first (on multilingual typesetting) was posed by Allan Reese; what
+we have here is merely a start towards solving the problem that
+concerns him. A comprehensive review of what makes up the Babel
+system is due in a future part of David Carlisle's \LaTeX{} tour, but
+I suspect that even so, questions remain to be answered. Do feel free
+to send them in!
+
+\Question{\upshape\bfseries 69a\quad Multilingual typesetting in \LaTeX{}}
+
+\TeX{} itself defines a mechanism to define a `language', which
+provides a hook for hyphenation patterns: each `language' (in \TeX{}'s
+sense) has its own set of hyphenation patterns.
+
+Babel, Johannes Braams' multilingual package for \LaTeX{}, uses the
+primitive \TeX{} concept of `language' as part of its own concept of
+language; Babel's `language' also encompasses culturally appropriate
+typesetting rules for the language; for further details, see Babel's
+documentation.
+
+Assuming that you have a current \LaTeX{} installation, creating a
+multiple-language version from it involves three steps:
+\begin{enumerate}
+\item Install babel (\CTANref{babel}); move the |.sty| and |.ldf| files
+ somewhere appropriate. The installation also generates |hyphen.cfg|
+ and |language.dat|; these must be around when you generate the new
+ \LaTeX{} in step 3.
+\item Edit |language.dat| to record the languages whose hyphenation
+ patterns you want to support. For example, my installation's
+ version says:
+\begin{Verbatim}
+english hyphen.tex
+UKenglish ukhyph.tex
+french f8hyph.tex
+\end{Verbatim}
+ (the upper-case `UK' is one of Babel's little quirks: one can also
+ call the language `british'; whatever, it's a different language as
+ far as \TeX{} is concerned).
+\item Generate a new version of \LaTeX{}, from the same |latex.ltx|,
+ etc., that came with your current installation. Since the
+ |hyphen.cfg| is `around', it will be used in preference to the
+ |hyphen.ltx| which is generated when \LaTeX{} is unpacked. The
+ \LaTeX{} format you've built will have the hyphenation patterns
+ installed.
+\end{enumerate}
+Of course, your \TeX{} has to be big enough to hold all these
+hyphenation patterns. I've not encountered problems with the
+\Package|Web2c|-based Unix installation I use at work, but the
+em\TeX{} I have on my \acro{PC} at home isn't, by default, large
+enough. Using \Package|htex386|, I increase the pattern memory by
+adding the line:
+\begin{Verbatim}
+ set emtexopt=/mt25000
+\end{Verbatim}
+to my |autoexec.bat|
+
+\Question{\upshape\bfseries 75a\quad Footnotes in tables}
+The standard \LaTeX\ \cs|footnote| command doesn't work in tables; the table
+traps the footnotes and they can't escape to the bottom of the page.
+
+If your table is floating, your best bet is (unfortunately) to put the
+table in a \textsf{minipage} environment and to put the notes
+underneath the table, or to use Donald Arseneau's package
+\CTANref{threeparttable}
+
+Otherwise, if your table is not floating (it's just a
+`\textsf{tabular}' in the middle of some text), there are several
+things you can do to fix this.
+\begin{enumerate}
+\item Use \File|mdwtab.sty| from the directory
+ \CTANref{mdwtools}, which is
+ described in Mark~Wooding's article above.
+
+ It handles footnotes properly, quite apart from its ways of
+ ``increasing the beauty'' of your tables.
+\item Use \cs|footnotemark| to position the little marker
+ appropriately, and then put in \cs|footnotetext| commands to fill in
+ the text once you've closed the tabular environment. This is
+ described in Lamport's book, but it gets messy if there's more than
+ one footnote.
+\item Stick the table in a \textsf{minipage} anyway. This provides
+ all the ugliness of footnotes in a minipage with no extra effort.
+\item Use \textsf{threeparttable} (\CTANref{threeparttable}) anyway;
+ the package is intended for floating tables, and the result might
+ look odd if the table is not floating, but it will be reasonable.
+\item Use \File|tabularx| or \File|longtable| from the \LaTeX{} tools
+ distribution (\CTANref{2etools}); they're noticeably more
+ inefficient than the standard \textsf{tabular} environment, but they
+ do allow footnotes.
+\item Grab hold of \File|footnote.sty| from \acro{CTAN}, also lurking in
+ \CTANref{mdwtools}.
+
+ Then put your tabular environment inside a \textsf{savenotes}
+ environment. Alternatively, say \cs|makesavenoteenv{tabular}| in
+ the preamble of your document, and tables will all handle footnotes
+ correctly.
+\end{enumerate}
+%\end{multicols}
+%\end{document}
+\end{Article}