56 views

### LuaTex bug ignoring {} (If so, how to report?) [duplicate]

Typing in ' and then " results in LyX automatically converting these into ' and ”. The code changes into '{}'' so that the output is right single quote and then right double quote ’ ”. Without the {}, ...
17k views

### Why is LaTeX so complicated? [closed]

I have been using LaTeX professionally almost every day for almost 10 years, so I think I can say that, by now, I more or less know what I'm doing. I also do a lot of ordinary computer programming, in ...
2k views

### Difference between {} and \/ for breaking ligatures

The Guide to LaTeX (4th ed.) states that \/ is used to break up ligatures (p. 30 and p. 469), which I thought was standardly done with {}. As \/ is normally known to insert an italic correction (see "...
941 views

### Why is the fraction off the math axis in XeTeX?

The fraction in textstyle is off the math axis in XeTeX when I use a Unicode math font. In LuaTeX, though, it aligns nicely with the math axis. The follwing MWE should illustrate this. Also, in ...
858 views

### How can (La)TeX read UTF-8?

As described in The TeXbook, TeX reads files byte by byte, regardless of the particular format -- as I understand, this is just how IniTeX is set up. I also understand that LaTeX is just a ...
566 views

### LuaLatex and large braces with MathTime Professional 2

The following example behaves badly in LuaLatex: \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \begin{document} \[ x = \ccases{ x & 1,\\x & 2,\\x & \text{...
396 views

### Ligatures and hyphenations: the effect of empty brace groups {}

For the following example, \hsize =2in shelf{}ful shelf{}ful shelf{}ful rot{}ten rot{}ten shelf{}ful shelf{}ful shelf{}ful shelf{}ful shelf{}ful rot{}ten rot{}ten shelf{}ful shelf{}ful \bye The ...
451 views

### TeX: reasons to start tokens using backslash

I was wondering over the TeX programming language syntax. Is there a known reason why Knuth chose the backslash notation we all love and fear? It seams to me that most other contemporary languages (C, ...
362 views

### Forbid hyphenation of several consecutive words in text

I am trying to avoid hyphenation over odd pages, and I would like to do it manually: forbid hyphenation of some words. When I embrace the hyphenated word in \hbox, some other adjacent word after re-...
208 views

### Is there a LaTeX/ConTeXt Rosetta stone out there (i.e. LaTeX and ConTeXt files producing the same output)?

Compared to LaTeX (as a set of macros, a "language", not as the latex implementation), there are far fewer ConTeXt documents available. Yet ConTeXt seems really interesting and I want to explore it a ...
494 views

### How do I make a circle of fermions in feynmp? (a self-energy photon)

I'm trying to draw a photon turning into a circle formed by one fermions going one way and the other going the other way, but they both go up. Here is my MWE: \documentclass[amsmath,amssymb,aps,12pt,...
122 views

### TeX's reading rules (text to tokens)

Are TeX's reading rules, which define the conversion from text to tokens, and which are described on pp. 46-48 of Knuth's The TeXbook (1996), describe correctly and completely the reading rules of the ...
255 views

### Plain TeX and XeTeX

Will all plain TeX code also work with XeTeX?