New answers tagged

2

Thanks for the code. In the future, you’ll be better off removing every part of the preamble that you can, while still demonstrating the bug, and also make sure it compiles (so it’s a Minimal, Working Example.) This helps both you and us: you actually found the location of the bug yourself by removing different parts of your preamble. Also, there’s a \...


2

From the example below, copy the lines between \makeatletter and \makeatother (inclusively) to the preamble of your document. They define your command \italiciselist. \documentclass{article} \makeatletter \newcommand\italiciselist[1]{% \def\il@sep{}% \@for\il@gene:=#1\do{% \il@sep\textit{\il@gene}% \def\il@sep{, }% }% } \makeatother \...


1

Welcome to TeX.SE... You have to define the roman, italic, bold and bolditalic fonts, like (I used AdoneTextPro as example) as below: \setmainfont[Mapping=tex-text, Path = mention file path where you keep the fonts, UprightFont= AdobeTextPro-Regular.otf, BoldFont=AdobeTextPro-Bold.otf, ItalicFont=AdobeTextPro-It.otf, BoldItalicFont=AdobeTextPro-BoldIt.otf ]{...


3

Don't use dollar signs for italics. We have the \textit{…} construct for that purpose. Longer explanation: The spacing in math mode is designed for use in formulas. In math mode, “Effect” would be the product of variables E, f, f, e, c and t. Especially the letter f in math mode has quite generous surrounding space, since otherwise, the letter tends to get ...


Top 50 recent answers are included