-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-pkg.tex
More file actions
36 lines (32 loc) · 970 Bytes
/
Copy pathtest-pkg.tex
File metadata and controls
36 lines (32 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\documentclass[12pt,openany,fontset=fandol]{ctexbook}
\usepackage[tt=false,osf]{libertine}
\usepackage{geometry}
\usepackage{lipsum}
\usepackage{atombook}
\marginblockset{
node-fill = gray!50,
current-fill = gray,
block-size = 1.25cm,
block-sep = .5cm,
font = \sffamily\bfseries\huge,
}
\begin{document}
\ExplSyntaxOn
\seq_new:N \l_my_colors_seq
\seq_set_from_clist:Nn \l_my_colors_seq { red!50, green!50, blue!50, yellow!50, cyan, teal, violet, magenta, orange, purple, pink, lime, brown, black }
\foreach \nn in {1,...,12} {
\chapter{Test~Chapter~\nn}
\lipsum[\nn]\lipsum[\nn]
\begin{mybox}[colframe={\seq_rand_item:N \l_my_colors_seq}]{Theorem \nn}
\begin{enumerate}
\item First~item.
\item Second~item.
\item Third~item.
\item Fourth~item.
\end{enumerate}
\lipsum[\nn]
\end{mybox}
\lipsum[\nn]\lipsum[\nn]
}
\ExplSyntaxOff
\end{document}