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}
2
  • 1
    If you load fncychap after xepersian it almost works (there is no chapter name). Commented May 15, 2019 at 17:05
  • Dear @Javier Bezos, thank you. It worked.
    – AYBRXQD
    Commented May 16, 2019 at 4:57

1 Answer 1

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}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .