neoschoolTéléchargez les fichiers sources et les exemples compilés :
Exemples de mise en page :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.
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.
royal, titre band, thmstyle
block, exstyle bar, boxshape
soft.
ink,
titre stream, thmstyle plain, exstyle
line-outline, boxshape sharp.
azure, titre notion, thmstyle
tile, exstyle capsule, boxshape
rounded.
marine,
titre blocks, thmstyle bar, exstyle
shell, boxshape chamfer.
lagoon, titre
bristol, thmstyle sticker, exstyle
sticker, boxshape chat.
eval,
thmstyle plain, exstyle inline, boxshape
sharp. Mode print.
forest, titre flow, thmstyle
curve, exstyle capsule, boxshape
leaf.
crimson, titre geometric, thmstyle
fold, exstyle rule, boxshape
bevel.
azure, titre grid, thmstyle
frame, exstyle counter-inline, boxshape
sharp.
cardinal,
titre brush, thmstyle bar, exstyle
capsule-outline, boxshape southeast.
neon, titre
memphis, thmstyle pastel, exstyle
badge, boxshape sharpish.
rhodium, titre spine, thmstyle
tag, exstyle separator, boxshape
west.
velours, titre
minimal, thmstyle bar, exstyle
line-circle, boxshape sharp.
slate,
titre spine, thmstyle block, exstyle
bar, boxshape sharp.
frost, titre
tech, thmstyle sticker, exstyle
rule, boxshape sharp.
moss, titre
wave, thmstyle block, exstyle
block, boxshape sharpish. Mode
unicolor.
\documentclass[profile=academic]{neoschool}
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.
| 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. |
english, french, german :
active les traductions et conventions.
nofrenchlist : désactive les tirets pour les listes en
français.
frenchlistaspar : traite les listes comme des
paragraphes.
frenchmath : majuscules droites en mode mathématique
(convention française).
mainface=Nom : Police serif principale.sansface=Nom : Police sans-serif (titres).monoface=Nom : Police chasse fixe (code).mathface=Nom : Police mathématique....scale=facteur : Échelle (ex:
mainfacescale=1.0).
sfbody : Corps du texte en sans-serif.margin=dim : Marges latérales (défaut 1.5cm).vspacing=facteur : Espacement vertical global (0.25 -
2.0).
compacttoc, twocoltoc,
monotoc : Table des matières compacte / 2 colonnes /
couleur primaire uniquement.
fullheader : Active l'en-tête complet.nofooter, pageonlyfooter : Gestion du pied
de page.
2a5toa4,
2a4toa3, bookleta5 (livret), etc.
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.
arctic, azure,
frost, glacier, marine,
midnight, oceanic, oxford.
cambridge, eton,
flora, forest, garden,
ivy, moss, sage,
taiga, tundra.
bordeaux,
cardinal, crimson, harvard,
hearth, saffron, terra.
amethyst,
cosmos, dusk, mulberry,
neon, opera, orchid,
peony, velvet, vivid.
coffee,
heritage, ink (défaut),
library, mahogany, manor,
mist, retro, rhodium,
slate, study, tweed,
velours.
aurora,
cyprus, jewel, lagoon,
night, royal, trinity,
woodland.
print : noir et blanc pour impression.unicolor : utilise la couleur primaire pour tous les
environnements.
| 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). |
titlelayout)exam (complet),
shortexam, mockexam.
eval,
evalicons, evalgrade,
evaliconsgrade, shorteval.
default,
titlebox, tighttitle,
onlytitle, shorttitle,
shortlesson, minimal, frame.
band, banner,
bar, bauhaus, blocks,
book, bristol, brush,
bubbles, champagne, circles,
cloud, confetti, flow,
geometric, grid, magazine,
memphis, notion, particles,
simplenotion, spine, stream,
tech, wave.
\neoheader{
type = {Devoir Surveillé},
school = {Lycée A. Camus},
level = {Terminale},
duration = {2h},
calculator = {exam}, % true/false/exam
leftcontent = {\faFlask}
}
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.
Basé sur le package xsim.
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.
answers : Affiche les solutions après l'énoncé.answersonly : N'affiche que les solutions.solrotate : Solution inversée (rotation 180°).solstyle : inline (défaut),
dots, lines, box.
\begin{exercise}[points=3, subtitle={Dérivation}]
Dériver $f(x)=x^2$.
\end{exercise}
\begin{solution}
$f'(x)=2x$.
\end{solution}
\begin{choices}(2) % 2 colonnes
\choice[\correct] Vrai
\choice Faux
\end{choices}
Utilise listings (défaut) ou
minted (option de classe minted).
codestyle=... : shadow (défaut),
plain, line, lines,
bar, frame.
codewidth=dim : Largeur.centeredcode : Centrage horizontal.\begin{code}{python}[Factorielle]
def fact(n):
return 1 if n<=1 else n*fact(n-1)
\end{code}
Environnement pseudocode (basé sur
algpseudocode) avec traduction automatique des mots-clés
en français.
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.
\splitcontent[ratio]{gauche}{droite} : 2 colonnes.
\begin{sidebyside} ... \tcblower ... \end{sidebyside} :
2 boîtes côte à côte.
\textwithimage{largeur}{echelle}{texte}{image}.\withqrcode{url}{texte}.\grid{larg}{haut} : Grille 5mm.\frenchgrid{larg}{haut} : Papier Seyès.\notebook : Fond page cahier.\gridfill : Remplit la page avec une grille.\neobox{...}, \neocolorbox{...},
\inlinebox{...}.
\gradingstrip[20] : Bandeau de notation complet.\mrk{pts} : Points dans la marge.\answerfield[largeur]{lignes} : Zone réponse colorée.
\answerframe{lignes} : Zone réponse encadrée.\vardots[longueur] : Ligne pointillée.\competencies{Comp1 \\ Comp2} : Tableau de compétences.
\cmark (V), \xmark (X),
\unchecked, \done.
\mhl{expr} (surligner),
\mathbox{expr} (encadrer), \vectt,
\Oij (si option apmep).
neotree (basé
sur forest).
\tdnote{...},
\boxnote{...}.
\AILogo,
\NoAILogo.