4

Suddenly, all my text that should be italics is appearing as normal text in my PDF. I've no idea what has caused this issue, so short of posting all my files, I'm unable to include a MWE just now.

Here's some notes that might provide some clues as what has caused all italics to show as normal text in the PDF:

  • I'm using the latextemplates.com thesis template
  • I'm using XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015)
  • I'm using biblatex 2015/04/19 v3.0
  • I'm using biber
  • I'm using Lucida Sans Unicode font
  • Bibliography text (including book titles and journal names) that was showing as italics is now showing as normal text.
  • all text wrapped in \textit{} is showing as normal text
  • I'm not getting errors when typesetting
  • I'm getting several LaTeX Font Warnings when typesetting, for example LaTeX Font Warning: Font shape EU1/LucidaSansUnicode(0)/bx/it' undefined
2
  • 3
    Do you have the italic version of the font installed in your system?
    – Sigur
    Commented Jul 8, 2015 at 11:22
  • Not sure. How do I check and how do I download?
    – luciano
    Commented Jul 8, 2015 at 11:51

1 Answer 1

2

LaTeX Font Warning: Font shape EU1/LucidaSansUnicode(0)/bx/it' undefined

This means that (as you have seen from the output) that there is no italic font defined.

This occurs because XeLaTeX (using fontspec) tries to automatically detect the italic font from the main font choice. When this fails, it can't work magic.

So choose your main font with something like:

\setmainfont{Lucida Sans Unicode}[ItalicFont = Lucida Sans Unicode Italic]

or:

\setmainfont[ItalicFont = Lucida Sans Unicode Italic]{Lucida Sans Unicode}

(old syntax, will still work fine if you prefer it.)

4
  • Using either of those lines of code cause errors for me, even after downloading Lucida Sans Unicode Italic from here: ufonts.com/fonts/lucida-sans-italic.html
    – luciano
    Commented Jul 8, 2015 at 12:04
  • After you downloaded the italic font, did you installed it correctly on Ubuntu?
    – Sigur
    Commented Jul 8, 2015 at 12:07
  • @Sigur I'm not sure if I installed correctly, but probably not because it still isn't working. Do you have any links that tell me how to install? I'm on OS X Yosemite, not Ubuntu
    – luciano
    Commented Jul 9, 2015 at 17:40
  • Try this: apple.stackexchange.com/q/56295/61375 I don't use OS X
    – Sigur
    Commented Jul 9, 2015 at 18:06

You must log in to answer this question.

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