packages/language_selector.sty : added subsubsubsection and subsubsubsubsection commands

This commit is contained in:
saundersp 2024-08-05 00:33:04 +02:00
parent 6af3c70835
commit 55ac1c6c20

View File

@ -1,5 +1,8 @@
\ProvidesPackage{packages/language_selector} \ProvidesPackage{packages/language_selector}
\newcommand{\subsubsubsection}[1]{\paragraph{#1}\smallskip}
\newcommand{\subsubsubsubsection}[1]{\subparagraph{#1}\smallskip}
\DeclareOption{french}{ \DeclareOption{french}{
\def\langoption{french} \def\langoption{french}
\newcommand{\lang}[2]{#1} \newcommand{\lang}[2]{#1}
@ -9,6 +12,7 @@
\newcommand{\langsubsection}[2]{\subsection{#1}} \newcommand{\langsubsection}[2]{\subsection{#1}}
\newcommand{\langsubsubsection}[2]{\subsubsection{#1}} \newcommand{\langsubsubsection}[2]{\subsubsection{#1}}
\newcommand{\langsubsubsubsection}[2]{\subsubsubsection{#1}} \newcommand{\langsubsubsubsection}[2]{\subsubsubsection{#1}}
\newcommand{\langsubsubsubsubsection}[2]{\subsubsubsubsection{#1}}
\newcommand{\langnewcites}[3]{\newcites{#1}{#2}} \newcommand{\langnewcites}[3]{\newcites{#1}{#2}}
} }
@ -21,6 +25,7 @@
\newcommand{\langsubsection}[2]{\subsection{#2}} \newcommand{\langsubsection}[2]{\subsection{#2}}
\newcommand{\langsubsubsection}[2]{\subsubsection{#2}} \newcommand{\langsubsubsection}[2]{\subsubsection{#2}}
\newcommand{\langsubsubsubsection}[2]{\subsubsubsection{#2}} \newcommand{\langsubsubsubsection}[2]{\subsubsubsection{#2}}
\newcommand{\langsubsubsubsubsection}[2]{\subsubsubsubsection{#2}}
\newcommand{\langnewcites}[3]{\newcites{#1}{#3}} \newcommand{\langnewcites}[3]{\newcites{#1}{#3}}
} }