Hot answers tagged

10

I suggest you use the datetime2 package with the option en-US: The instruction \DTMlangsetup{ord=raise} instructs datetime2 to treat the day number as an ordinal and to raise the st/nd/rd particles to superscript height. \documentclass{article} \usepackage[en-US]{datetime2} \DTMlangsetup{ord=raise} \begin{document} \today \end{document} Addendum to ...


5

There are two important factors to bear in mind about TeX when thinking about debugging or indeed anything else. The first contains input: TeX reads input either from a file or from the terminal, and these are equivalent. In most cases, a file (or files) is set up to contain the entire TeX run and is self-contained (in LaTeX terms including \end{document}). ...


4

Jsut add an empty boxes at the end of the page: \documentclass[12pt]{article} \usepackage{geometry} \geometry{paper=letterpaper,margin=2cm, showframe} \usepackage[autostyle]{csquotes} \usepackage[dvipsnames]{xcolor} \definecolor{marronMedio}{HTML}{AB8000} \definecolor{amariClaro}{HTML}{FFFFCA} \definecolor{grisMedio}{HTML}{999999} ...


4

Do not use fontenc with xetex, you are specifying T1 encoded fonts which is a non-unicode encoding with just 256 characters, biber and xetex want unicode so you get in the log Missing character: There is no ğ in font ecrm1200! ğ is U+011f so can not be in a T1 encoded font that only has slots up to FF Instead use \usepackage{fontspec} and delete ...


2

Using fontenc with XeLaTeX is wrong, because the engine uses Unicode which is based on Latin-1 for the lowest block and T1 doesn't coincide with Latin-1. The glyph ğ is covered by T1, but it is in a position that can't correspond to the glyph as XeTeX sees it, because it is not in Latin-1. Other glyphs have the same problem; others that are in Latin-1 are ...


2

if you use xepersian package, the better way is to set SepMark as follows: \usepackage{xepersian} \SepMark{-} This way the direction of the numbers is also kept!


1

You can avoid the error by loading ruby after xecjk. Be aware that this is cheating: You are only preventing xecjk to detect that you are loading cjk. It is quite possible that you get other conflicts -- ruby and cjk is not written for xelatex. But it could work, if you adapt the \ruby command as shown in this ...


1

I usually use TheSansMono condensed for code listing. Otherwise I use Consolas for Mono font. For serif and sans fonts, and math fonts, below are some pairings I use frequently, Minion/Cronos/Minion math Minion/Syntax/Minion math Scala/Scala sans/Minion math Times (Linotype version)/candara/Math time pro 2 Lucida bright/Lucida sans/Lucida math (new OT ...



Only top voted, non community-wiki answers of a minimum length are eligible