summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-10 20:06:29 +0000
committerKarl Berry <karl@freefriends.org>2024-03-10 20:06:29 +0000
commita4ff95712ef6580119da985921a0db1a7615d548 (patch)
tree7eb0aa93f9fdf55333f6ed11eae50231975fff68 /Master/texmf-dist/tex
parent628eea3f8781ad62db9ab791bf8dc7887cb3c682 (diff)
litebook (10mar24)
git-svn-id: svn://tug.org/texlive/trunk@70557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/litebook/litebook.cls27
1 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/litebook/litebook.cls b/Master/texmf-dist/tex/latex/litebook/litebook.cls
index e61bd5b7bb7..92de10dd3e0 100644
--- a/Master/texmf-dist/tex/latex/litebook/litebook.cls
+++ b/Master/texmf-dist/tex/latex/litebook/litebook.cls
@@ -19,7 +19,7 @@
%% ****************************************************************************************************
% !Mode:: "TeX:UTF-8"
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{litebook}[2024/03/10 v0.1a LiteBook document class]
+\ProvidesClass{litebook}[2024/03/11 v0.1c LiteBook document class]
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
\DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{book}}
@@ -30,7 +30,7 @@
\geometry{rmargin=1.25 in,lmargin=.75 in,tmargin=1 in,bmargin=1 in}
\RequirePackage{graphics,graphicx}
-\graphicspath{{./figures/}}
+\graphicspath{{./figure/}{./figures/}{./image/}{./images/}{./graphics/}{./graphic/}{./pictures/}{./picture/}}
\RequirePackage{indentfirst}
\setlength{\parindent}{2ex}
@@ -84,7 +84,7 @@
\lfoot{}\cfoot{}\rfoot{}
\RequirePackage[most]{tcolorbox}
-\RequirePackage{tikz}
+\RequirePackage{tikz,fontawesome5}
\usetikzlibrary{arrows,tikzmark,patterns,calc}
\RequirePackage{fadingimage}
\tikzset{>=stealth',
@@ -109,9 +109,10 @@ every picture/.append style={
\begin{titlepage}
\newgeometry{margin = 0 in}
\ifcsname @cover\endcsname
+ \UPFadingImage[trim={0 {.9\paperheight} 0 0},clip]{\@cover}
\LOWFadingImage[trim={0 {.5\paperheight} 0 0},clip]{\@cover}
\fi
- \parindent=0pt\vskip12ex
+ \parindent=0pt\vskip75\p@
\centering\sffamily\bfseries
\HUge\@title
\ifcsname @subtitle\endcsname
@@ -122,8 +123,7 @@ every picture/.append style={
\vskip2ex\Large\@bioinfo\fi
\ifcsname @press\endcsname\vfill
\parbox[t]{\textwidth}{\centering
- \Large\@press\vskip10ex
- }\fi
+ \Large\@press\vskip75\p@}\fi
\clearpage
\vspace*{\fill}
\Huge\itshape\@title
@@ -163,13 +163,18 @@ every picture/.append style={
\RequirePackage{physics2,bm,fixdif,derivative,cancel,extarrows,siunitx,nicefrac,nicematrix}
\usephysicsmodule{ab,braket,diagmat,doubleprod,xmat,ab.legacy,op.legacy}
\RequirePackage[e]{esvect}
-
\def\i{\mathrm i}\def\e{\mathrm e}\def\T{\mathsf T}
\theoremstyle{definition}
-\newtheorem{problem}{Problem}[section]
-\newtheorem{theorem}{Theorem}[section]
+\newtheorem{definition}{\sffamily\color{pkgcolor} Definition}[section]
+\newtheorem{theorem}{\sffamily\color{moducolor} Theorem}[section]
+\newtheorem{lemma}{\sffamily\color{moducolor} Lemma}[section]
+\newtheorem{corollary}{\sffamily\color{moducolor}Corollary}[section]
+\newtheorem{postulate}{\sffamily\color{moducolor}Postulate}[section]
+\newtheorem{axiom}{\sffamily\color{moducolor}Axiom}[section]
+\newtheorem{proposition}{\sffamily\color{cmdcolor}Proposition}[section]
+\newtheorem*{example}{\sffamily Example}
+\newtheorem{problem}{\sffamily Problem}[chapter]
\def\theproblem{\arabic{problem}}
-\newtheorem*{example}{Example}
-\newtheorem*{solution}{Solution}
+\newtheorem*{solution}{\sffamily Solution}
\numberwithin{equation}{section} \ No newline at end of file