The font TeX Gyre Termes has a dedicated ellipsis glyph. It can be seen, for example, by opening the file qtmr.pfb in fontforge; it is the glyph number 133 (in base ten), corresponding to Unicode U+2026.

However, this glyph does not appear in the table generated by \fonttable{rm-qtmr}.

Suppose I'm using the package newtxtext with pdfLaTeX.

In this case (as in all cases I'm familiar with), \dots is not using the dedicated ellipsis glyph, but is rather composed of three separate periods. This is so regardless of whether the ellipsis package is used or not.

My questions are:

  1. How can I use the ellipsis glyph mentioned above in regular text (not math) in my document, assuming it only has to work in regular font size and weight?

  2. What if I want it also to work in italics, boldface, bold italics, and in different sizes (e.g. in footnotes and superscripts)?


The solution, provided by David Carlisle, is to use the LY1 encoding and \textellipsis command (although \dots would work, too). The simplest way is to use \usepackage[LY1]{fontenc} in the preamble. Then any of the following will produce the ellipsis glyph: \symbol{133}, or \textellipsis, or \dots .

But if one wants to preserve the T1 encoding for the rest of the document, one can use \usepackage[LY1,T1]{fontenc} in the preamble (make sure to put T1 last, as that will be the default for the document). Then, in the body of the document, use {\fontencoding{LY1}\selectfont\textellipsis}. Of course, one can also define a new command.

Here is a MWE showing that \textellipsis and \dots still produce three dots rather than a single glyph, and \symbol{133} still produces 'E' with a caron, as it should in T1 encoding. But the new command \ellipsisglyph produces the dedicated ellipsis glyph.

\verb|\ellipsisglyph| & \ellipsisglyph\\
\verb|\textellipsis| & \textellipsis\\
\verb|\dots| & \dots\\
\verb|\symbol{133}| & \symbol{133}

MWE output

1 Answer 1


ellipsis is in the LY1 encoding (in position 133) so you can use that for the whole document, or just for a specific region.

enter image description here





 a \textellipsis\ b


The \showoutput log confirms this is a single glyph, not just three . which is the default definition:

....\LY1/ntxtlf/m/n/10 a
....\glue 2.5 plus 1.99997 minus 1.00006
....\LY1/ntxtlf/m/n/10 �
....\glue 2.5 plus 1.99997 minus 1.00006
....\LY1/ntxtlf/m/n/10 b
  • Thank you! How do I change the encoding mid-document, for just a single character? Nov 13, 2021 at 16:07
  • @linguisticturn {\fontencoding{LY1}\selectfont x} but really unless you are writing in an eastern European language needing Latin 2 accents there isn't a lot of point LY1 is more or less the same as T1 except that it drops some latin 2 accented letters to make space for characters that were in the windows code page including ldots. It's the same underlying font just a different encoded subset exposed to pdflatex. Nov 13, 2021 at 16:10
  • Thank you, {\fontencoding{LY1}\selectfont \textellipsis} works (provided one uses \usepackage[LY1,T1]{fontenc} in the preamble). Nov 13, 2021 at 17:18
  • If I use \usepackage[LY1]{fontenc} in the preamble, the command \fonttable{rm-qtmr} still outputs the table corresponding to T1 encoding, with Ecaron in slot 133 (while \symbol{133} outputs the ellipsis glyph). Is there a way simple way to generate a table that will show LY1 encoding? Nov 13, 2021 at 17:19
  • 1
    I just copied it from the log shown by the original answer eg the showbox fragment I posted Nov 13, 2021 at 18:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .