1

I'm writing a paper that uses an IEEEtran layout, but for some reason it doesn't seem to be loading the fonts correctly. The abstract should be bold, but it currently isn't, for example.

I'm currently running LuaLaTeX using the following latexmk command:

latexmk -pdf -bibtex-cond -lualatex -use-make -interaction=nonstopmode 

Am I forgetting to install something? I have tried installing all the tex packages that had anything font related in the name to no avail.

Is there a way for me to debug and check what is happening?

Here's the minimal example:

\documentclass[conference,a4paper]{IEEEtran}

\title{The title}

\author{
\IEEEauthorblockN{Author}
\IEEEauthorblockA{Place\\
University of Place\\
Place\\
Email: email@example.com}
}

\begin{document}
    \maketitle

    \begin{abstract}
        This should be bold. It currently isn't.
    \end{abstract}
    \begin{IEEEkeywords}
        key words here
    \end{IEEEkeywords}

    \section{Introduction}
        blah blah blah
\end{document}

Ps.: I've seen a bunch of related questions, but they all were related to languages that use different scripts than latin, which is not my case.

Picture of the document

New contributor
Rafael Dantas is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
3

You can revert to a setup that's mostly similar to pdflatex with two additions:

\renewcommand{\encodingdefault}{OT1}
\documentclass[conference,a4paper]{IEEEtran}
\usepackage[utf8]{luainputenc}

\title{The title}

\author{
\IEEEauthorblockN{Author}
\IEEEauthorblockA{Place\\
University of Place\\
Place\\
Email: email@example.com}
}

\begin{document}

    \maketitle

    \begin{abstract}
        This should be bold. It currently isn't.
    \end{abstract}
    \begin{IEEEkeywords}
        key words here
    \end{IEEEkeywords}

    \section{Introduction}
        blah blah blah
\end{document}

enter image description here

However, if you don't have special needs to run LuaLaTeX, avoid it for submissions to IEEE journals.

  • I didn't had any special reason to be using LuaLaTeX on this specific paper and I have followed your advice on switching back to pdfLaTeX. – Rafael Dantas Jun 13 at 12:00
2

If you must employ LuaLaTeX rather than pdfLaTeX -- say, because you have some nifty Lua code you wish to employ -- I suggest you add the following instructions to the preamble:

\usepackage{ifluatex}
\ifluatex
  \usepackage{unicode-math}
  \setmainfont{Stix Two Text}
  \setmathfont{Stix Two Math}
\fi

Doing this will generate the following output:

enter image description here

Your Answer

Rafael Dantas is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.