presento icon indicating copy to clipboard operation
presento copied to clipboard

Mathematics display is plain.

Open Borbonjuggler opened this issue 7 years ago • 3 comments

First of all, thanks for taking the ti,e for putting together a new beamer theme, I do not understand the reason the math seem so plain.

image I declare a shorthand for the vectors and matrices:

image

this is the code I used for creating the slide :

image

as you see the final is plain no difference with the normal text.

Borbonjuggler avatar Jan 15 '18 16:01 Borbonjuggler

Do you mean the font seems same as the text? You can update that by changing the font for maths environment.

RatulSaha avatar Jan 18 '18 04:01 RatulSaha

Ratul, thanks for replying. you are right, that it is what I meant, that there is no visual difference between the math fonts and the normal text. I have done as you suggested but no change. would you suggest me how to do it?

image

Borbonjuggler avatar Jan 18 '18 07:01 Borbonjuggler

In presento.sty

comment the line 43:

\setmainfont[Ligatures=TeX,Path=fonts/,BoldFont=NotoSans-Bold,ItalicFont=NotoSans-Italic,BoldItalicFont=NotoSans-BoldItalic,SmallCapsFont=AlegreyaSansSC-Regular]{NotoSans-Regular}

and add what you just wrote:

\usefonttheme[onlymath]{serif}

and the math formulas will be like with serif like in regular LaTeX

hashalon avatar Apr 06 '18 20:04 hashalon