From d159e2e26b28ea961f947fbf1cf6f1d19c21dd28 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Tue, 22 Mar 2016 12:49:55 +0100 Subject: [PATCH] initial commit --- .gitignore | 42 ++ calculmental/calculmental.cls | 134 ++++++ commun/commun.sty | 77 ++++ couleurs/couleurs.sty | 810 ++++++++++++++++++++++++++++++++++ cours/cours.cls | 369 ++++++++++++++++ 5 files changed, 1432 insertions(+) create mode 100644 .gitignore create mode 100644 calculmental/calculmental.cls create mode 100644 commun/commun.sty create mode 100644 couleurs/couleurs.sty create mode 100644 cours/cours.cls diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48a993d --- /dev/null +++ b/.gitignore @@ -0,0 +1,42 @@ +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so + +# Packages # +############ +# it's better to unpack these files and commit the raw source +# git has its own built in compression methods +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Logs and databases # +###################### +*.log +*.sql +*.sqlite + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Excluded # +############# +SIunits +exc_* diff --git a/calculmental/calculmental.cls b/calculmental/calculmental.cls new file mode 100644 index 0000000..7043db8 --- /dev/null +++ b/calculmental/calculmental.cls @@ -0,0 +1,134 @@ +%%% +%%% +%%% Classe : calculmental.cls +%%% Version : 1.0 +%%% Date : 08/12/14 +%%% Auteur : Jeff LANCE +%%% +%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{calculmental}[2014/12/08 Classe de diaporama de calcul mental, v1.0] + + +%-- classe de base +\LoadClass{beamer} +%-- % + + +%-- extensions +% perso +\RequirePackage{couleurs} +\RequirePackage{commun} +%-- % + + +%-- definitions +%-- % + + +%-- paramètrages +\usetheme{Madrid} +\usefonttheme{serif} +\setbeamerfont{enumerate item}{family=\sffamily} + +\setbeamertemplate{navigation symbols}{% + \insertframenavigationsymbol + \insertsectionnavigationsymbol +} +%-- % + + +%% MACROS : DEBUT +\makeatletter + +%-- Macros personnelles +\newcounter{ctrTime} +\newcommand{\decompte}[1]{% + \setcounter{ctrTime}{#1} + \multido{\n=1+1}{#1}{% + \only<\n>{% + \begin{flushright}\alert{ Il reste \arabic{ctrTime} s. }\end{flushright}% + \transduration{1} + } + \addtocounter{ctrTime}{-1} + } +} + + +\newcommand{\titre}[4]{% + \title{#1} + \subtitle{Calcul Mental} + \date{#2} + \author{#3} + \institute{#4} +} + + +\newcommand{\debut}{% + \begin{frame} + \titlepage + + \transduration{3} + \end{frame} + + \begin{frame} + \centering + Voici un rapide calcul mental pour tester votre compréhension du cours.\\~\\ + \begin{itemize}[<+-|alert@+>] + \item Vous répondrez sur la feuille qui vous a été distribuée. + \item Vous avez 60 secondes pour répondre à chaque question. + \item Un compte à rebours apparaîtra en bas à droite vous indiquant le temps restant pour répondre. + \item C'est un calcul mental, la calculatrice n'est donc pas autorisée. + \end{itemize} + + \only<5->{Bonne chance !} + + \only<3>{ + \decompte{30} + } + \transduration{4} + \end{frame} +} + + +\newcounter{ctrQuest} +\NewDocumentEnvironment{questions}{O{60}}{ % begin + \stepcounter{ctrQuest} + \section{Question \usecounter{ctrQuest}} + \begin{frame} + \centering + Question \usecounter{ctrQuest}\transduration{3} + \end{frame} + \begin{frame} + \centering + \begin{beamerboxesrounded}{Q\usecounter{ctrQuest}.} +} { % end + \end{beamerboxesrounded} % + \decompte{#1} % + \end{frame} % +} + + +\newcommand{\fin}{% + \begin{frame} + \centering + C'est fini !\transduration{3} + \end{frame} + + + \section{Index} + \begin{frame} + \begin{center}{\Large Index des questions}\end{center} + \tableofcontents + \end{frame} +} +%--% + + +% Macros modifiées + +% - % + +\makeatother +%% MACROS : FIN diff --git a/commun/commun.sty b/commun/commun.sty new file mode 100644 index 0000000..4649adb --- /dev/null +++ b/commun/commun.sty @@ -0,0 +1,77 @@ +%%% +%%% +%%% Extensions : commun.sty +%%% Version : 1.0 +%%% Date : 03/05/15 +%%% Auteur : Jeff LANCE +%%% +%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{commun}[2015/05/03 Extensions et definitions globales, v1.0] + + +%-- extensions +% langue et police +\RequirePackage[francais]{babel} +\RequirePackage[utf8]{inputenc} +\RequirePackage[T1]{fontenc} +\RequirePackage{libertine} +\RequirePackage{eurosym} +\RequirePackage{bbding} + +% maths +\RequirePackage{amsmath} +\RequirePackage{amssymb} +\RequirePackage{tkz-euclide} +\RequirePackage{calc} +\RequirePackage{pgfplots} +\RequirePackage[amssymb, squaren, pstricks]{SIunits} +\RequirePackage{asymptote} + +% programmation +\RequirePackage{ifthen} +\RequirePackage{ifmtarg} +\RequirePackage{ifpdf} +\RequirePackage{xstring} +\RequirePackage{multido} +\RequirePackage{xparse} + +% tableau +\RequirePackage{array} +\RequirePackage{tabularx} +%-- % + + +%% MACROS : DEBUT +\makeatletter + +%-- Macros personnelles +% Pour environnement \tabular commandes d'alignement du contenu +% dans la colonne de largeur . +%% lh{largeur} : gauche - haut +%\newcolumntype{lh}[1]{>{\raggedright}p{#1}} +%% ch{largeur} : centre - haut +%\newcolumntype{ch}[1]{>{\centering\arraybackslash}p{#1}} +%% rh{largeur} : droite - haut +%\newcolumntype{rh}[1]{>{\raggedleft}p{#1}} +%% lc{largeur} : gauche - centre +%\newcolumntype{lc}[1]{>{\raggedright}m{#1}} +%% cc{largeur} : centre - centre +\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}} +%% rc{largeur} : droite - centre +%\newcolumntype{rc}[1]{>{\raggedleft}m{#1}} +%% lb{largeur} : gauche - bas +%\newcolumntype{lb}[1]{>{\raggedright}b{#1}} +%% cb{largeur} : centre - bas +%\newcolumntype{cb}[1]{>{\centering}b{#1}} +%% rb{largeur} : droite - bas +%\newcolumntype{rb}[1]{>{\raggedleft}b{#1}} +%--% + + +% Macros modifiées +% - % + +\makeatother +%% MACROS : FIN diff --git a/couleurs/couleurs.sty b/couleurs/couleurs.sty new file mode 100644 index 0000000..99f0ff0 --- /dev/null +++ b/couleurs/couleurs.sty @@ -0,0 +1,810 @@ +%%% +%%% +%%% Extensions : couleurs.sty +%%% Version : 1.0 +%%% Date : 03/05/15 +%%% Auteur : Jeff LANCE +%%% +%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{couleurs}[2015/05/03 Définitions de couleurs, v1.0] + + + +%-- Couleurs +\definecolor{airforceblue}{HTML}{5D8AA8} % Air Force blue +\definecolor{aliceblue}{HTML}{F0F8FF} % Alice blue +\definecolor{alizarin}{HTML}{E32636} % Alizarin +\definecolor{almond}{HTML}{EFDECD} % Almond +\definecolor{amaranth}{HTML}{E52B50} % Amaranth +\definecolor{amber}{HTML}{FFBF00} % Amber +\definecolor{amber-sae}{HTML}{FF7E00} % Amber (SAE/ECE) +\definecolor{americanrose}{HTML}{FF033E} % American rose +\definecolor{amethyst}{HTML}{9966CC} % Amethyst +\definecolor{anti-flashwhite}{HTML}{F2F3F4} % Anti-flash white +\definecolor{antiquebrass}{HTML}{CD9575} % Antique brass +\definecolor{antiquefuchsia}{HTML}{915C83} % Antique fuchsia +\definecolor{antiquewhite}{HTML}{FAEBD7} % Antique white +\definecolor{ao}{HTML}{0000FF} % Ao +\definecolor{ao-english}{HTML}{008000} % Ao (English) +\definecolor{applegreen}{HTML}{8DB600} % Apple green +\definecolor{apricot}{HTML}{FBCEB1} % Apricot +\definecolor{aqua}{HTML}{00FFFF} % Aqua +\definecolor{aquamarine}{HTML}{7FFFD0} % Aquamarine +\definecolor{armygreen}{HTML}{4B5320} % Army green +\definecolor{arsenic}{HTML}{3B444B} % Arsenic +\definecolor{arylideyellow}{HTML}{E9D66B} % Arylide yellow +\definecolor{ashgrey}{HTML}{B2BEB5} % Ash grey +\definecolor{asparagus}{HTML}{87A96B} % Asparagus +\definecolor{atomictangerine}{HTML}{FF9966} % Atomic tangerine +\definecolor{auburn}{HTML}{6D351A} % Auburn +\definecolor{aureolin}{HTML}{FDEE00} % Aureolin +\definecolor{aurometalsaurus}{HTML}{6E7F80} % AuroMetalSaurus +\definecolor{awesome}{HTML}{FF2052} % Awesome +\definecolor{azure-colorwheel}{HTML}{007FFF} % Azure (color wheel) +\definecolor{azure-web}{HTML}{F0FFFF} % Azure (web) (Azure mist) + +\definecolor{babyblue}{HTML}{89CFF0} % Baby blue +\definecolor{babyblueeyes}{HTML}{A1CAF1} % Baby blue eyes +\definecolor{babypink}{HTML}{F4C2C2} % Baby pink +\definecolor{ballblue}{HTML}{21ABCD} % Ball Blue +\definecolor{bananamania}{HTML}{FAE7B5} % Banana Mania +\definecolor{bananayellow}{HTML}{FFE135} % banana yellow +\definecolor{battleshipgrey}{HTML}{848482} % Battleship grey +\definecolor{bazaar}{HTML}{98777B} % Bazaar +\definecolor{beaublue}{HTML}{BCD4E6} % Beau blue +\definecolor{beaver}{HTML}{9F8170} % Beaver +\definecolor{beige}{HTML}{F5F5DC} % Beige +\definecolor{bisque}{HTML}{FFE4C4} % Bisque +\definecolor{bistre}{HTML}{3D2B1F} % Bistre +\definecolor{bittersweet}{HTML}{FE6F5E} % Bittersweet +\definecolor{black}{HTML}{000000} % Black +\definecolor{blanchedalmond}{HTML}{FFEBCD} % Blanched Almond +\definecolor{bleudefrance}{HTML}{318CE7} % Bleu de France +\definecolor{blizzardblue}{HTML}{ACE5EE} % Blizzard Blue +\definecolor{blond}{HTML}{FAF0BE} % Blond +\definecolor{bloodyred}{HTML}{A7000B} % rouge sang +\definecolor{blue}{HTML}{0000FF} % Blue +\definecolor{blue-munsell}{HTML}{0093AF} % Blue (Munsell) +\definecolor{blue-ncs}{HTML}{0087BD} % Blue (NCS) +\definecolor{blue-pigment}{HTML}{333399} % Blue (pigment) +\definecolor{blue-ryb}{HTML}{0247FE} % Blue (RYB) +\definecolor{bluebell}{HTML}{A2A2D0} % Blue Bell +\definecolor{bluegray}{HTML}{6699CC} % Blue Gray +\definecolor{blue-green}{HTML}{00DDDD} % Blue-green +\definecolor{blue-violet}{HTML}{8A2BE2} % Blue-violet +\definecolor{blush}{HTML}{DE5D83} % Blush +\definecolor{bole}{HTML}{79443B} % Bole +\definecolor{bondiblue}{HTML}{0095B6} % Bondi blue +\definecolor{bostonuniversityred}{HTML}{CC0000} % Boston University Red +\definecolor{brandeisblue}{HTML}{0070FF} % Brandeis blue +\definecolor{brass}{HTML}{B5A642} % Brass +\definecolor{brickred}{HTML}{CB4154} % Brick red +\definecolor{brightcerulean}{HTML}{1DACD6} % Bright cerulean +\definecolor{brightgreen}{HTML}{66FF00} % Bright green +\definecolor{brightlavender}{HTML}{BF94E4} % Bright lavender +\definecolor{brightmaroon}{HTML}{C32148} % Bright maroon +\definecolor{brightpink}{HTML}{FF007F} % Bright pink +\definecolor{brightturquoise}{HTML}{08E8DE} % Bright turquoise +\definecolor{brightube}{HTML}{D19FE8} % Bright ube +\definecolor{brilliantlavender}{HTML}{F4BBFF} % Brilliant lavender +\definecolor{brilliantrose}{HTML}{FF55A3} % Brilliant rose +\definecolor{brinkpink}{HTML}{FB607F} % Brink pink +\definecolor{britishracinggreen}{HTML}{004225} % British racing green +\definecolor{bronze}{HTML}{CD7F32} % Bronze +\definecolor{brown-traditional}{HTML}{964B00} % Brown (traditional) +\definecolor{brown-web}{HTML}{A52A2A} % Brown (web) +\definecolor{bubblegum}{HTML}{FFC1CC} % Bubble gum +\definecolor{bubbles}{HTML}{E7FEFF} % Bubbles +\definecolor{buff}{HTML}{F0DC82} % Buff +\definecolor{bulgarianrose}{HTML}{480607} % Bulgarian rose +\definecolor{burgundy}{HTML}{800020} % Burgundy +\definecolor{burlywood}{HTML}{DEB887} % Burlywood +\definecolor{burntorange}{HTML}{CC5500} % Burnt orange +\definecolor{burntsienna}{HTML}{E97451} % Burnt sienna +\definecolor{burntumber}{HTML}{8A3324} % Burnt umber +\definecolor{byzantine}{HTML}{BD33A4} % Byzantine +\definecolor{byzantium}{HTML}{702963} % Byzantium + +\definecolor{cadet}{HTML}{536872} % Cadet +\definecolor{cadetblue}{HTML}{5F9EA0} % Cadet blue +\definecolor{cadetgrey}{HTML}{91A3B0} % Cadet grey +\definecolor{cadmiumgreen}{HTML}{006B3C} % Cadmium Green +\definecolor{cadmiumorange}{HTML}{ED872D} % Cadmium Orange +\definecolor{cadmiumred}{HTML}{E30022} % Cadmium Red +\definecolor{cadmiumyellow}{HTML}{FFF600} % Cadmium Yellow +\definecolor{calpolypomonagreen}{HTML}{1E4D2B} % Cal Poly Pomona green +\definecolor{cambridgeblue}{HTML}{A3C1AD} % Cambridge Blue +\definecolor{camel}{HTML}{C19A6B} % Camel +\definecolor{camouflagegreen}{HTML}{78866B} % Camouflage green +\definecolor{canaryyellow}{HTML}{FFEF00} % Canary yellow +\definecolor{candyapplered}{HTML}{FF0800} % Candy apple red +\definecolor{candypink}{HTML}{E4717A} % Candy pink +\definecolor{capri}{HTML}{00BFFF} % Capri +\definecolor{caputmortuum}{HTML}{592720} % Caput mortuum +\definecolor{cardinal}{HTML}{C41E3A} % Cardinal +\definecolor{caribbeangreen}{HTML}{00CC99} % Caribbean green +\definecolor{carmine}{HTML}{960018} % Carmine +\definecolor{carminepink}{HTML}{EB4C42} % Carmine pink +\definecolor{carminered}{HTML}{FF0038} % Carmine red +\definecolor{carnationpink}{HTML}{FFA6C9} % Carnation pink +\definecolor{carnelian}{HTML}{B31B1B} % Carnelian +\definecolor{carolinablue}{HTML}{99BADD} % Carolina blue +\definecolor{carrotorange}{HTML}{ED9121} % Carrot orange +\definecolor{ceil}{HTML}{92A1CF} % Ceil +\definecolor{celadon}{HTML}{ACE1AF} % Celadon +\definecolor{celestialblue}{HTML}{4997D0} % Celestial blue +\definecolor{cerise}{HTML}{DE3163} % Cerise +\definecolor{cerisepink}{HTML}{EC3B83} % Cerise pink +\definecolor{cerulean}{HTML}{007BA7} % Cerulean +\definecolor{ceruleanblue}{HTML}{2A52BE} % Cerulean blue +\definecolor{chamoisee}{HTML}{A0785A} % Chamoisee +\definecolor{champagne}{HTML}{F7E7CE} % Champagne +\definecolor{charcoal}{HTML}{36454F} % Charcoal +\definecolor{chartreuse-traditional}{HTML}{DFFF00} % Chartreuse (traditional) +\definecolor{chartreuse-web}{HTML}{7FFF00} % Chartreuse (web) +\definecolor{cherryblossompink}{HTML}{FFB7C5} % Cherry blossom pink +\definecolor{chestnut}{HTML}{CD5C5C} % Chestnut +\definecolor{chocolate-traditional}{HTML}{7B3F00} % Chocolate (traditional) +\definecolor{chocolate-web}{HTML}{D2691E} % Chocolate (web) +\definecolor{chromeyellow}{HTML}{FFA700} % Chrome yellow +\definecolor{cinereous}{HTML}{98817B} % Cinereous +\definecolor{cinnabar}{HTML}{E34234} % Cinnabar +\definecolor{cinnamon}{HTML}{D2691E} % Cinnamon +\definecolor{citrine}{HTML}{E4D00A} % Citrine +\definecolor{classicrose}{HTML}{FBCCE7} % Classic rose +\definecolor{cobalt}{HTML}{0047AB} % Cobalt +\definecolor{cocoabrown}{HTML}{D2691E} % Cocoa brown +\definecolor{columbiablue}{HTML}{9BDDFF} % Columbia blue +\definecolor{coolblack}{HTML}{002E63} % Cool black +\definecolor{coolgrey}{HTML}{8C92AC} % Cool grey +\definecolor{copper}{HTML}{B87333} % Copper +\definecolor{copperrose}{HTML}{996666} % Copper rose +\definecolor{coquelicot}{HTML}{FF3800} % Coquelicot +\definecolor{coral}{HTML}{FF7F50} % Coral +\definecolor{coralpink}{HTML}{F88379} % Coral pink +\definecolor{coralred}{HTML}{FF4040} % Coral red +\definecolor{cordovan}{HTML}{893F45} % Cordovan +\definecolor{corn}{HTML}{FBEC5D} % Corn +\definecolor{cornellred}{HTML}{B31B1B} % Cornell Red +\definecolor{cornflowerblue}{HTML}{6495ED} % Cornflower blue +\definecolor{cornsilk}{HTML}{FFF8DC} % Cornsilk +\definecolor{cosmiclatte}{HTML}{FFF8E7} % Cosmic latte +\definecolor{cottoncandy}{HTML}{FFBCD9} % Cotton candy +\definecolor{cream}{HTML}{FFFDD0} % Cream +\definecolor{crimson}{HTML}{DC143C} % Crimson +\definecolor{crimsonglory}{HTML}{BE0032} % Crimson glory +\definecolor{cyan}{HTML}{00FFFF} % Cyan +\definecolor{cyan-process}{HTML}{00B7EB} % Cyan (process) + +\definecolor{daffodil}{HTML}{FFFF31} % Daffodil +\definecolor{dandelion}{HTML}{F0E130} % Dandelion +\definecolor{darkblue}{HTML}{00008B} % Dark blue +\definecolor{darkbrown}{HTML}{654321} % Dark brown +\definecolor{darkbyzantium}{HTML}{5D3954} % Dark byzantium +\definecolor{darkcandyapplered}{HTML}{A40000} % Dark candy apple red +\definecolor{darkcerulean}{HTML}{08457E} % Dark cerulean +\definecolor{darkchampagne}{HTML}{C2B280} % Dark champagne +\definecolor{darkchestnut}{HTML}{986960} % Dark chestnut +\definecolor{darkcoral}{HTML}{CD5B45} % Dark coral +\definecolor{darkcyan}{HTML}{008B8B} % Dark cyan +\definecolor{darkelectricblue}{HTML}{536878} % Dark electric blue +\definecolor{darkgoldenrod}{HTML}{B8860B} % Dark goldenrod +\definecolor{darkgray}{HTML}{A9A9A9} % Dark gray +\definecolor{darkgreen}{HTML}{013220} % Dark green +\definecolor{darkjunglegreen}{HTML}{1A2421} % Dark jungle green +\definecolor{darkkhaki}{HTML}{BDB76B} % Dark khaki +\definecolor{darklava}{HTML}{483C32} % Dark lava +\definecolor{darklavender}{HTML}{734F96} % Dark lavender +\definecolor{darkmagenta}{HTML}{8B008B} % Dark magenta +\definecolor{darkmidnightblue}{HTML}{003366} % Dark midnight blue +\definecolor{darkolivegreen}{HTML}{556B2F} % Dark olive green +\definecolor{darkorange}{HTML}{FF8C00} % Dark orange +\definecolor{darkorchid}{HTML}{9932CC} % Dark orchid +\definecolor{darkpastelblue}{HTML}{779ECB} % Dark pastel blue +\definecolor{darkpastelgreen}{HTML}{03C03C} % Dark pastel green +\definecolor{darkpastelpurple}{HTML}{966FD6} % Dark pastel purple +\definecolor{darkpastelred}{HTML}{C23B22} % Dark pastel red +\definecolor{darkpink}{HTML}{E75480} % Dark pink +\definecolor{darkpowderblue}{HTML}{003399} % Dark powder blue +\definecolor{darkraspberry}{HTML}{872657} % Dark raspberry +\definecolor{darkred}{HTML}{8B0000} % Dark red +\definecolor{darksalmon}{HTML}{E9967A} % Dark salmon +\definecolor{darkscarlet}{HTML}{560319} % Dark scarlet +\definecolor{darkseagreen}{HTML}{8FBC8F} % Dark sea green +\definecolor{darksienna}{HTML}{3C1414} % Dark sienna +\definecolor{darkslateblue}{HTML}{483D8B} % Dark slate blue +\definecolor{darkslategray}{HTML}{2F4F4F} % Dark slate gray +\definecolor{darkspringgreen}{HTML}{177245} % Dark spring green +\definecolor{darktan}{HTML}{918151} % Dark tan +\definecolor{darktangerine}{HTML}{FFA812} % Dark tangerine +\definecolor{darktaupe}{HTML}{483C32} % Dark taupe +\definecolor{darkterracotta}{HTML}{CC4E5C} % Dark terra cotta +\definecolor{darkturquoise}{HTML}{00CED1} % Dark turquoise +\definecolor{darkviolet}{HTML}{9400D3} % Dark violet +\definecolor{dartmouthgreen}{HTML}{00693E} % Dartmouth green +\definecolor{davysgrey}{HTML}{555555} % Davy\'s grey +\definecolor{debianred}{HTML}{D70A53} % Debian red +\definecolor{deepcarmine}{HTML}{A9203E} % Deep carmine +\definecolor{deepcarminepink}{HTML}{EF3038} % Deep carmine pink +\definecolor{deepcarrotorange}{HTML}{E9692C} % Deep carrot orange +\definecolor{deepcerise}{HTML}{DA3287} % Deep cerise +\definecolor{deepchampagne}{HTML}{FAD6A5} % Deep champagne +\definecolor{deepchestnut}{HTML}{B94E48} % Deep chestnut +\definecolor{deepfuchsia}{HTML}{C154C1} % Deep fuchsia +\definecolor{deepjunglegreen}{HTML}{004B49} % Deep jungle green +\definecolor{deeplilac}{HTML}{9955BB} % Deep lilac +\definecolor{deepmagenta}{HTML}{CC00CC} % Deep magenta +\definecolor{deeppeach}{HTML}{FFCBA4} % Deep peach +\definecolor{deeppink}{HTML}{FF1493} % Deep pink +\definecolor{deepsaffron}{HTML}{FF9933} % Deep saffron +\definecolor{deepskyblue}{HTML}{00BFFF} % Deep sky blue +\definecolor{denim}{HTML}{1560BD} % Denim +\definecolor{desert}{HTML}{C19A6B} % Desert +\definecolor{desertsand}{HTML}{EDC9AF} % Desert sand +\definecolor{dimgray}{HTML}{696969} % Dim gray +\definecolor{dodgerblue}{HTML}{1E90FF} % Dodger blue +\definecolor{dogwoodrose}{HTML}{D71868} % Dogwood rose +\definecolor{dollarbill}{HTML}{85BB65} % Dollar bill +\definecolor{drab}{HTML}{967117} % Drab +\definecolor{dukeblue}{HTML}{00009C} % Duke blue + +\definecolor{earthyellow}{HTML}{E1A95F} % Earth yellow +\definecolor{ecru}{HTML}{C2B280} % Ecru +\definecolor{eggplant}{HTML}{614051} % Eggplant +\definecolor{eggshell}{HTML}{F0EAD6} % Eggshell +\definecolor{egyptianblue}{HTML}{1034A6} % Egyptian blue +\definecolor{electricblue}{HTML}{7DF9FF} % Electric blue +\definecolor{electriccrimson}{HTML}{FF003F} % Electric crimson +\definecolor{electriccyan}{HTML}{00FFFF} % Electric cyan +\definecolor{electricgreen}{HTML}{00FF00} % Electric green +\definecolor{electricindigo}{HTML}{6F00FF} % Electric indigo +\definecolor{electriclavender}{HTML}{F4BBFF} % Electric lavender +\definecolor{electriclime}{HTML}{CCFF00} % Electric lime +\definecolor{electricpurple}{HTML}{BF00FF} % Electric purple +\definecolor{electricultramarine}{HTML}{3F00FF} % Electric ultramarine +\definecolor{electricviolet}{HTML}{8F00FF} % Electric violet +\definecolor{electricyellow}{HTML}{FFFF00} % Electric Yellow +\definecolor{emerald}{HTML}{50C878} % Emerald +\definecolor{etonblue}{HTML}{96C8A2} % Eton blue + +\definecolor{fallow}{HTML}{C19A6B} % Fallow +\definecolor{falured}{HTML}{801818} % Falu red +\definecolor{fandango}{HTML}{B53389} % Fandango +\definecolor{fashionfuchsia}{HTML}{F400A1} % Fashion fuchsia +\definecolor{fawn}{HTML}{E5AA70} % Fawn +\definecolor{feldgrau}{HTML}{4D5D53} % Feldgrau +\definecolor{ferngreen}{HTML}{4F7942} % Fern green +\definecolor{ferrarired}{HTML}{FF2800} % Ferrari Red +\definecolor{fielddrab}{HTML}{6C541E} % Field drab +\definecolor{firebrick}{HTML}{B22222} % Firebrick +\definecolor{fireenginered}{HTML}{CE2029} % Fire engine red +\definecolor{flame}{HTML}{E25822} % Flame +\definecolor{flamingopink}{HTML}{FC8EAC} % Flamingo pink +\definecolor{flavescent}{HTML}{F7E98E} % Flavescent +\definecolor{flax}{HTML}{EEDC82} % Flax +\definecolor{floralwhite}{HTML}{FFFAF0} % Floral white +\definecolor{fluorescentorange}{HTML}{FFBF00} % Fluorescent orange +\definecolor{fluorescentpink}{HTML}{FF1493} % Fluorescent pink +\definecolor{fluorescentyellow}{HTML}{CCFF00} % Fluorescent yellow +\definecolor{folly}{HTML}{FF004F} % Folly +\definecolor{forestgreen-traditional}{HTML}{014421} % Forest green (traditional) +\definecolor{forestgreen-web}{HTML}{228B22} % Forest green (web) +\definecolor{frenchbeige}{HTML}{A67B5B} % French beige +\definecolor{frenchblue}{HTML}{0072BB} % French blue +\definecolor{frenchlilac}{HTML}{86608E} % French lilac +\definecolor{frenchrose}{HTML}{F64A8A} % French rose +\definecolor{fuchsia}{HTML}{FF00FF} % Fuchsia +\definecolor{fuchsiapink}{HTML}{FF77FF} % Fuchsia pink +\definecolor{fulvous}{HTML}{E48400} % Fulvous +\definecolor{fuzzywuzzy}{HTML}{CC6666} % Fuzzy Wuzzy + +\definecolor{gainsboro}{HTML}{DCDCDC} % Gainsboro +\definecolor{gamboge}{HTML}{E49B0F} % Gamboge +\definecolor{ghostwhite}{HTML}{F8F8FF} % Ghost white +\definecolor{ginger}{HTML}{B06500} % Ginger +\definecolor{glaucous}{HTML}{6082B6} % Glaucous +\definecolor{gold-metallic}{HTML}{D4AF37} % Gold (metallic) +\definecolor{gold-web}{HTML}{FFD700} % Gold (web) (Golden) +\definecolor{goldenbrown}{HTML}{996515} % Golden brown +\definecolor{goldenpoppy}{HTML}{FCC200} % Golden poppy +\definecolor{goldenyellow}{HTML}{FFDF00} % Golden yellow +\definecolor{goldenrod}{HTML}{DAA520} % Goldenrod +\definecolor{grannysmithapple}{HTML}{A8E4A0} % Granny Smith Apple +\definecolor{gray}{HTML}{808080} % Gray +\definecolor{gray-html}{HTML}{7F7F7F} % Gray (HTML/CSS gray) +\definecolor{gray-x11}{HTML}{BEBEBE} % Gray (X11 gray) +\definecolor{gray-asparagus}{HTML}{465945} % Gray-asparagus +\definecolor{green-colorwheel}{HTML}{00FF00} % Green (color wheel) (X11 green) +\definecolor{green-html}{HTML}{008000} % Green (HTML/CSS green) +\definecolor{green-munsell}{HTML}{00A877} % Green (Munsell) +\definecolor{green-ncs}{HTML}{009F6B} % Green (NCS) +\definecolor{green-pigment}{HTML}{00A550} % Green (pigment) +\definecolor{green-ryb}{HTML}{66B032} % Green (RYB) +\definecolor{green-yellow}{HTML}{ADFF2F} % Green-yellow +\definecolor{grullo}{HTML}{A99A86} % Grullo +\definecolor{guppiegreen}{HTML}{00FF7F} % Guppie green + +\definecolor{halayaube}{HTML}{663854} % Halaya ube +\definecolor{hanblue}{HTML}{446CCF} % Han blue +\definecolor{hanpurple}{HTML}{5218FA} % Han purple +\definecolor{hansayellow}{HTML}{E9D66B} % Hansa yellow +\definecolor{harlequin}{HTML}{3FFF00} % Harlequin +\definecolor{harvardcrimson}{HTML}{C90016} % Harvard crimson +\definecolor{harvestgold}{HTML}{DA9100} % Harvest Gold +\definecolor{heartgold}{HTML}{808000} % Heart Gold +\definecolor{heliotrope}{HTML}{DF73FF} % Heliotrope +\definecolor{hollywoodcerise}{HTML}{F400A1} % Hollywood cerise +\definecolor{honeydew}{HTML}{F0FFF0} % Honeydew +\definecolor{hookersgreen}{HTML}{007000} % Hooker\'s green +\definecolor{hotmagenta}{HTML}{FF1DCE} % Hot magenta +\definecolor{hotpink}{HTML}{FF69B4} % Hot pink +\definecolor{huntergreen}{HTML}{355E3B} % Hunter green + +\definecolor{iceberg}{HTML}{71A6D2} % Iceberg +\definecolor{icterine}{HTML}{FCF75E} % Icterine +\definecolor{inchworm}{HTML}{B2EC5D} % Inchworm +\definecolor{indiagreen}{HTML}{138808} % India green +\definecolor{indianred}{HTML}{CD5C5C} % Indian red +\definecolor{indianyellow}{HTML}{E3A857} % Indian yellow +\definecolor{indigo-dye}{HTML}{00416A} % Indigo (dye) +\definecolor{indigo-web}{HTML}{4B0082} % Indigo (web) +\definecolor{internationalkleinblue}{HTML}{002FA7} % International Klein Blue +\definecolor{internationalorange}{HTML}{FF4F00} % International orange +\definecolor{iris}{HTML}{5A4FCF} % Iris +\definecolor{isabelline}{HTML}{F4F0EC} % Isabelline +\definecolor{islamicgreen}{HTML}{009000} % Islamic green +\definecolor{ivory}{HTML}{FFFFF0} % Ivory + +\definecolor{jade}{HTML}{00A86B} % Jade +\definecolor{jasper}{HTML}{D73B3E} % Jasper +\definecolor{jazzberryjam}{HTML}{A50B5E} % Jazzberry jam +\definecolor{jonquil}{HTML}{FADA5E} % Jonquil +\definecolor{junebud}{HTML}{BDDA57} % June bud +\definecolor{junglegreen}{HTML}{29AB87} % Jungle green + +\definecolor{kellygreen}{HTML}{4CBB17} % Kelly green +\definecolor{khaki-html}{HTML}{C3B091} % Khaki (HTML/CSS) (Khaki) +\definecolor{khaki-x11}{HTML}{F0E68C} % Khaki (X11) (Light khaki) + +\definecolor{lasallegreen}{HTML}{087830} % La Salle Green +\definecolor{languidlavender}{HTML}{D6CADD} % Languid lavender +\definecolor{lapislazuli}{HTML}{26619C} % Lapis lazuli +\definecolor{laserlemon}{HTML}{FEFE22} % Laser Lemon +\definecolor{lava}{HTML}{CF1020} % Lava +\definecolor{lavender-floral}{HTML}{B57EDC} % Lavender (floral) +\definecolor{lavender-web}{HTML}{E6E6FA} % Lavender (web) +\definecolor{lavenderblue}{HTML}{CCCCFF} % Lavender blue +\definecolor{lavenderblush}{HTML}{FFF0F5} % Lavender blush +\definecolor{lavendergray}{HTML}{C4C3D0} % Lavender gray +\definecolor{lavenderindigo}{HTML}{9457EB} % Lavender indigo +\definecolor{lavendermagenta}{HTML}{EE82EE} % Lavender magenta +\definecolor{lavendermist}{HTML}{E6E6FA} % Lavender mist +\definecolor{lavenderpink}{HTML}{FBAED2} % Lavender pink +\definecolor{lavenderpurple}{HTML}{967BB6} % Lavender purple +\definecolor{lavenderrose}{HTML}{FBA0E3} % Lavender rose +\definecolor{lawngreen}{HTML}{7CFC00} % Lawn green +\definecolor{lemon}{HTML}{FFF700} % Lemon +\definecolor{lemonchiffon}{HTML}{FFFACD} % Lemon chiffon +\definecolor{lightapricot}{HTML}{FDD5B1} % Light apricot +\definecolor{lightblue}{HTML}{ADD8E6} % Light blue +\definecolor{lightbrown}{HTML}{B5651D} % Light brown +\definecolor{lightcarminepink}{HTML}{E66771} % Light carmine pink +\definecolor{lightcoral}{HTML}{F08080} % Light coral +\definecolor{lightcornflowerblue}{HTML}{93CCEA} % Light cornflower blue +\definecolor{lightcyan}{HTML}{E0FFFF} % Light cyan +\definecolor{lightfuchsiapink}{HTML}{F984EF} % Light fuchsia pink +\definecolor{lightgoldenrodyellow}{HTML}{FAFAD2} % Light goldenrod yellow +\definecolor{lightgray}{HTML}{D3D3D3} % Light gray +\definecolor{lightgreen}{HTML}{90EE90} % Light green +\definecolor{lightkhaki}{HTML}{F0E68C} % Light khaki +\definecolor{lightmauve}{HTML}{DCD0FF} % Light mauve +\definecolor{lightpastelpurple}{HTML}{B19CD9} % Light pastel purple +\definecolor{lightpink}{HTML}{FFB6C1} % Light pink +\definecolor{lightsalmon}{HTML}{FFA07A} % Light salmon +\definecolor{lightsalmonpink}{HTML}{FF9999} % Light salmon pink +\definecolor{lightseagreen}{HTML}{20B2AA} % Light sea green +\definecolor{lightskyblue}{HTML}{87CEEB} % Light sky blue +\definecolor{lightslategray}{HTML}{778899} % Light slate gray +\definecolor{lighttaupe}{HTML}{B38B6D} % Light taupe +\definecolor{lightthulianpink}{HTML}{E68FAC} % Light Thulian pink +\definecolor{lightyellow}{HTML}{FFFFED} % Light yellow +\definecolor{lilac}{HTML}{C8A2C8} % Lilac +\definecolor{lime-colorwheel}{HTML}{BFFF00} % Lime (color wheel) +\definecolor{lime-web}{HTML}{00FF00} % Lime (web) (X11 green) +\definecolor{limegreen}{HTML}{32CD32} % Lime green +\definecolor{lincolngreen}{HTML}{195905} % Lincoln green +\definecolor{linen}{HTML}{FAF0E6} % Linen +\definecolor{liver}{HTML}{534B4F} % Liver +\definecolor{lust}{HTML}{E62020} % Lust + +\definecolor{macaroniandcheese}{HTML}{FFBD88} % Macaroni and Cheese +\definecolor{magenta}{HTML}{FF00FF} % Magenta +\definecolor{magenta-dye}{HTML}{CA1F7B} % Magenta (dye) +\definecolor{magenta-process}{HTML}{FF0090} % Magenta (process) +\definecolor{magicmint}{HTML}{AAF0D1} % Magic mint +\definecolor{magnolia}{HTML}{F8F4FF} % Magnolia +\definecolor{mahogany}{HTML}{C04000} % Mahogany +\definecolor{maize}{HTML}{FBEC5D} % Maize +\definecolor{majorelleblue}{HTML}{6050DC} % Majorelle Blue +\definecolor{malachite}{HTML}{0BDA51} % Malachite +\definecolor{manatee}{HTML}{979AAA} % Manatee +\definecolor{mangotango}{HTML}{FF8243} % Mango Tango +\definecolor{maroon-html}{HTML}{800000} % Maroon (HTML/CSS) +\definecolor{maroon-x11}{HTML}{B03060} % Maroon (X11) +\definecolor{mauve}{HTML}{E0B0FF} % Mauve +\definecolor{mauvetaupe}{HTML}{915F6D} % Mauve taupe +\definecolor{mauvelous}{HTML}{EF98AA} % Mauvelous +\definecolor{mayablue}{HTML}{73C2FB} % Maya blue +\definecolor{meatbrown}{HTML}{E5B73B} % Meat brown +\definecolor{mediumaquamarine}{HTML}{66DDAA} % Medium aquamarine +\definecolor{mediumblue}{HTML}{0000CD} % Medium blue +\definecolor{mediumcandyapplered}{HTML}{E2062C} % Medium candy apple red +\definecolor{mediumcarmine}{HTML}{AF4035} % Medium carmine +\definecolor{mediumchampagne}{HTML}{F3E5AB} % Medium champagne +\definecolor{mediumelectricblue}{HTML}{035096} % Medium electric blue +\definecolor{mediumjunglegreen}{HTML}{1C352D} % Medium jungle green +\definecolor{mediumlavendermagenta}{HTML}{DDA0DD} % Medium lavender magenta +\definecolor{mediumorchid}{HTML}{BA55D3} % Medium orchid +\definecolor{mediumpersianblue}{HTML}{0067A5} % Medium Persian blue +\definecolor{mediumpurple}{HTML}{9370DB} % Medium purple +\definecolor{mediumred-violet}{HTML}{BB3385} % Medium red-violet +\definecolor{mediumseagreen}{HTML}{3CB371} % Medium sea green +\definecolor{mediumslateblue}{HTML}{7B68EE} % Medium slate blue +\definecolor{mediumspringbud}{HTML}{C9DC87} % Medium spring bud +\definecolor{mediumspringgreen}{HTML}{00FA9A} % Medium spring green +\definecolor{mediumtaupe}{HTML}{674C47} % Medium taupe +\definecolor{mediumtealblue}{HTML}{0054B4} % Medium teal blue +\definecolor{mediumturquoise}{HTML}{48D1CC} % Medium turquoise +\definecolor{mediumviolet-red}{HTML}{C71585} % Medium violet-red +\definecolor{melon}{HTML}{FDBCB4} % Melon +\definecolor{midnightblue}{HTML}{191970} % Midnight blue +\definecolor{midnightgreen(eaglegreen)}{HTML}{004953} % Midnight green (eagle green) +\definecolor{mikadoyellow}{HTML}{FFC40C} % Mikado yellow +\definecolor{mint}{HTML}{3EB489} % Mint +\definecolor{mintcream}{HTML}{F5FFFA} % Mint cream +\definecolor{mintgreen}{HTML}{98FF98} % Mint green +\definecolor{mistyrose}{HTML}{FFE4E1} % Misty rose +\definecolor{moccasin}{HTML}{FAEBD7} % Moccasin +\definecolor{modebeige}{HTML}{967117} % Mode beige +\definecolor{moonstoneblue}{HTML}{73A9C2} % Moonstone blue +\definecolor{mordantred19}{HTML}{AE0C00} % Mordant red 19 +\definecolor{mossgreen}{HTML}{ADDFAD} % Moss green +\definecolor{mountainmeadow}{HTML}{30BA8F} % Mountain Meadow +\definecolor{mountbattenpink}{HTML}{997A8D} % Mountbatten pink +\definecolor{mulberry}{HTML}{C54B8C} % Mulberry +\definecolor{mustard}{HTML}{FFDB58} % Mustard +\definecolor{myrtle}{HTML}{21421E} % Myrtle +\definecolor{msugreen}{HTML}{18453B} % MSU Green + +\definecolor{nadeshikopink}{HTML}{F6ADC6} % Nadeshiko pink +\definecolor{napiergreen}{HTML}{2A8000} % Napier green +\definecolor{naplesyellow}{HTML}{FADA5E} % Naples yellow +\definecolor{navajowhite}{HTML}{FFDEAD} % Navajo white +\definecolor{navyblue}{HTML}{000080} % Navy blue +\definecolor{neoncarrot}{HTML}{FFA343} % Neon Carrot +\definecolor{neonfuchsia}{HTML}{FE59C2} % Neon fuchsia +\definecolor{neongreen}{HTML}{39FF14} % Neon green +\definecolor{non-photoblue}{HTML}{A4DDED} % Non-photo blue + +\definecolor{oceanboatblue}{HTML}{0077BE} % Ocean Boat Blue +\definecolor{ochre}{HTML}{CC7722} % Ochre +\definecolor{officegreen}{HTML}{008000} % Office green +\definecolor{oldgold}{HTML}{CFB53B} % Old gold +\definecolor{oldlace}{HTML}{FDF5E6} % Old lace +\definecolor{oldlavender}{HTML}{796878} % Old lavender +\definecolor{oldmauve}{HTML}{673147} % Old mauve +\definecolor{oldrose}{HTML}{C08081} % Old rose +\definecolor{olive}{HTML}{808000} % Olive +\definecolor{olivedrab3}{HTML}{6B8E23} % Olive Drab (web) (Olive Drab #3) +\definecolor{olivedrab7}{HTML}{3C341F} % Olive Drab #7 +\definecolor{olivine}{HTML}{9AB973} % Olivine +\definecolor{onyx}{HTML}{0F0F0F} % Onyx +\definecolor{operamauve}{HTML}{B784A7} % Opera mauve +\definecolor{orange-colorwheel}{HTML}{FF7F00} % Orange (color wheel) +\definecolor{orange-ryb}{HTML}{FB9902} % Orange (RYB) +\definecolor{orange-web}{HTML}{FFA500} % Orange (web color) +\definecolor{orangepeel}{HTML}{FF9F00} % Orange peel +\definecolor{orange-red}{HTML}{FF4500} % Orange-red +\definecolor{orchid}{HTML}{DA70D6} % Orchid +\definecolor{otterbrown}{HTML}{654321} % Otter brown +\definecolor{outerspace}{HTML}{414A4C} % Outer Space +\definecolor{outrageousorange}{HTML}{FF6E4A} % Outrageous Orange +\definecolor{oxfordblue}{HTML}{002147} % Oxford Blue +\definecolor{oucrimsonred}{HTML}{990000} % OU Crimson Red + +\definecolor{pakistangreen}{HTML}{006600} % Pakistan green +\definecolor{palatinateblue}{HTML}{273BE2} % Palatinate blue +\definecolor{palatinatepurple}{HTML}{682860} % Palatinate purple +\definecolor{paleaqua}{HTML}{BCD4E6} % Pale aqua +\definecolor{paleblue}{HTML}{AFEEEE} % Pale blue +\definecolor{palebrown}{HTML}{987654} % Pale brown +\definecolor{palecarmine}{HTML}{AF4035} % Pale carmine +\definecolor{palecerulean}{HTML}{9BC4E2} % Pale cerulean +\definecolor{palechestnut}{HTML}{DDADAF} % Pale chestnut +\definecolor{palecopper}{HTML}{DA8A67} % Pale copper +\definecolor{palecornflowerblue}{HTML}{ABCDEF} % Pale cornflower blue +\definecolor{palegold}{HTML}{E6BE8A} % Pale gold +\definecolor{palegoldenrod}{HTML}{EEE8AA} % Pale goldenrod +\definecolor{palegreen}{HTML}{98FB98} % Pale green +\definecolor{palemagenta}{HTML}{F984E5} % Pale magenta +\definecolor{palepink}{HTML}{FADADD} % Pale pink +\definecolor{paleplum}{HTML}{DDA0DD} % Pale plum +\definecolor{palered-violet}{HTML}{DB7093} % Pale red-violet +\definecolor{palerobineggblue}{HTML}{96DED1} % Pale robin egg blue +\definecolor{palesilver}{HTML}{C9C0BB} % Pale silver +\definecolor{palespringbud}{HTML}{ECEBBD} % Pale spring bud +\definecolor{paletaupe}{HTML}{BC987E} % Pale taupe +\definecolor{paleviolet-red}{HTML}{DB7093} % Pale violet-red +\definecolor{pansypurple}{HTML}{78184A} % Pansy purple +\definecolor{papayawhip}{HTML}{FFEFD5} % Papaya whip +\definecolor{parisgreen}{HTML}{50C878} % Paris Green +\definecolor{pastelblue}{HTML}{AEC6CF} % Pastel blue +\definecolor{pastelbrown}{HTML}{836953} % Pastel brown +\definecolor{pastelgray}{HTML}{CFCFC4} % Pastel gray +\definecolor{pastelgreen}{HTML}{77DD77} % Pastel green +\definecolor{pastelmagenta}{HTML}{F49AC2} % Pastel magenta +\definecolor{pastelorange}{HTML}{FFB347} % Pastel orange +\definecolor{pastelpink}{HTML}{FFD1DC} % Pastel pink +\definecolor{pastelpurple}{HTML}{B39EB5} % Pastel purple +\definecolor{pastelred}{HTML}{FF6961} % Pastel red +\definecolor{pastelviolet}{HTML}{CB99C9} % Pastel violet +\definecolor{pastelyellow}{HTML}{FDFD96} % Pastel yellow +\definecolor{patriarch}{HTML}{800080} % Patriarch +\definecolor{paynesgrey}{HTML}{40404F} % Payne\'s grey +\definecolor{peach}{HTML}{FFE5B4} % Peach +\definecolor{peach-orange}{HTML}{FFCC99} % Peach-orange +\definecolor{peachpuff}{HTML}{FFDAB9} % Peach puff +\definecolor{peach-yellow}{HTML}{FADFAD} % Peach-yellow +\definecolor{pear}{HTML}{D1E231} % Pear +\definecolor{pearl}{HTML}{F0EAD6} % Pearl +\definecolor{peridot}{HTML}{E6E200} % Peridot +\definecolor{periwinkle}{HTML}{CCCCFF} % Periwinkle +\definecolor{persianblue}{HTML}{1C39BB} % Persian blue +\definecolor{persiangreen}{HTML}{00A693} % Persian green +\definecolor{persianindigo}{HTML}{32127A} % Persian indigo +\definecolor{persianorange}{HTML}{D99058} % Persian orange +\definecolor{peru}{HTML}{CD853F} % Peru +\definecolor{persianpink}{HTML}{F77FBE} % Persian pink +\definecolor{persianplum}{HTML}{701C1C} % Persian plum +\definecolor{persianred}{HTML}{CC3333} % Persian red +\definecolor{persianrose}{HTML}{FE28A2} % Persian rose +\definecolor{persimmon}{HTML}{EC5800} % Persimmon +\definecolor{phlox}{HTML}{DF00FF} % Phlox +\definecolor{phthaloblue}{HTML}{000F89} % Phthalo blue +\definecolor{phthalogreen}{HTML}{123524} % Phthalo green +\definecolor{piggypink}{HTML}{FDDDE6} % Piggy pink +\definecolor{pinegreen}{HTML}{01796F} % Pine green +\definecolor{pink}{HTML}{FFC0CB} % Pink +\definecolor{pink-orange}{HTML}{FF9966} % Pink-orange +\definecolor{pinkpearl}{HTML}{E7ACCF} % Pink pearl +\definecolor{pinksherbet}{HTML}{F78FA7} % Pink Sherbet +\definecolor{pistachio}{HTML}{93C572} % Pistachio +\definecolor{platinum}{HTML}{E5E4E2} % Platinum +\definecolor{plum-traditional}{HTML}{8E4585} % Plum (traditional) +\definecolor{plum-web}{HTML}{DDA0DD} % Plum (web) +\definecolor{portlandorange}{HTML}{FF5A36} % Portland Orange +\definecolor{powderblue-web}{HTML}{B0E0E6} % Powder blue (web) +\definecolor{princetonorange}{HTML}{FF8F00} % Princeton orange +\definecolor{prune}{HTML}{701C1C} % Prune +\definecolor{prussianblue}{HTML}{003153} % Prussian blue +\definecolor{psychedelicpurple}{HTML}{DF00FF} % Psychedelic purple +\definecolor{puce}{HTML}{CC8899} % Puce +\definecolor{pumpkin}{HTML}{FF7518} % Pumpkin +\definecolor{purple-html}{HTML}{800080} % Purple (HTML/CSS) +\definecolor{purple-munsell}{HTML}{9F00C5} % Purple (Munsell) +\definecolor{purple-x11}{HTML}{A020F0} % Purple (X11) +\definecolor{purpleheart}{HTML}{69359C} % Purple Heart +\definecolor{purplemountainmajesty}{HTML}{9678B6} % Purple mountain majesty +\definecolor{purplepizzazz}{HTML}{FE4EDA} % Purple pizzazz +\definecolor{purpletaupe}{HTML}{50404D} % Purple taupe + +\definecolor{radicalred}{HTML}{FF355E} % Radical Red +\definecolor{raspberry}{HTML}{E30B5D} % Raspberry +\definecolor{raspberryglace}{HTML}{915F6D} % Raspberry glace +\definecolor{raspberrypink}{HTML}{E25098} % Raspberry pink +\definecolor{raspberryrose}{HTML}{B3446C} % Raspberry rose +\definecolor{rawumber}{HTML}{826644} % Raw umber +\definecolor{razzledazzlerose}{HTML}{FF33CC} % Razzle dazzle rose +\definecolor{razzmatazz}{HTML}{E3256B} % Razzmatazz +\definecolor{red}{HTML}{FF0000} % Red +\definecolor{red-munsell}{HTML}{F2003C} % Red (Munsell) +\definecolor{red-ncs}{HTML}{C40233} % Red (NCS) +\definecolor{red-pigment}{HTML}{ED1C24} % Red (pigment) +\definecolor{red-ryb}{HTML}{FE2712} % Red (RYB) +\definecolor{red-brown}{HTML}{A52A2A} % Red-brown +\definecolor{red-violet}{HTML}{C71585} % Red-violet +\definecolor{redwood}{HTML}{AB4E52} % Redwood +\definecolor{regalia}{HTML}{522D80} % Regalia +\definecolor{richblack}{HTML}{004040} % Rich black +\definecolor{richbrilliantlavender}{HTML}{F1A7FE} % Rich brilliant lavender +\definecolor{richcarmine}{HTML}{D70040} % Rich carmine +\definecolor{richelectricblue}{HTML}{0892D0} % Rich electric blue +\definecolor{richlavender}{HTML}{A76BCF} % Rich lavender +\definecolor{richlilac}{HTML}{B666D2} % Rich lilac +\definecolor{richmaroon}{HTML}{B03060} % Rich maroon +\definecolor{riflegreen}{HTML}{414833} % Rifle green +\definecolor{robineggblue}{HTML}{00CCCC} % Robin egg blue +\definecolor{rose}{HTML}{FF007F} % Rose +\definecolor{rosebonbon}{HTML}{F9429E} % Rose bonbon +\definecolor{roseebony}{HTML}{674846} % Rose ebony +\definecolor{rosegold}{HTML}{B76E79} % Rose gold +\definecolor{rosemadder}{HTML}{E32636} % Rose madder +\definecolor{rosepink}{HTML}{FF66CC} % Rose pink +\definecolor{rosequartz}{HTML}{AA98A9} % Rose quartz +\definecolor{rosetaupe}{HTML}{905D5D} % Rose taupe +\definecolor{rosevale}{HTML}{AB4E52} % Rose vale +\definecolor{rosewood}{HTML}{65000B} % Rosewood +\definecolor{rossocorsa}{HTML}{D40000} % Rosso corsa +\definecolor{rosybrown}{HTML}{BC8F8F} % Rosy brown +\definecolor{royalazure}{HTML}{0038A8} % Royal azure +\definecolor{royalblue-traditional}{HTML}{002366} % Royal blue (traditional) +\definecolor{royalblue-web}{HTML}{4169E1} % Royal blue (web) +\definecolor{royalfuchsia}{HTML}{CA2C92} % Royal fuchsia +\definecolor{royalpurple}{HTML}{7851A9} % Royal purple +\definecolor{ruby}{HTML}{E0115F} % Ruby +\definecolor{ruddy}{HTML}{FF0028} % Ruddy +\definecolor{ruddybrown}{HTML}{BB6528} % Ruddy brown +\definecolor{ruddypink}{HTML}{E18E96} % Ruddy pink +\definecolor{rufous}{HTML}{A81C07} % Rufous +\definecolor{russet}{HTML}{80461B} % Russet +\definecolor{rust}{HTML}{B7410E} % Rust + +\definecolor{sacramentostategreen}{HTML}{00563F}% Sacramento State green +\definecolor{saddlebrown}{HTML}{8B4513} % Saddle brown +\definecolor{blazeorange}{HTML}{FF6700} % Safety orange (blaze orange) +\definecolor{saffron}{HTML}{F4C430} % Saffron +\definecolor{stpatricksblue}{HTML}{23297A} % St. Patrick\'s blue +\definecolor{salmon}{HTML}{FF8C69} % Salmon +\definecolor{salmonpink}{HTML}{FF91A4} % Salmon pink +\definecolor{sand}{HTML}{C2B280} % Sand +\definecolor{sanddune}{HTML}{967117} % Sand dune +\definecolor{sandstorm}{HTML}{ECD540} % Sandstorm +\definecolor{sandybrown}{HTML}{F4A460} % Sandy brown +\definecolor{sandytaupe}{HTML}{967117} % Sandy taupe +\definecolor{sangria}{HTML}{92000A} % Sangria +\definecolor{sapgreen}{HTML}{507D2A} % Sap green +\definecolor{sapphire}{HTML}{082567} % Sapphire +\definecolor{satinsheengold}{HTML}{CBA135} % Satin sheen gold +\definecolor{scarlet}{HTML}{FF2000} % Scarlet +\definecolor{schoolbusyellow}{HTML}{FFD800} % School bus yellow +\definecolor{screamingreen}{HTML}{76FF7A} % Screamin\' Green +\definecolor{seagreen}{HTML}{2E8B57} % Sea green +\definecolor{sealbrown}{HTML}{321414} % Seal brown +\definecolor{seashell}{HTML}{FFF5EE} % Seashell +\definecolor{selectiveyellow}{HTML}{FFBA00} % Selective yellow +\definecolor{sepia}{HTML}{704214} % Sepia +\definecolor{shadow}{HTML}{8A795D} % Shadow +\definecolor{shamrockgreen}{HTML}{009E60} % Shamrock green +\definecolor{shockingpink}{HTML}{FC0FC0} % Shocking pink +\definecolor{sienna}{HTML}{882D17} % Sienna +\definecolor{silver}{HTML}{C0C0C0} % Silver +\definecolor{sinopia}{HTML}{CB410B} % Sinopia +\definecolor{skobeloff}{HTML}{007474} % Skobeloff +\definecolor{skyblue}{HTML}{87CEEB} % Sky blue +\definecolor{skymagenta}{HTML}{CF71AF} % Sky magenta +\definecolor{slateblue}{HTML}{6A5ACD} % Slate blue +\definecolor{slategray}{HTML}{708090} % Slate gray +\definecolor{smalt-darkpowderblue}{HTML}{003399}% Smalt (Dark powder blue) +\definecolor{smokeytopaz}{HTML}{933D41} % Smokey topaz +\definecolor{smokyblack}{HTML}{100C08} % Smoky black +\definecolor{snow}{HTML}{FFFAFA} % Snow +\definecolor{spirodiscoball}{HTML}{0FC0FC} % Spiro Disco Ball +\definecolor{splashedwhite}{HTML}{FEFDFF} % Splashed white +\definecolor{springbud}{HTML}{A7FC00} % Spring bud +\definecolor{springgreen}{HTML}{00FF7F} % Spring green +\definecolor{steelblue}{HTML}{4682B4} % Steel blue +\definecolor{stildegrainyellow}{HTML}{FADA5E} % Stil de grain yellow +\definecolor{straw}{HTML}{E4D96F} % Straw +\definecolor{sunglow}{HTML}{FFCC33} % Sunglow +\definecolor{sunset}{HTML}{FAD6A5} % Sunset + +\definecolor{tan}{HTML}{D2B48C} % Tan +\definecolor{tangelo}{HTML}{F94D00} % Tangelo +\definecolor{tangerine}{HTML}{F28500} % Tangerine +\definecolor{tangerineyellow}{HTML}{FFCC00} % Tangerine yellow +\definecolor{taupe}{HTML}{483C32} % Taupe +\definecolor{taupegray}{HTML}{8B8589} % Taupe gray +\definecolor{teagreen}{HTML}{D0F0C0} % Tea green +\definecolor{tearose-orange)}{HTML}{F88379} % Tea rose (orange) +\definecolor{tearose-rose)}{HTML}{F4C2C2} % Tea rose (rose) +\definecolor{teal}{HTML}{008080} % Teal +\definecolor{tealblue}{HTML}{367588} % Teal blue +\definecolor{tealgreen}{HTML}{006D5B} % Teal green +\definecolor{tenne}{HTML}{CD5700} % Tenné (Tawny) +\definecolor{terracotta}{HTML}{E2725B} % Terra cotta +\definecolor{thistle}{HTML}{D8BFD8} % Thistle +\definecolor{thulianpink}{HTML}{DE6FA1} % Thulian pink +\definecolor{ticklemepink}{HTML}{FC89AC} % Tickle Me Pink +\definecolor{tiffanyblue}{HTML}{0ABAB5} % Tiffany Blue +\definecolor{tigerseye}{HTML}{E08D3C} % Tiger\'s eye +\definecolor{timberwolf}{HTML}{DBD7D2} % Timberwolf +\definecolor{titaniumyellow}{HTML}{EEE600} % Titanium yellow +\definecolor{tomato}{HTML}{FF6347} % Tomato +\definecolor{toolbox}{HTML}{746CC0} % Toolbox +\definecolor{tractorred}{HTML}{FD0E35} % Tractor red +\definecolor{trolleygrey}{HTML}{808080} % Trolley Grey +\definecolor{tropicalrainforest}{HTML}{00755E} % Tropical rain forest +\definecolor{trueblue}{HTML}{0073CF} % True Blue +\definecolor{tuftsblue}{HTML}{417DC1} % Tufts Blue +\definecolor{tumbleweed}{HTML}{DEAA88} % Tumbleweed +\definecolor{turkishrose}{HTML}{B57281} % Turkish rose +\definecolor{turquoise}{HTML}{30D5C8} % Turquoise +\definecolor{turquoiseblue}{HTML}{00FFEF} % Turquoise blue +\definecolor{turquoisegreen}{HTML}{A0D6B4} % Turquoise green +\definecolor{tuscanred}{HTML}{823535} % Tuscan red +\definecolor{twilightlavender}{HTML}{8A496B} % Twilight lavender +\definecolor{tyrianpurple}{HTML}{66023C} % Tyrian purple + +\definecolor{uablue}{HTML}{0033AA} % UA blue +\definecolor{uared}{HTML}{D9004C} % UA red +\definecolor{ube}{HTML}{8878C3} % Ube +\definecolor{uclablue}{HTML}{536895} % UCLA Blue +\definecolor{uclagold}{HTML}{FFB300} % UCLA Gold +\definecolor{ufogreen}{HTML}{3CD070} % UFO Green +\definecolor{ultramarine}{HTML}{120A8F} % Ultramarine +\definecolor{ultramarineblue}{HTML}{4166F5} % Ultramarine blue +\definecolor{ultrapink}{HTML}{FF6FFF} % Ultra pink +\definecolor{umber}{HTML}{635147} % Umber +\definecolor{unitednationsblue}{HTML}{5B92E5} % United Nations blue +\definecolor{unmellowyellow}{HTML}{FFFF66} % Unmellow Yellow +\definecolor{upforestgreen}{HTML}{014421} % UP Forest green +\definecolor{upmaroon}{HTML}{7B1113} % UP Maroon +\definecolor{upsdellred}{HTML}{AE2029} % Upsdell red +\definecolor{urobilin}{HTML}{E1AD21} % Urobilin +\definecolor{usccardinal}{HTML}{990000} % USC Cardinal +\definecolor{uscgold}{HTML}{FFCC00} % USC Gold +\definecolor{utahcrimson}{HTML}{D3003F} % Utah Crimson + +\definecolor{vanilla}{HTML}{F3E5AB} % Vanilla +\definecolor{vegasgold}{HTML}{C5B358} % Vegas gold +\definecolor{venetianred}{HTML}{C80815} % Venetian red +\definecolor{verdigris}{HTML}{43B3AE} % Verdigris +\definecolor{vermilion}{HTML}{E34234} % Vermilion +\definecolor{veronica}{HTML}{A020F0} % Veronica +\definecolor{violet}{HTML}{8F00FF} % Violet +\definecolor{violet-colorwheel}{HTML}{7F00FF} % Violet (color wheel) +\definecolor{violet-ryb}{HTML}{8601AF} % Violet (RYB) +\definecolor{violet-web}{HTML}{EE82EE} % Violet (web) +\definecolor{viridian}{HTML}{40826D} % Viridian +\definecolor{vividauburn}{HTML}{922724} % Vivid auburn +\definecolor{vividburgundy}{HTML}{9F1D35} % Vivid burgundy +\definecolor{vividcerise}{HTML}{DA1D81} % Vivid cerise +\definecolor{vividtangerine}{HTML}{FFA089} % Vivid tangerine +\definecolor{vividviolet}{HTML}{9F00FF} % Vivid violet + +\definecolor{warmblack}{HTML}{004242} % Warm black +\definecolor{wenge}{HTML}{645452} % Wenge +\definecolor{wheat}{HTML}{F5DEB3} % Wheat +\definecolor{white}{HTML}{FFFFFF} % White +\definecolor{whitesmoke}{HTML}{F5F5F5} % White smoke +\definecolor{wildblueyonder}{HTML}{A2ADD0} % Wild blue yonder +\definecolor{wildstrawberry}{HTML}{FF43A4} % Wild Strawberry +\definecolor{wildwatermelon}{HTML}{FC6C85} % Wild Watermelon +\definecolor{wisteria}{HTML}{C9A0DC} % Wisteria + +\definecolor{xanadu}{HTML}{738678} % Xanadu + +\definecolor{yaleblue}{HTML}{0F4D92} % Yale Blue +\definecolor{yellow}{HTML}{FFFF00} % Yellow +\definecolor{yellow-munsell}{HTML}{EFCC00} % Yellow (Munsell) +\definecolor{yellow-ncs}{HTML}{FFD300} % Yellow (NCS) +\definecolor{yellow-process}{HTML}{FFEF00} % Yellow (process) +\definecolor{yellow-ryb}{HTML}{FEFE33} % Yellow (RYB) +\definecolor{yellow-green}{HTML}{9ACD32} % Yellow-green + +\definecolor{zaffre}{HTML}{0014A8} % Zaffre +\definecolor{zinnwalditebrown}{HTML}{2C1608} % Zinnwaldite brown +%-- % + + +%% MACROS : DEBUT +\makeatletter + +%-- Macros personnelles + +%--% + +\makeatother +%% MACROS : FIN diff --git a/cours/cours.cls b/cours/cours.cls new file mode 100644 index 0000000..68fdd94 --- /dev/null +++ b/cours/cours.cls @@ -0,0 +1,369 @@ +%%% +%%% +%%% Classe : cours.cls +%%% Version : 1.0 +%%% Date : 29/07/10 +%%% Auteur : Jeff LANCE +%%% +%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{cours}[2010/07/29 Document de cours, V1.0] + + +%-- classe de base +\LoadClass[a4paper, 10pt]{article} +%--% + + +%-- extensions +% PERSONNELLES +% commun: contient des définitions et extensions de base pour tout. +\RequirePackage{commun} + +% sortie +\RequirePackage[pdftex]{graphicx} +\RequirePackage{comment} + +% maths +% \RequirePackage{amsmath} +% \RequirePackage{amssymb} +% \RequirePackage{calc} +% \RequirePackage{tkz-euclide} +% \RequirePackage{xlop} + +% mise en page +\RequirePackage{fancyhdr} +\RequirePackage{multicol} + +% insertion d'image +%\RequirePackage{picins} + +% euro +%\RequirePackage{textcomp} + +%--% + + +%-- structure de la page + +% marges de la page : haute et basse +\setlength{\hoffset}{-1in+0.5cm} +\setlength{\voffset}{-1in+0.5cm} +% marge du texte +\setlength{\oddsidemargin}{0cm} +\setlength{\topmargin}{0cm} +% marge notes +\setlength{\marginparwidth}{0cm} +\setlength{\marginparsep}{0cm} +% largeur et hauteur du texte +\setlength{\textwidth}{20cm} +\setlength{\textheight}{28.7cm} +% distance du cadre texte avec en-tete +\setlength{\headsep}{0.5cm} +% en-tete +\setlength{\headheight}{1cm} +\renewcommand{\headrulewidth}{0.4pt}% defaut \headrulewidth vaut 0.4pt +% pied de page +\setlength{\footskip}{0.5cm} +\renewcommand{\footrulewidth}{0pt}% defaut \footrulewidth vaut 0pt +% style de page +\pagestyle{empty} +% paragraphes : pas d'alinea +\setlength{\parindent}{0pt} + +%--% + + +%-- paramétrage de certains packages + +% metapost +\ifpdf + \DeclareGraphicsRule{*}{mps}{*}{} +\fi + +% tkz +\usetkzobj{all} % on charge tous les objets + +%--% + + +%% MACROS : DEBUT +\makeatletter + +%-- Macros personnelles +% Pour les tableaux +%\newcolumntype{M}[1]{>{\raggedright}m{#1}} +%\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} + +% Vtextvisiblespace[largeur] +\newcommand\Vtextvisiblespace[1][.3em]{% + \mbox{\kern.06em\vrule height.3ex}% + \vbox{\hrule width#1}% + \hbox{\vrule height.3ex}% +} + +% entete{dst|dm|int}{numero}{classe}{date} +\newcommand{\entete}[4] { + % le contenu varie en fonction des arguments + \ifthenelse{ \equal{#1}{dst} } + { + \fancypagestyle{dst}{ % + \lhead{#3\\NOM :\\Pr\'enom :} + \chead{\textbf{MATHEMATIQUES}\\Devoir Sur Table n\textsuperscript{o}#2\\} + \rhead{le : #4\\~~\\}} + \thispagestyle{dst} + } + { + \ifthenelse{ \equal{#1}{dm} } + { + \fancypagestyle{dm}{ % + \lhead{#3\\NOM :\\Pr\'enom :} + \chead{\textbf{MATHEMATIQUES}\\Devoir Maison n\textsuperscript{o}#2\\} + \rhead{\`A rendre le : #4\\~~\\}} + \thispagestyle{dm} + } + { + \ifthenelse{ \equal{#1}{int} } + { + \fancypagestyle{int}{ % + \lhead{#3\\NOM :\\Pr\'enom :} + \chead{\textbf{MATHEMATIQUES}\\Interrogation n\textsuperscript{o}#2\\} + \rhead{le : #4\\~~\\}} + \thispagestyle{int} + } + { + \ifthenelse{ \equal{#1}{crs} } + { + \fancypagestyle{crs}{ % + \lhead{#4} + \chead{\textbf{#2}} + \rhead{Cours}} + \thispagestyle{crs} + } + { + \ifthenelse{ \equal{#1}{act} } + { + \fancypagestyle{act}{ % + \lhead{#4} + \chead{\textbf{#2}} + \@ifmtarg{#3}{ \rhead{Activit\'e} }{ \rhead{Activit\'e - #3} }} + \thispagestyle{act} + } + { + \ifthenelse{ \equal{#1}{exo} } + { + \fancypagestyle{exo}{ % + \lhead{#4} + \chead{\textbf{#2}} + \@ifmtarg{#3}{\rhead{Exercices}}{\rhead{Exercices - #3}}} + \thispagestyle{exo} + } + } + } + } + } + } +} + + +% exercice<[type]> +% +% type = 1 -> \arabic +% type = a -> \alph +% type = A -> \Alph +% type = i -> \roman +% type = I -> \Roman +% \arabic par défaut +\newcounter{cExercice} +\newcommand{\exercice}[1][1] { +\ifthenelse{ \equal{#1}{i} } + { + \def\cType{\roman} + } + { + \ifthenelse{ \equal{#1}{I} } + { + \def\cType{\Roman} + } + { + \ifthenelse{ \equal{#1}{a} } + { + \def\cType{\alph} + } + { + \ifthenelse{ \equal{#1}{A} } + { + \def\cType{\Alph} + } + { + \def\cType{\arabic} + } + } + } + } + \stepcounter{cExercice} + \textbf{Exercice \cType{cExercice}\ } +} + + +% questions<[type]> +% +% type = 1 -> \arabic +% type = a -> \alph +% type = A -> \Alph +% type = i -> \roman +% type = I -> \Roman +% \arabic par défaut +\newcounter{cQuestions} +\newenvironment{questions}[1][1] { + \ifthenelse{ \equal{#1}{i} } + { + \def\cType{\roman} + } + { + \ifthenelse{ \equal{#1}{I} } + { + \def\cType{\Roman} + } + { + \ifthenelse{ \equal{#1}{a} } + { + \def\cType{\alph} + } + { + \ifthenelse{ \equal{#1}{A} } + { + \def\cType{\Alph} + } + { + \def\cType{\arabic} + } + } + } + } + \begin{list}{\textbf{\cType{cQuestions}.~}}{\usecounter{cQuestions} \itemindent=0em \itemsep=8pt \leftmargin=0,65cm} + } { + \end{list} +} + + +% setAngle{nom}{valeur} +\newcommand{\setAngle}[2] { + $\widehat{#1} = #2 \textsuperscript{o}$ +} + + + % triUn{nom}{long1}{long2}{long3} +\newcommand{\triUn}[4] { + \StrLen{#1}[\lNom] + \ifthenelse{ \equal{\lNom}{3} } + { + \StrChar{#1}{1}[\sA] + \StrChar{#1}{2}[\sB] + \StrChar{#1}{3}[\sC] + + \begin{tikzpicture} + \tkzDefPoint(0,0){\sA} + \tkzDefPoint(#2,0){\sB} + \tkzDrawCircle[R,color=white](\sA,#3 cm) + \tkzDrawCircle[R,color=white](\sB,#4 cm) + \tkzInterCC[R](\sA,#3 cm)(\sB,#4 cm) + \tkzGetPoints{\sC}{Z} + \tkzDrawPolygon(\sA,\sB,\sC) + + \tkzLabelSegment(\sA,\sB){$#2$ cm} + \tkzLabelSegment(\sA,\sC){$#3$ cm} + \tkzLabelSegment(\sB,\sC){$#4$ cm} + + \tkzLabelPoint[left](\sA){$\sA$} + \tkzLabelPoint[right](\sB){$\sB$} + \tkzLabelPoint[above](\sC){$\sC$} + \end{tikzpicture} + } +} + + + % triDeux{nom}{long1}{long2}{angle} +\newcommand{\triDeux}[4] { + \StrLen{#1}[\lNom] + \ifthenelse{ \equal{\lNom}{3} } + { + \StrChar{#1}{1}[\sA] + \StrChar{#1}{2}[\sB] + \StrChar{#1}{3}[\sC] + + \def\nAngle{#4} + + \begin{tikzpicture} + \tkzDefPoint(0,0){\sA} + \tkzDefPoint(#2,0){\sB} + \tkzDrawSegment(\sA,\sB) + + \tkzDefPointBy[rotation=center {\sA} angle {#4}](\sB) + \tkzGetPoint{Z} + \tkzDefPointBy[homothety=center {\sA} ratio {#3/#2}](Z) + \tkzGetPoint{\sC} + + \tkzDrawSegment(\sA,\sC) + \tkzDrawSegment(\sB,\sC) + + \tkzLabelPoint[left](\sA){$\sA$} + \tkzLabelPoint[right](\sB){$\sB$} + \tkzLabelPoint[above](\sC){$\sC$} + \end{tikzpicture} + } +} + + + % triTrois{nom}{long}{angle1}{angle2} +\newcommand{\triTrois}[4] { + \StrLen{#1}[\lNom] + \ifthenelse{ \equal{\lNom}{3} } + { + \StrChar{#1}{1}[\sA] + \StrChar{#1}{2}[\sB] + \StrChar{#1}{3}[\sC] + + \def\nAngle{#4} + + \begin{tikzpicture} + \tkzDefPoint(0,0){\sA} + \tkzDefPoint(#2,0){\sB} + \tkzDrawSegment(\sA,\sB) + + \tkzDefPointBy[rotation=center {\sA} angle {#3}](\sB) + \tkzGetPoint{Y} + \tkzDefPointBy[rotation=center {\sB} angle {-#4}](\sA) + \tkzGetPoint{Z} + + \tkzInterLL(\sA,Y)(\sB,Z) + \tkzGetPoint{\sC} + + \tkzDrawSegment(\sA,\sC) + \tkzDrawSegment(\sB,\sC) + + \tkzLabelPoint[left](\sA){$\sA$} + \tkzLabelPoint[right](\sB){$\sB$} + \tkzLabelPoint[above](\sC){$\sC$} + \end{tikzpicture} + } +} + +%--% + + +% Macros modifiées + +% on n'affiche pas le numéro de page +\renewcommand{\thepage}{} + +% numérotation des sections +\renewcommand{\thesection}{\Roman{section}.} + +\renewcommand{\thesubsection}{\arabic{section})} + +% - % + +\makeatother +%% MACROS : FIN