[XeTeX] tabular getting flattened into one line
Cyril
cyril.niklaus at gmail.com
Wed Sep 20 02:49:07 CEST 2006
On 20 sept. 06, at 04:49, Jonathan Kew wrote:
>
> It looks to me like the default line spacing (baselineskip) is
> getting set very small for some reason; then the highly negative
> \lineskiplimit allows text in adjacent lines to overlap, rather than
> the line spacing expanding according to the size of the glyphs.
>
Commenting \lineskiplimit out gives a normal output. Leaving it in
and adding
\setlength{\baselineskip}{24pt} or \renewcommand{\baselinestretch}{2}
a bit blindly in the document (inside and outside of the tabular
environment, I saw no harm in trying…) does not change anything though.
> But why the line spacing is tiny (or zero?) to start with is a
> puzzle. I think we'd need to see a more complete minimal example to
> solve that.
here is one, with the log too. Should I compile it with special options?
Is it possible that i've changed somehow some default on my machine
and that causes line spacing to go awry? Not being a specialist at
all, I do not play around with config files, so I do not think that
is a possibility, but still, I do not understand why a simple
tabular cannot be rendered properly. Obviously \lineskiplimit is
interfering with tabular, it is OK up to -22pt, but lines collide at
-23pt.
\documentclass[a4paper,10pt]{article}
\usepackage{fullpage}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[english]{babel}
\setromanfont{Hoefler Text}
%to remove the underfullbox comment
\lineskiplimit=-1000pt
\renewcommand\baselinestretch{1.9}
\raggedbottom
\begin{document}
\textbf{ Flat Tab }
\begin{tabular}{ll}
French & English\\
German & Dutch\\
\end{tabular}
\end{document}
%%%%%%%%%%%%%%%
I've tried getting it as simple as possible and did a test run with
LaTeX, with no success either.
\documentclass[a4paper,10pt]{article}
\lineskiplimit=-1000pt
\begin{document}
\begin{tabular}{ll}
French & English\\
German & Dutch\\
\end{tabular}
\end{document}
%%%%%%%%%
This is XeTeX, Version 3.141592-2.2-0.994a (Web2C 7.5.3)
(format=xelatex 2006.6.13) 20 SEP 2006 09:42
entering extended mode
**Untitled-2.tex
(./Untitled-2.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/preprint/fullpage.sty
Package: fullpage 1999/02/23 1.1 (PWD)
\FP at margin=\skip43
)
(/Users/cyril/Library/texmf/tex/xetex/fontspec/fontspec.sty
Package: fontspec 2006/06/07 v1.10 Advanced font selection for XeLaTeX
\c at zf@newff=\count87
\c at zf@index=\count88
\c at zf@script=\count89
\c at zf@language=\count90
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/calc.sty
Package: calc 1998/07/07 v4.1b Infix arithmetic (KKT,FJ)
\calc at Acount=\count91
\calc at Bcount=\count92
\calc at Adimen=\dimen103
\calc at Bdimen=\dimen104
\calc at Askip=\skip44
\calc at Bskip=\skip45
LaTeX Info: Redefining \setlength on input line 59.
LaTeX Info: Redefining \addtolength on input line 60.
\calc at denominator=\count93
)
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xkeyval/xkeyval.sty
Package: xkeyval 2005/11/25 v2.5e package option processing (HA)
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xkeyval/xkeyval.tex
\XKV at toks=\toks14
\XKV at depth=\count94
File: xkeyval.tex 2005/11/25 v2.5e key=value parser (HA)
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xkeyval/keyval.tex)))
LaTeX Info: Redefining \itshape on input line 888.
LaTeX Info: Redefining \slshape on input line 891.
LaTeX Info: Redefining \scshape on input line 894.
LaTeX Info: Redefining \upshape on input line 897.
LaTeX Info: Redefining \emph on input line 910.
fontspec.cfg loaded.
(/Users/cyril/Library/texmf/tex/xetex/fontspec/fontspec.cfg))
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xunicode.sty
File: xunicode.sty 2005/02/26 v0.5 provides access to latin accents
and many ot
her characters in Unicode lower plane
)
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.sty
Package: babel 2004/11/20 v3.8d The Babel package
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/english.ldf
Language: english 2004/06/14 v3.3o English support from the babel system
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.def
File: babel.def 2004/11/20 v3.8d Babel common definitions
\babel at savecnt=\count95
\U at D=\dimen105
)
\l at british = a dialect from \language\l at english
\l at UKenglish = a dialect from \language\l at english
\l at canadian = a dialect from \language\l at american
\l at australian = a dialect from \language\l at british
\l at newzealand = a dialect from \language\l at british
))
\c at zf@famc at Hoefler Text=\count96
Package fontspec Info: Defining font family for "Hoefler Text" with
options []
on input line 6.
Package fontspec Info: \font is "Hoefler Text:" on input line 6.
Package fontspec Info: \font is "Hoefler Text:Letter Case=Small
Caps;" on input
line 6.
Package fontspec Info: \font is "Hoefler Text/B:" on input line 6.
Package fontspec Info: \font is "Hoefler Text/B:Letter Case=Small
Caps;" on inp
ut line 6.
Package fontspec Info: \font is "Hoefler Text/I:" on input line 6.
Package fontspec Info: \font is "Hoefler Text/I:Letter Case=Small
Caps;" on inp
ut line 6.
Package fontspec Info: \font is "Hoefler Text/BI:" on input line 6.
Package fontspec Info: \font is "Hoefler Text/BI:Letter Case=Small
Caps;" on in
put line 6.
(./Untitled-2.aux)
\openout1 = `Untitled-2.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 14.
LaTeX Font Info: ... okay on input line 14.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 14.
LaTeX Font Info: ... okay on input line 14.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 14.
LaTeX Font Info: ... okay on input line 14.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 14.
LaTeX Font Info: ... okay on input line 14.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 14.
LaTeX Font Info: ... okay on input line 14.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 14.
LaTeX Font Info: ... okay on input line 14.
LaTeX Info: Redefining \em on input line 14.
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version
`bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 14.
LaTeX Font Info: Redeclaring math accent \acute on input line 14.
LaTeX Font Info: Redeclaring math accent \grave on input line 14.
LaTeX Font Info: Redeclaring math accent \ddot on input line 14.
LaTeX Font Info: Redeclaring math accent \tilde on input line 14.
LaTeX Font Info: Redeclaring math accent \bar on input line 14.
LaTeX Font Info: Redeclaring math accent \breve on input line 14.
LaTeX Font Info: Redeclaring math accent \check on input line 14.
LaTeX Font Info: Redeclaring math accent \hat on input line 14.
LaTeX Font Info: Redeclaring math accent \dot on input line 14.
LaTeX Font Info: Redeclaring math accent \mathring on input line 14.
LaTeX Font Info: Redeclaring math symbol \colon on input line 14.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 14.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 14.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 14.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 14.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 14.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 14.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 14.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 14.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 14.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 14.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 14.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line
14.
LaTeX Font Info: Redeclaring symbol font `operators' on input line
14.
LaTeX Font Info: Encoding `OT1' has changed to `U' for symbol font
(Font) `operators' in the math version `normal' on input
line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version
`normal'
(Font) OT1/cmr/m/n --> U/HoeflerText(0)/m/n on input
line 14.
LaTeX Font Info: Encoding `OT1' has changed to `U' for symbol font
(Font) `operators' in the math version `bold' on input
line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version
`bold'
(Font) OT1/cmr/bx/n --> U/HoeflerText(0)/m/n on
input line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version
`normal'
(Font) U/HoeflerText(0)/m/n --> U/HoeflerText(0)/m/n
on input
line 14.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version
`normal'
(Font) U/HoeflerText(0)/m/n --> U/HoeflerText(0)/m/n
on input
line 14.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version
`normal'
(Font) OT1/cmr/m/it --> U/HoeflerText(0)/m/it on
input line 14
.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version
`normal'
(Font) OT1/cmr/bx/n --> U/HoeflerText(0)/bx/n on
input line 14
.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version
`normal'
(Font) OT1/cmss/m/n --> U/cmss/m/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version
`normal'
(Font) OT1/cmtt/m/n --> U/cmtt/m/n on input line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version
`bold'
(Font) U/HoeflerText(0)/m/n --> U/HoeflerText(0)/bx/
n on input
line 14.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version
`bold'
(Font) U/HoeflerText(0)/m/n --> U/HoeflerText(0)/bx/
n on input
line 14.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version
`bold'
(Font) OT1/cmr/bx/it --> U/HoeflerText(0)/bx/it on
input line
14.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version
`bold'
(Font) OT1/cmss/bx/n --> U/cmss/bx/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version
`bold'
(Font) OT1/cmtt/m/n --> U/cmtt/bx/n on input line 14.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 18.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 18.
[1
] (./Untitled-2.aux) )
Here is how much of TeX's memory you used:
4380 strings out of 95767
70393 string characters out of 1189064
2148456 words of memory out of 4603292
7504 multiletter control sequences out of 10000+50000
3688 words of font info for 20 fonts, out of 2000000 for 2000
58 hyphenation exceptions out of 5000
28i,6n,28p,211b,141s stack positions out of 5000i,500n,6000p,200000b,
40000s
Output written on Untitled-2.pdf (1 page).
More information about the XeTeX
mailing list