
Este es el resultado esperado:
Este es mi trabajo hasta ahora y tuve un problema cuando puse las dos contragolpes para pasar a la nueva línea. Utilice XelaTeX para compilar...
\documentclass[nocrop]{sesamanuel}
\let\ifluatex\relax
\usepackage{hyperref}
\begin{document}
\NewThema{A}{a}{analyse}{Analyse}{ANALYSE}{PartieFonction}{A3}
\themaA
\colorlet{ChapterNumSquare1Color}{PartieFonction}
\chapter{Fonctions\\Numériques}
\cours
my first chapter goes here... chapter goes here...
\themaG
\colorlet{ChapterNumSquare1Color}{PartieGeometrie}
\chapter{Nombres\\Complexes}
\cours
my second chapter goes here...
\NewThema{PS}{ps}{probabilités statistiques}{Probabilités Statistiques}{PROBABILITES \\ STATISTIQUES}{PartieStatistique}{U1}
\themaPS
\colorlet{ChapterNumSquare1Color}{PartieStatistique}
\chapter{Probabilités\\Statistiques}
\cours
my third chapter ....
\end{document}
después de compilarlo este es el resultado:
Respuesta1
Parece que el problema es que \NewThema
no se ocupa bien del salto de línea. Como solución alternativa, podría utilizarla \newcommand*\themaPS{...}
para definir su nuevo tema.
% !TEX TS-program = xelatex
\documentclass[nocrop]{sesamanuel}
\let\ifluatex\relax
\usepackage{hyperref}
\makeatletter
\newcommand*\themaPS{%
\cleardoubleoddpage
\def\smc@thema{probabilités statistiques}%
\def\smc@themacap{PROBABILIT\'ES\\ STATISTIQUES}%
\def\smc@thema@init{ps}%
\def\smc@thema@initcap{PS}%
\smc@themaSColor
}
\makeatother
\begin{document}
\themaPS
\chapter{Partie Statistique}
my first chapter goes here... chapter goes here...
\end{document}