0

I have a peculiar problem that I have failed to solve. I have looked at this and have been unable to fix my problem.

Here is an example of my issue: enter image description here

Everything looks fine, right? However, when I have equations with plus or parenthesis, it shows up like this: enter image description here

The original code contains $f(x)=ax+b$. I cannot figure out what is going on. I am using the kaobook template, found here. I am new to it, and here are the packages I'm using:

    \documentclass[
    fontsize=10pt, 
    twoside=false,
    numbers=noenddot,
]{kaobook}

\usepackage[english]{babel} 
\usepackage[dvipsnames]{xcolor}

\usepackage{amsfonts}               
\usepackage{amsmath}                
\usepackage{amssymb}                
\usepackage{centernot}          
\usepackage{mathrsfs}           
\usepackage{mathtools}              
\usepackage{multirow}       
\usepackage{tikz-cd}    
\usepackage{gensymb}
\usepackage{enumerate}

 \begin{document}
  $f(x)=ax+b$
 \end{document}
6
  • Hard to tell, without code
    – DG'
    Commented Feb 2, 2021 at 19:20
  • you would need to show an example. also the log should report any missing chanaracters something like Missing character: There is no ✦ (U+2726) in font TeXGyreTermes:mode=node;scri so please show your log messages if there are any. Commented Feb 2, 2021 at 20:35
  • 1
    If I try your document I get ! LaTeX Error: Command \refeq already defined (and the resulting pdf has +) Commented Feb 2, 2021 at 22:15
  • From where you get kaobook.cls?
    – MadyYuvi
    Commented Feb 3, 2021 at 8:20
  • @MadyYuvi there is a link in the question (download the template zip file) Commented Feb 3, 2021 at 9:44

0

You must log in to answer this question.

Browse other questions tagged .