La classe neoschool

Version 1.3.0 • Auteur : Razik Ikhlef

https://apps.edulatex.xyz

Fichiers et Démonstrations

Téléchargez les fichiers sources et les exemples compilés :

neoschool.cls Documentation PDF Source Doc (FR)
Exemples de mise en page :
Demo 1 (Cours)
Demo 2 (Exam)
Demo 3 (Fiche)
Demo 4 (Code)
Demo 5 (Design)
La classe neoschool propose aux enseignants du secondaire un ensemble d'outils pour concevoir leurs documents pédagogiques (évaluations, supports de cours, fiches d'exercices avec leur correction, etc). Pour répondre aux différents besoins, elle propose cinquante-six thèmes de couleurs prédéfinis, seize profils préconfigurés, des options de classe variées pour la mise en page et la typographie, des environnements spécialisés, des commandes dédiées et différents styles d'en-têtes préformatés. Elle intègre plusieurs dizaines d'extensions LaTeX couramment utilisées pour alléger le préambule.

Profils préconfigurés

L'option profile=<nom> configure automatiquement un ensemble cohérent d'options. Chaque profil définit un thème, un style de titre (titlelayout), des styles de boîtes et des paramètres visuels.

academic Cours magistraux. Thème royal, titre band, thmstyle block, exstyle bar, boxshape soft.
minimalist Style épuré. Thème ink, titre stream, thmstyle plain, exstyle line-outline, boxshape sharp.
material Inspiré Material Design. Thème azure, titre notion, thmstyle tile, exstyle capsule, boxshape rounded.
coder Documents info. Thème marine, titre blocks, thmstyle bar, exstyle shell, boxshape chamfer.
memo Fiches mémo. Thème lagoon, titre bristol, thmstyle sticker, exstyle sticker, boxshape chat.
exam Devoirs surveillés. Titre eval, thmstyle plain, exstyle inline, boxshape sharp. Mode print.
organic Formes douces/naturelles. Thème forest, titre flow, thmstyle curve, exstyle capsule, boxshape leaf.
origami Style géométrique plié. Thème crimson, titre geometric, thmstyle fold, exstyle rule, boxshape bevel.
blueprint Style plan technique. Thème azure, titre grid, thmstyle frame, exstyle counter-inline, boxshape sharp.
swiss Design suisse. Thème cardinal, titre brush, thmstyle bar, exstyle capsule-outline, boxshape southeast.
creative Ludique. Thème neon, titre memphis, thmstyle pastel, exstyle badge, boxshape sharpish.
focus Sobre avec accent latéral. Thème rhodium, titre spine, thmstyle tag, exstyle separator, boxshape west.
elegant Raffiné. Thème velours, titre minimal, thmstyle bar, exstyle line-circle, boxshape sharp.
slate Bandeau latéral. Thème slate, titre spine, thmstyle block, exstyle bar, boxshape sharp.
maker Projets DIY. Thème frost, titre tech, thmstyle sticker, exstyle rule, boxshape sharp.
zen Apaisant. Thème moss, titre wave, thmstyle block, exstyle block, boxshape sharpish. Mode unicolor.
\documentclass[profile=academic]{neoschool}

Extensions chargées

La classe charge automatiquement : adforn, adjustbox, algpseudocode, bookmark, calc, changepage, colortbl, cuted, enumitem, environ, etoolbox, fontawesome5, forest, iftex, kvoptions, lastpage, marginnote, mathtools, multicol, nccmath, needspace, pdftexcmds, pgffor, pgfplots, pifont, qrcode, scrlayer-scrpage, setspace, silence, siunitx, tabularray, tasks, tcolorbox, tikz, tikzpagenodes, tikzsymbols, ulem, wrapfig, xcolor, xhfill, xkeyval, xsim, xstring.

Extensions optionnelles

