% Author.............: C. Pierquet
% licence............: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
% licence cliparts...: CC0 from svgrepo (Darius Dan)

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ProfLycee-Pictosbac}[2025/05/25 0.1a Pictogrammes Zone Examen]
%0.1a	Version initiale

%%=====Option(s)

%%=====Packages utiles et indispensables
\RequirePackage{graphicx}
\RequirePackage{xstring}

%%====Macro
%====PICTOBACS
\NewDocumentCommand\pflpictobac{ s O{height=1em} m }{%
	%#* = b&w
	%#2 = options includegraphics
	%#3 = name
	\IfBooleanTF{#1}%
		{%
			\IfStrEqCase{#3}{%
				{amnord}{\includegraphics[page=1,#2]{pfl-pictosbac.pdf}}%
				{amsud}{\includegraphics[page=3,#2]{pfl-pictosbac.pdf}}%
				{amsud.v1}{\includegraphics[page=3,#2]{pfl-pictosbac.pdf}}%
				{amsud.v2}{\includegraphics[page=5,#2]{pfl-pictosbac.pdf}}%
				{asie}{\includegraphics[page=7,#2]{pfl-pictosbac.pdf}}%
				{asie.v1}{\includegraphics[page=7,#2]{pfl-pictosbac.pdf}}%
				{asie.v2}{\includegraphics[page=9,#2]{pfl-pictosbac.pdf}}%
				{ce}{\includegraphics[page=11,#2]{pfl-pictosbac.pdf}}%
				{ce.v1}{\includegraphics[page=11,#2]{pfl-pictosbac.pdf}}%
				{ce.v2}{\includegraphics[page=13,#2]{pfl-pictosbac.pdf}}%
				{ce.v3}{\includegraphics[page=15,#2]{pfl-pictosbac.pdf}}%
				{fr}{\includegraphics[page=17,#2]{pfl-pictosbac.pdf}}%
				{fr.v1}{\includegraphics[page=17,#2]{pfl-pictosbac.pdf}}%
				{fr.v2}{\includegraphics[page=19,#2]{pfl-pictosbac.pdf}}%
				{liban}{\includegraphics[page=21,#2]{pfl-pictosbac.pdf}}%
				{nouvcal}{\includegraphics[page=23,#2]{pfl-pictosbac.pdf}}%
				{reunion}{\includegraphics[page=27,#2]{pfl-pictosbac.pdf}}%
				{reunion.v1}{\includegraphics[page=27,#2]{pfl-pictosbac.pdf}}%
				{reunion.v2}{\includegraphics[page=29,#2]{pfl-pictosbac.pdf}}%
				{poly}{\includegraphics[page=25,#2]{pfl-pictosbac.pdf}}%
				{poly.v1}{\includegraphics[page=25,#2]{pfl-pictosbac.pdf}}%
				{poly.v2}{\includegraphics[page=31,#2]{pfl-pictosbac.pdf}}%
			}%
		}%
		{%
			\IfStrEqCase{#3}{%
				{amnord}{\includegraphics[page=2,#2]{pfl-pictosbac.pdf}}%
				{amsud}{\includegraphics[page=4,#2]{pfl-pictosbac.pdf}}%
				{amsud.v1}{\includegraphics[page=4,#2]{pfl-pictosbac.pdf}}%
				{amsud.v2}{\includegraphics[page=6,#2]{pfl-pictosbac.pdf}}%
				{asie}{\includegraphics[page=8,#2]{pfl-pictosbac.pdf}}%
				{asie.v1}{\includegraphics[page=8,#2]{pfl-pictosbac.pdf}}%
				{asie.v2}{\includegraphics[page=10,#2]{pfl-pictosbac.pdf}}%
				{ce}{\includegraphics[page=12,#2]{pfl-pictosbac.pdf}}%
				{ce.v1}{\includegraphics[page=12,#2]{pfl-pictosbac.pdf}}%
				{ce.v2}{\includegraphics[page=14,#2]{pfl-pictosbac.pdf}}%
				{ce.v3}{\includegraphics[page=16,#2]{pfl-pictosbac.pdf}}%
				{fr}{\includegraphics[page=18,#2]{pfl-pictosbac.pdf}}%
				{fr.v1}{\includegraphics[page=18,#2]{pfl-pictosbac.pdf}}%
				{fr.v2}{\includegraphics[page=20,#2]{pfl-pictosbac.pdf}}%
				{liban}{\includegraphics[page=22,#2]{pfl-pictosbac.pdf}}%
				{nouvcal}{\includegraphics[page=24,#2]{pfl-pictosbac.pdf}}%
				{reunion}{\includegraphics[page=28,#2]{pfl-pictosbac.pdf}}%
				{reunion.v1}{\includegraphics[page=28,#2]{pfl-pictosbac.pdf}}%
				{reunion.v2}{\includegraphics[page=30,#2]{pfl-pictosbac.pdf}}%
				{poly}{\includegraphics[page=26,#2]{pfl-pictosbac.pdf}}%
				{poly.v1}{\includegraphics[page=26,#2]{pfl-pictosbac.pdf}}%
				{poly.v2}{\includegraphics[page=32,#2]{pfl-pictosbac.pdf}}%
			}%
		}%
}

\endinput