1

I want to use a different style for the book document class. I found out that I have to use fncychap package with an option. Since I'm using the xepersian package, it did not work. How can I have a different book style while I'm using the xepersian package? Here is my code

\documentclass[12 pt]{book}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{geometry}
\usepackage[Glenn]{fncychap}

\usepackage{xepersian}
\settextfont{XB Zar}
\setdigitfont{Yas}

\begin{document}

\chapter{
نام فصل
}

\section{
نام بخش
}

این یک متن آزمایشی است.

\end{document}
  • 1
    If you load fncychap after xepersian it almost works (there is no chapter name). – Javier Bezos May 15 '19 at 17:05
  • Dear @Javier Bezos, thank you. It worked. – AYBRXQD May 16 '19 at 4:57
1

According to the @Javier Bezos comment I have found the answer as

\documentclass[12 pt]{book}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{geometry}

\usepackage{xepersian}
\settextfont{XB Zar}
\setdigitfont{Yas}
\usepackage[Glenn]{fncychap}

\begin{document}

\chapter{
نام فصل
}

\section{
نام بخش
}

این یک متن آزمایشی است.

\end{document}

Your Answer

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.