Option Description
apmep Charge les extensions pour les annales (esvect, pstricks, tkz-tab, variations, etc.).
faketext Charge blindtext et lipsum.
math Charge annotate-equations, bm, cancel, esvect, mathrsfs, ncccomma, numprint, tdsfrmath, tkz-euclide, witharrows, xlop.
mathastext Utilise la police du texte pour les mathématiques.
notes Charge todonotes. (Variantes : leftnotes, rightnotes).
mathics Charge asymptote et latexalpha2.

Options de configuration

Langue

Typographie (LuaLaTeX/XeLaTeX)

Mise en page

Apparence globale

Thèmes de couleurs (theme=...)

56 thèmes disponibles. Chaque thème définit quatre couleurs : une couleur primaire (titres, sections, définitions), une couleur secondaire (théorèmes), une couleur tertiaire (exercices) et une couleur structurelle (éléments neutres comme les remarques et le code en ligne). Le thème par défaut est oxford.

Modes de couleur

Apparence des boîtes

Option Description
Cadres thmframe/thmnoframe, exframe/exnoframe, codeframe/codenoframe.
Fonds thmnoback/thmback, exnoback/exback, codenoback/codeback.
Opacité boxopacity=N (0-100), thmboxopacity, exboxopacity...
Arrondis boxarc=dim (ex: 3pt), thmboxarc, exboxarc...
Formes boxshape=... (rounded, soft, sharp, sharpish, curve, bevel, chamfer, chat, leaf, northeast, northwest, southeast, southwest, north, south, east, west, downhill, uphill).
Titre théorème thmtitleshape=forme (hérite de thmboxshape), thmtitlearc=dim (hérite de thmboxarc).
Padding padding=... (tight, loose, normal).

Styles de document

Titre (titlelayout)

Configuration En-tête

\neoheader{
  type = {Devoir Surveillé},
  school = {Lycée A. Camus},
  level = {Terminale},
  duration = {2h},
  calculator = {exam}, % true/false/exam
  leftcontent = {\faFlask}
}

Environnements Mathématiques

Styles (thmstyle) : tag (défaut), bar, block, tile, fold, plain, frame, curve, sticker, pastel, raw.

Environnements : theorem, lemma, corollary, conjecture, proposition, property, properties, definition, definitions, method, activity, application, example, examples, remark, remarks, proof.

\begin{definition}[title=Nombre premier, label=def:prem]
  Un entier est premier s'il a exactement deux diviseurs.
\end{definition}

Options de numérotation : sectionthmcounter, sharedthmcounter, thmgroupcounter.

Exercices et Solutions

Basé sur le package xsim.

Styles d'exercices (exstyle)

En boîte : capsule (défaut), block, bar, tile, fold, plain, frame, curve, sticker, pastel, card, capsule-outline.

Avec badge : badge, badge-outline, digit, digit-outline, digit-inline, digit-outline-inline, counter, counter-outline, counter-inline, counter-outline-inline.

Linéaires : line, line-outline, line-circle, line-circle-outline.

Spéciaux : inline, shell, section, subsection, item, rule, separator.

Options globales

Exemple

\begin{exercise}[points=3, subtitle={Dérivation}]
  Dériver $f(x)=x^2$.
\end{exercise}
\begin{solution}
  $f'(x)=2x$.
\end{solution}

QCM

\begin{choices}(2) % 2 colonnes
  \choice[\correct] Vrai
  \choice Faux
\end{choices}

Code Informatique

Utilise listings (défaut) ou minted (option de classe minted).

Options

\begin{code}{python}[Factorielle]
def fact(n):
    return 1 if n<=1 else n*fact(n-1)
\end{code}

Pseudocode

Environnement pseudocode (basé sur algpseudocode) avec traduction automatique des mots-clés en français.

Admonitions

Boîtes d'alerte. Environnements : note, info, warning, important, tip, reminder, summary, toolbox, method, activity.

Styles (adstyle) : soft (défaut), modern, material, classic, professional, minimal.

Disposition des contenus

Outils de mise en page

Grilles et Papiers

Boîtes simples

Notation et Correction

Outils Spéciaux