forked from Neehan/book-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
38 lines (30 loc) · 1.69 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Overleaf has some problems with latexbangla packages : https://tex.stackexchange.com/q/575777/114006
% Download the project and compile it locally. I have complied it perfectly on Miktex latest version.
% !TEX program = xelatex
% !BIB program = biblatex
\documentclass[12pt, twoside]{book}
\usepackage{bookstyle}
\begin{document}
\frontmatter
\input{titlepage}
\mainmatter
% article 1 ------------- edit its names as necessary
\chapter[সূচিপত্রে ১ম নিবন্ধ শিরোনাম]{ % Short chapter title to show on the table of contents
\chapterphoto{example-image-golden} % Chapter title photo or feature photo
১ম নিবন্ধের পূর্ণ শিরোনাম} % Full chapter title to show on the chapter title page
\chapterauthor{\href{https://github.com/rafisics/ebook-template}{১ম নিবন্ধের লেখক}} % Chapter author name with url
\newpage
\input{articles/article1}
\chapterend
% article 2 ------------- edit its names as necessary
\chapter[সূচিপত্রে ২য় নিবন্ধ শিরোনাম]{
\chapterphoto{example-image-golden}
২য় নিবন্ধের পূর্ণ শিরোনাম}
\chapterauthor{\href{https://github.com/rafisics/ebook-template}{২য় নিবন্ধের লেখক}}
\newpage
\input{articles/article2}
\chapterend
% More articles can be added here in the similar way
\backmatter
\input{endpage}
\end{document}