3
votes
1answer
54 views

Unwanted extra lines appearing in bibliography

When I compiled a very lengthy paper with a lengthy bibliography, I noticed that at some places in the bibliography, an extra line had been entered between entries: I tried to cut down the document ...
10
votes
0answers
72 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
11
votes
1answer
164 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
17
votes
4answers
381 views

It doesn't hyphenate words ending with “—”

Note: Every — you see in the code is an em-dash. I'writing a paper, and XeLaTeX doesn't hyphenate words which end with – (traditional LaTeX ---). After reading the comments, I realized this is a ...
5
votes
2answers
118 views

Is there a punctuation mark that does not take up any space?

I'm typesetting a text from a 17th century Chinese woodblock print. The original text is printed vertically, and I'm printing it horizontally. The text has the same number of Chinese characters per ...
2
votes
1answer
77 views

Non-uniform spacing in table of contents (XeLaTex book, tocloft, Indic script)

I am typesetting a book in XeLaTex (TexLive 2012 on Windows) in Sanskrit. I am using the tocloft package for table of contents. I want the font size to be bigger in the TOC, for which I use the ...
9
votes
0answers
154 views

XeTeX font spacing awfulness [duplicate]

When using the Lato font (e.g., Google fonts or Lato fonts), I get completely overlapping text: When I view the PDF in Google Chrome's PDF viewer, it looks fine on the screen: but it still ...
3
votes
1answer
84 views

Quantifier spacing with unicode-math

When using consecutive quantification in a math formula, there is not enough spacing around the quantifiers. For example: \documentclass{article} \usepackage[colon=literal]{unicode-math} ...
15
votes
1answer
125 views

fontspec ruins Lilypond's note spacing

I use lilypond-book to include music examples in my TeX document, but it seems that fontspec breaks the horizontal spacing between the notes: without fontspec with fontspec This MWE shows the ...
3
votes
1answer
213 views

No space between vertical rule and image

I want to design a titlepage for a beamer presentation (XeLaTeX, Miktex 2.9-64, Win7-64) and need to reduce the space between a rule and a graphic to 0. My code: \setbeamertemplate{background} ...
1
vote
0answers
65 views

Footnotes numbering placement and XeTeX [closed]

Well, I meet the following problem: the horizontal spacing between the end of a word and the footnote number is much too important – about 1.25ex. Does any one know where this comes from, and how to ...
3
votes
2answers
88 views

Insert custom space into document

I want to insert a custom space at a given point. But am not sure how to implement it in the following MWE (needs to run in XeLaTeX). \documentclass[pagesize=pdftex, fontsize=10]{scrbook} ...
3
votes
2answers
191 views

How is possible to set interline inside this block of code?

Have this code that generate an aside section: \RequirePackage[absolute,overlay]{textpos} \setlength{\TPHorizModule}{1cm} \setlength{\TPVertModule}{1cm} \newenvironment{aside}{% ...
2
votes
1answer
170 views

Interword Spacing in XeTeX is not functioning (Fontdimen)

in Default Lyx PDF output, (I presumed it is pdflatex), I used fontdimen2/3/4 to control the interword space, stretch and shrink. In a project, I had to use XeTeX for a particular font. However, the ...
5
votes
2answers
2k views

underfull vbox (badness 10000) with memoir

Sorry if this question has been asked very often, but I can't easily find an answer to my specific question. I am using XeLaTeX and the memoir class to produce a rather long document (100 pages) with ...
9
votes
2answers
470 views

How can I get my ellipses formatted correctly in XeTeX?

I've been using \dots and \ldots to try to get ellipses happening. Ellipses should look like this: Some text . . . and then some more text. But instead they look like this: Some text ...and some ...
5
votes
1answer
2k views

Invisible character equal to the height of capital letters [duplicate]

Possible Duplicate: How do I create an invisible character? How can I insert an invisible character (similar to \strut) which has a width of zero (won't impact word or letter spacing) and ...
10
votes
4answers
1k views

Displaying pinyin over Chinese characters, without impacting word spacing

I want to display pinyin (romanized form) over Chinese characters. However, the two methods I know (using stackrel or tabular both change the spacing between characters. This demonstrates the problem: ...
6
votes
1answer
201 views

Temporarily changing the spacing between Chinese text and numerals

When mixing Chinese text and non-math mode numbers together within a sentence, narrow numbers are given the same amount of space as characters: \documentclass{article} \usepackage{ctexcap} ...
4
votes
1answer
169 views

How do I create a table that meets the following specifications?

Following this question: I want to create an environment for a table with the following specifications: The left column is a vertically centered rotated text, saying Övning. The right column contains ...
4
votes
1answer
679 views

Table paragraph spacing

In the preamble of my document, I'm using \usepackage[parfill]{parskip} to make a new line between each paragraph. But when I try to write paragraphs inside a table: ...
3
votes
2answers
557 views

Math mode spacing (or glyph bounds) with mathspec

With mathspec, when you change the math font to an OpenType font, the spacing within equations is not fine: it is the same than the text mode spacing. For example in the equation $e^j$, the 'j' will ...
4
votes
1answer
2k views

Make an invisible vbox

I'm placing a PDF meta information in a \vbox in a plain XeTeX document, and I would like it to behave as if there were no box at all (so any additional \vskip after the \vbox will appear). Right now, ...
2
votes
4answers
879 views

Dynamic stretching of text

For the needs of a running title (in header), I would like the text of a running title (in header) to be stretched over the page. So far, I stretch it manually (using LetterSpace and WordSpace in ...
1
vote
1answer
176 views

weird spacing with \, and and babel

When using XeLaTeX and babel "francais", I sometimes get weird spacing: e.g. \, makes a wider space than the regular space (see what happens on the second line here). ...
4
votes
1answer
347 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt ...
6
votes
1answer
411 views

Suppress space between Chinese and Roman typeface in XeLaTeX

When the Roman characters [a-z0-9] and Chinese characters alternate in XeLaTeX, a space is automatically entered between the two types of character. For example, both Abcde我fg and Abcde 我 fg produce: ...
3
votes
2answers
1k views

Space after closing double quotes in XeLaTeX

I'm writing some non-technical text that I'm trying to typeset using XeLaTeX. For simplicity, I'm keeping the actual text in plain text files which after certain modifications (e.g. escaping %, \ and ...
2
votes
2answers
841 views

Stretch space characters horizontally

I'm using XeTeX to mimic another document, but I only have a similar font which I stretch using the extend and letterspace options. My main problem is though, that my font's spaces (U+0020) are only ...
12
votes
3answers
5k views

Exact font size and leading

I read couple of suggestions about setting exact font size and leading in LaTeX and XeLaTeX, so my question is, simply put, the following: is it the correct way to use LaTeX's method to XeLaTeX too, ...