
이 소스에서 섹션*을 볼 수 없습니다.
\documentclass[oneside]{book}
\usepackage[margin=1cm,top=1.5cm,right=1.5cm,bottom=2cm]{geometry}
\usepackage[explicit]{titlesec}
\usepackage{polyglossia}
%select languages & fonts ==================================
\setdefaultlanguage[calendar=gregorian,locale=algeria]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Amiri}
\titleformat{\section}
{\Large\bfseries\color{green}}
{\thesection #1}{-1em}{}
\begin{document}
\section{مجموعة الأعداد الطبيعية}
\section*{مجموعة الأعداد}
مجموعة
\end{document}
답변1
다음을 사용하거나 explicit
제거 하지 마십시오 :#1
\titleformat
\documentclass[oneside]{book}
\usepackage[margin=1cm,top=1.5cm,right=1.5cm,bottom=2cm]{geometry}
\usepackage{xcolor}
\usepackage{titlesec}
\usepackage{polyglossia}
%select languages & fonts ==================================
\setdefaultlanguage[calendar=gregorian,locale=algeria]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Amiri}
\titleformat{\section}
{\Large\bfseries\color{green}}
{\thesection}
{1em}
{}
\begin{document}
\section{مجموعة الأعداد الطبيعية}
\section*{مجموعة الأعداد}
مجموعة
\end{document}
섹션 번호를 올바른 순서로 가져오는 방법을 모르겠습니다. 죄송합니다.