Templates

Persian Assignment

Preview

Persian Assignment

XeLaTeX template for Persian assignments and reports with RTL support, dual modes, and automatic formatting.

Category

Other

License

Free to use (MIT)

File

main.tex

main.texRead-only preview
% ------------------------------------------------------------------------
% Persian assignment/report template (XeLaTeX)
% Author: Mohsen Salah
% GitHub: https://github.com/theQuantaBoy/Persian-LaTeX-Assignment-Template
% Online editor template: https://latex.sharif.edu/read/qdhgndghvrsv
% ------------------------------------------------------------------------

\documentclass[12pt,a4paper]{article}
\usepackage{commons/style}

\begin{document}

% ------------------------------------------------------------------------
% Document mode
% ------------------------------------------------------------------------
\doctype{report} % or: \doctype{report}

% ========================================================================
% Fill the relevant block(s) below.
% ========================================================================

% ------------------------------ Assignment ------------------------------
% --- Course Information ---
\coursetitle{هوش مصنوعی}
\semester{بهار 1405}
\prof{دکتر حسینی}

% --- Student Information ---
\studentname{محمد محمدی}
\studentid{403123456}

% --- Assignment Details ---
\assignmenttype{تمرین شماره 1}
\assignmenttitle{الگوریتم‌های جستجوی ناآگاهانه}

% ------------------------------- Report ---------------------------------
% --- Course & Semester ---
\reportcoursename{آزمایشگاه سیستم‌های عامل}
\reportsemester{بهار 1405}

% --- Instructors ---
\reportprof{دکتر حسن حسنی}
\reportTS{علی علوی}

% --- Group Members ---
\reportgroupmembers{محمد محمدی (403123456) \\ رضا احمدی (403987654)}

% --- University & Department ---
\reportdepartment{دانشکده‌ی مهندسی کامپیوتر}
\reportuniversity{دانشگاه صنعتی شریف}

% --- Report Title ---
\reportsubtitle{گزارش پروژه:}
\reporttitle{زمان‌بندی پردازنده‌ها در لینوکس}

% --- فهرست lists (report mode only) – toggle each independently ---
\reporttoc{false}  % فهرست مطالب  (table of contents) – use \section, \subsection, etc. for headings
\reportlof{false}  % فهرست تصاویر (list of figures)   – populated from \caption{} in figure envs
\reportlot{flase}  % فهرست جداول  (list of tables)    – populated from \caption{} in table envs

\MakeFrontMatter

% ========================================================================

\sectiontitle{تمارین تئوری}
\answers{template/template_theory,
    template/template_tables_figures,
    template/template_code}

\clearpage
\sectiontitle{تمارین عملی}
\resetquestions
\answers{template/practical}

\end{document}
Preview
Persian Assignment preview
Persian Assignment LaTeX Template | Bibby | Bibby AI