tshrinivasan / make_ebooks

Make Ebooks in A4 PDF, 6 inch PDF, epub, mobi formats using Pandoc and xetex for FreeTamilEbooks.com

Home Page:http://FreeTamilEbooks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solution for Bold and Italic

gurulenin opened this issue · comments

according to stackexchange forum we can make bold by add AutoFakeBold=4.0 option while using xelatex engine

here is the complete threat :
https://tex.stackexchange.com/questions/358900/missing-bold-and-italic-font-in-xelatex

we have to add

\usepackage{titlesec}
\usepackage{fontspec}
\usepackage{xcolor}
\usepackage{setspace}
\usepackage{tocloft}

\usepackage[labelformat=empty]{caption}

\setmainfont[AutoFakeBold=4.0,AutoFakeSlant=0.4]{Vijaya} % here add this line in tex header

I also tested this solution. It works fine.

** your bold text goes here**

screenshot from 2018-05-11 19-00-42