neoschool classDownload the source files and compiled examples:
Layout examples:neoschool class gives K–12 teachers a
comprehensive toolkit for creating their classroom
materials—tests, lesson handouts, exercise sheets with answer
keys, and more. To suit a wide range of needs it ships with fifty-six
color themes, sixteen preconfigured profiles, flexible class options for
layout and typography, specialized environments, dedicated commands, and
a variety of ready-made title layouts. It also bundles dozens of
commonly used LaTeX packages so your preamble stays clean.
The profile=<name> option automatically configures
a coherent set of options. Each profile sets a theme, a title layout
(titlelayout), box styles, and visual parameters.
royal, title layout band, thmstyle
block, exstyle bar, boxshape
soft.
ink, title layout stream, thmstyle
plain, exstyle line-outline, boxshape
sharp.
azure, title layout notion, thmstyle
tile, exstyle capsule, boxshape
rounded.
marine, title layout blocks, thmstyle
bar, exstyle shell, boxshape
chamfer.
lagoon,
title layout bristol, thmstyle sticker,
exstyle sticker, boxshape chat.
eval, thmstyle plain, exstyle
inline, boxshape sharp. Enables
print mode.
forest, title layout flow, thmstyle
curve, exstyle capsule, boxshape
leaf.
crimson, title layout geometric, thmstyle
fold, exstyle rule, boxshape
bevel.
azure, title layout grid, thmstyle
frame, exstyle counter-inline, boxshape
sharp.
cardinal,
title layout brush, thmstyle bar, exstyle
capsule-outline, boxshape southeast.
neon, title layout memphis, thmstyle
pastel, exstyle badge, boxshape
sharpish.
rhodium, title layout spine, thmstyle
tag, exstyle separator, boxshape
west.
velours, title layout minimal, thmstyle
bar, exstyle line-circle, boxshape
sharp.
slate,
title layout spine, thmstyle block,
exstyle bar, boxshape sharp.
frost,
title layout tech, thmstyle sticker,
exstyle rule, boxshape sharp.
moss,
title layout wave, thmstyle block, exstyle
block, boxshape sharpish. Enables
unicolor mode.
\documentclass[profile=academic]{neoschool}
The class automatically loads:
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 |
Loads packages for French math-competition archives
(esvect, pstricks, tkz-tab,
variations, etc.).
|
faketext |
Loads blindtext and lipsum. |
math |
Loads annotate-equations, bm,
cancel, esvect, mathrsfs,
ncccomma, numprint,
tdsfrmath, tkz-euclide,
witharrows, xlop.
|
mathastext |
Uses the text font for math mode. |
notes |
Loads todonotes. (Variants: leftnotes,
rightnotes.)
|
mathics |
Loads asymptote and latexalpha2. |
english, french, german:
activates translations and locale conventions.
nofrenchlist: disables em-dashes for French lists.
frenchlistaspar: treats list items as paragraphs.
frenchmath: upright capitals in math mode (French
convention).
mainface=Name: main serif font.sansface=Name: sans-serif font (headings).monoface=Name: monospaced font (code).mathface=Name: math font....scale=factor: scaling (e.g.
mainfacescale=1.0).
sfbody: sets body text to sans-serif.margin=dim: side margins (default 1.5cm).vspacing=factor: global vertical spacing (0.25 – 2.0).
compacttoc, twocoltoc,
monotoc: compact / two-column / primary-color-only
table of contents.
fullheader: enables the full running header.nofooter, pageonlyfooter: footer controls.
2a5toa4,
2a4toa3, bookleta5 (booklet), etc.
theme=...)
56 themes are available. Each theme defines four colors: a primary
color (headings, sections, definitions), a secondary color (theorems),
a tertiary color (exercises), and a structural color (neutral elements
such as remarks and inline code). The default theme is
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 (default),
library, mahogany, manor,
mist, retro, rhodium,
slate, study, tweed,
velours.
aurora, cyprus, jewel,
lagoon, night, royal,
trinity, woodland.
print: black-and-white output for printing.unicolor: uses the primary color for every environment.
| Option | Description |
|---|---|
| Frames |
thmframe/thmnoframe, exframe/exnoframe,
codeframe/codenoframe.
|
| Backgrounds |
thmnoback/thmback, exnoback/exback,
codenoback/codeback.
|
| Opacity |
boxopacity=N (0–100), thmboxopacity,
exboxopacity...
|
| Corner radius |
boxarc=dim (e.g. 3pt), thmboxarc,
exboxarc...
|
| Shapes |
boxshape=... (rounded, soft, sharp, sharpish, curve,
bevel, chamfer, chat, leaf, northeast, northwest, southeast,
southwest, north, south, east, west, downhill, uphill).
|
| Theorem title |
thmtitleshape=shape (inherits from
thmboxshape), thmtitlearc=dim (inherits
from thmboxarc).
|
| Padding | padding=... (tight, loose, normal). |
titlelayout)exam (full),
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 = {Unit Test},
school = {Springfield High School},
level = {AP Calculus BC},
duration = {2h},
calculator = {exam}, % true/false/exam
leftcontent = {\faFlask}
}
Styles (thmstyle):
tag (default), bar, block,
tile, fold, plain,
frame, curve, sticker,
pastel, raw.
Environments: theorem,
lemma, corollary, conjecture,
proposition, property,
properties, definition,
definitions, method, activity,
application, example, examples,
remark, remarks, proof.
\begin{definition}[title=Prime number, label=def:prime]
An integer is prime if it has exactly two divisors.
\end{definition}
Numbering options:
sectionthmcounter, sharedthmcounter,
thmgroupcounter.
Built on the xsim package.
exstyle)
Boxed: capsule (default),
block, bar, tile,
fold, plain, frame,
curve, sticker, pastel,
card, capsule-outline.
Badge: badge,
badge-outline, digit,
digit-outline, digit-inline,
digit-outline-inline, counter,
counter-outline, counter-inline,
counter-outline-inline.
Linear: line, line-outline,
line-circle, line-circle-outline.
Special: inline, shell,
section, subsection, item,
rule, separator.
answers: shows solutions after each exercise.answersonly: shows only the solutions.solrotate: prints the solution upside-down (180°
rotation).
solstyle: inline (default),
dots, lines, box.
\begin{exercise}[points=3, subtitle={Derivatives}]
Find the derivative of $f(x)=x^2$.
\end{exercise}
\begin{solution}
$f'(x)=2x$.
\end{solution}
\begin{choices}(2) % 2 columns
\choice[\correct] True
\choice False
\end{choices}
Uses listings (default) or
minted (class option minted).
codestyle=...: shadow (default),
plain, line, lines,
bar, frame.
codewidth=dim: width.centeredcode: horizontal centering.\begin{code}{python}[Factorial]
def fact(n):
return 1 if n<=1 else n*fact(n-1)
\end{code}
The pseudocode environment (based on
algpseudocode) with automatic keyword translation.
Callout boxes. Environments: note,
info, warning, important,
tip, reminder, summary,
toolbox, method, activity.
Styles (adstyle):
soft (default), modern,
material, classic,
professional, minimal.
\splitcontent[ratio]{left}{right}: two-column split.
\begin{sidebyside} ... \tcblower ... \end{sidebyside}:
side-by-side boxes.
\textwithimage{width}{scale}{text}{image}.\withqrcode{url}{text}.\grid{width}{height}: 5 mm grid.\frenchgrid{width}{height}: Seyès ruling.\notebook: notebook page background.\gridfill: fills the page with a grid.\neobox{...}, \neocolorbox{...},
\inlinebox{...}.
\gradingstrip[20]: full grading strip.\mrk{pts}: margin point markers.\answerfield[width]{lines}: colored answer area.\answerframe{lines}: framed answer area.\vardots[length]: dotted line.\competencies{Skill1 \\ Skill2}: competency table.
\cmark (✓), \xmark (✗),
\unchecked, \done.
\mhl{expr} (highlight),
\mathbox{expr} (box), \vectt,
\Oij (with the apmep option).
neotree environment (based on
forest).
\tdnote{...},
\boxnote{...}.
\AILogo,
\NoAILogo.