diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/figure/Beautiful-realities.jpeg (renamed from Master/texmf-dist/doc/latex/litesolution/Beautiful-realities.jpeg) | bin | 94115 -> 94115 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/figure/schrodinger.pdf (renamed from Master/texmf-dist/doc/latex/litesolution/schrodinger.pdf) | bin | 1996 -> 1996 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/figure/universe.pdf | bin | 0 -> 97187 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/figure/universe.tex | 44 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/litesolution.pdf | bin | 551913 -> 628872 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/litesolution/litesolution.tex | 98 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/litesolution/litesolution.cls | 68 |
8 files changed, 145 insertions, 67 deletions
diff --git a/Master/texmf-dist/doc/latex/litesolution/README.md b/Master/texmf-dist/doc/latex/litesolution/README.md index a7a79966044..36b84425dc6 100644 --- a/Master/texmf-dist/doc/latex/litesolution/README.md +++ b/Master/texmf-dist/doc/latex/litesolution/README.md @@ -3,7 +3,7 @@ This template provides a fresh design for typesetting solutions of midterm or final exam, textbooks and other exercises. **Welcome to pull requests -[here](https://github.com/xiamyphys/LiteSolution).** +[here](https://github.com/xiamyphys/litesolution).** ## License diff --git a/Master/texmf-dist/doc/latex/litesolution/Beautiful-realities.jpeg b/Master/texmf-dist/doc/latex/litesolution/figure/Beautiful-realities.jpeg Binary files differindex 2b6036083d3..2b6036083d3 100644 --- a/Master/texmf-dist/doc/latex/litesolution/Beautiful-realities.jpeg +++ b/Master/texmf-dist/doc/latex/litesolution/figure/Beautiful-realities.jpeg diff --git a/Master/texmf-dist/doc/latex/litesolution/schrodinger.pdf b/Master/texmf-dist/doc/latex/litesolution/figure/schrodinger.pdf Binary files differindex c9278e81131..c9278e81131 100644 --- a/Master/texmf-dist/doc/latex/litesolution/schrodinger.pdf +++ b/Master/texmf-dist/doc/latex/litesolution/figure/schrodinger.pdf diff --git a/Master/texmf-dist/doc/latex/litesolution/figure/universe.pdf b/Master/texmf-dist/doc/latex/litesolution/figure/universe.pdf Binary files differnew file mode 100644 index 00000000000..7795e2b8431 --- /dev/null +++ b/Master/texmf-dist/doc/latex/litesolution/figure/universe.pdf diff --git a/Master/texmf-dist/doc/latex/litesolution/figure/universe.tex b/Master/texmf-dist/doc/latex/litesolution/figure/universe.tex new file mode 100644 index 00000000000..3f432e54216 --- /dev/null +++ b/Master/texmf-dist/doc/latex/litesolution/figure/universe.tex @@ -0,0 +1,44 @@ +\documentclass[svgnames,tikz]{standalone} + +\usepackage{xcolor}\let\Bbbk\relax +\usepackage{newtxtext,mtpro2,cancel,physics2,xfrac} +\usephysicsmodule{ab.legacy} +\usetikzlibrary{tikzmark} +\tikzset{every node/.style={align=center,MidnightBlue!30}, + every path/.style={MidnightBlue!30,line cap=round}} + +\begin{document}\tikz{ + \node [above right] at (0,0) {$\color{MidnightBlue!30} + \tikzmarknode a\Psi=\displaystyle\tikzmarknode b\int + \tikzmarknode c{\mathrm e}^{ + \sfrac{\tikzmarknode d{\mathrm i}}{\tikzmarknode e\hbar} + \int\ab(\frac{\tikzmarknode fR}{16\pi \tikzmarknode gG}-\frac14\tikzmarknode hF^2 + +\overline\psi\mathrm i\tikzmarknode{i}{\cancel D}\psi-\tikzmarknode j\lambda + \tikzmarknode k{\varphi\overline\psi}\psi + +\abs{D\tikzmarknode l\varphi}^2-V(\varphi))}$}; + \draw ([yshift=-1ex] a.south) coordinate (A) --++ (0,-.5) + node [scale=.45,below] {Schr\"odinger\\\footnotesize wave function}; + \draw ([yshift=1ex] b.north) coordinate (B) --++ (0,.55) + node [scale=.45,above] {\footnotesize path integral\\Feynmann}; + \draw ([yshift=-1ex] c.south) coordinate (C) --++ (0,-.7) + node [scale=.45,below] {Euler\\\footnotesize exponential}; + \draw ([yshift=1ex] d.north) coordinate (D) --++ (0,.45) + node [scale=.45,above,xshift=1ex] {\footnotesize imaginary unit}; + \draw ([yshift=-1ex] e.south) coordinate (E) --++ (0,-.5) + node [scale=.45,below,xshift=2ex] {Planck\\\footnotesize quantum}; + \draw ([yshift=1ex] f.north) coordinate (F) --++ (0,.7) + node [scale=.45,above] {\footnotesize spacetime-relativity\\Einstein}; + \draw ([yshift=-1ex] g.south) coordinate (G) --++ (0,-.5) + node [scale=.45,below] {Newton\\\footnotesize gravitation}; + \draw ([yshift=1ex] h.north) coordinate (H) --++ (0,.5) + node [scale=.45,above,xshift=5ex] {\footnotesize strong/weak/e.m. interactions\\Maxwell Yang-Mills}; + \draw ([yshift=-1ex] i.south) coordinate (I) --++ (0,-.6) + node [scale=.45,below] {Dirac\\\footnotesize relativistic wave function}; + \draw ([yshift=-1ex] j.south) coordinate (J) --++ (0,-.2) + node [scale=.45,below,xshift=3ex] {Kobayashi-Maskawa\\\footnotesize CKM matrix}; + \draw ([yshift=1ex] k.north) coordinate (K) --++ (0,.5) + node [scale=.45,above] {\footnotesize $\varphi$ - $\psi$ interaction\\Yukawa}; + \draw ([yshift=-1ex] l.south) coordinate (L) --++ (0,-.3) + node [scale=.45,below] {Higgs\\\footnotesize Boson}; + \foreach \x in {A,B,...,L}\fill [MidnightBlue!30] (\x) circle (.025);} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/litesolution/litesolution.pdf b/Master/texmf-dist/doc/latex/litesolution/litesolution.pdf Binary files differindex a5550aae171..725a19a8d6e 100644 --- a/Master/texmf-dist/doc/latex/litesolution/litesolution.pdf +++ b/Master/texmf-dist/doc/latex/litesolution/litesolution.pdf diff --git a/Master/texmf-dist/doc/latex/litesolution/litesolution.tex b/Master/texmf-dist/doc/latex/litesolution/litesolution.tex index 821a84006b8..3a1212f47e9 100644 --- a/Master/texmf-dist/doc/latex/litesolution/litesolution.tex +++ b/Master/texmf-dist/doc/latex/litesolution/litesolution.tex @@ -1,32 +1,29 @@ \documentclass[ans,mtpro2]{litesolution} \usepackage[listings]{tcolorbox} +\usepackage{fancyvrb} -\cover{schrodinger} +\lstset{language=[LaTeX]TeX,basicstyle=\small\ttfamily,breaklines=true,columns=flexible} \title{\sffamily The \pkg{LiteSolution} Class} \subtitle{\sffamily\scshape Hangzhou Dianzi University} -\bioinfo{\scshape\sffamily Mingyu Hsia, \href{mailto:xiamyphys@gmail.com}{\ttfamily xiamyphys@gmail.com} | \today, Version 2.1a} -\coverdecoration{$\Psi=\displaystyle\int\e^{\frac i\hbar\int\ab(\frac{R}{16\pi G}-\frac14F^2+\overline\psi i\cancel D\psi-\lambda\varphi\overline\psi\psi+\abs{D\varphi}^2-V(\varphi))}$} +\bioinfo{\scshape\sffamily Mingyu Hsia, \href{mailto:xiamyphys@gmail.com}{\ttfamily xiamyphys@gmail.com} | \today, Version 2.1c} +\cover[checkerboard]{schrodinger}\coverhead[5]{universe} \begin{document} - -\maketitle +\maketitle[MidnightBlue] \chapterimage{\UPFadingImage[trim={0 {.9\paperheight} 0 0},clip]{Beautiful-realities}} - -\chapter{An Introduction to the \pkg{LiteSolution} Class} +\chapter{An Introduction to The \pkg{LiteSolution} Class} \section{Introduction} -This is the document for \pkg{litesolution} template, which provides a lite design of the solution of test paper. - -\subsection{The purpose of this template} +This is the document for the \pkg{litesolution} class, which provides a lite design for typesetting solutions of exams, textbooks or other exercises. -This template provides a fresh design for typesetting solutions of exams, textbooks or other exercises. Welcome to feedback bugs or ideas via email \href{mailto:xiamyphys@gmail.com}{\ttfamily xiamyphys@gmail.com} or \href{https://github.com/xiamyphys/litesolution}{GitHub}. +Welcome to feedback bugs or ideas via email \href{mailto:xiamyphys@gmail.com}{\ttfamily xiamyphys@gmail.com} or \href{https://github.com/xiamyphys/litesolution}{GitHub}. -\subsection{Installing \pkg{Litesolution} and loading it} +\subsection{Installing \pkg{litesolution} and loading it} -Simply download \verb|litesolution.cls| file from \href{https://github.com/xiamyphys/LiteSolution}{GitHub} or \href{https://ctan.org/pkg/litesolution}{CTAN} and save it under your working directory. However, I strongly suggest to use terminal to install and update all packages to the latest version +Simply download \verb|litesolution.cls| file from \href{https://github.com/xiamyphys/litesolution}{GitHub} or \href{https://ctan.org/pkg/litesolution}{CTAN} and save it under your working directory. However, I strongly suggest to use terminal to install and update all packages to the latest version \begin{verbatim} sudo tlmgr update --self --all @@ -35,9 +32,10 @@ Simply download \verb|litesolution.cls| file from \href{https://github.com/xiamy To learn more, please refer to \href{https://tex.stackexchange.com/questions/55437/how-do-i-update-my-tex-distribution}{How do I update my \hologo{TeX} distribution?} \subsection{Compatibility} -The test environments are macOS + Mac\hologo{TeX} 2024 / Overleaf and they all work fine for \hologo{pdfLaTeX} and \hologo{XeLaTeX} compilers. Windows, Linux and Unix platforms compatibility unknown. -\section{Global Options of \pkg{Litesolution}} +The test environments are macOS + Mac\hologo{TeX} 2024 / Overleaf / Ubuntu 22.04.2 + \hologo{TeX} Live 2024 and they all work fine for \hologo{pdfLaTeX} and \hologo{XeLaTeX} compilers. Windows and Unix platforms compatibility unknown. + +\section{Global Options of this Class} \begin{verbatim} \documentclass[<options>]{litesolution} @@ -45,32 +43,36 @@ The test environments are macOS + Mac\hologo{TeX} 2024 / Overleaf and they all w \subsection{The \mode{answer} option} -This option has two modes, \mode{ans} and \mode{noans}, which can show or hide answers. After the \mode{noans} mode is enabled, the environment \cmd{solution} will be deactivated and contents in command \cmd{ans} will be hidden. +The \mode{ans} and \mode{noans} modes can show or hide contents in \cmd{solution} environment and \cmd{ans} command. \subsection{The \mode{counter} option} -This option has two modes, \mode{separate} and \mode{continuous}, which can make the page number between chapters be reset or continuous. +The \mode{separate} and \mode{continuous} modes can make the page number between chapters be reset or continuous. + +\subsection{The \mode{math} option} + +The \mode{mtpro2} and \mode{newtx} modes can format the font of formulas in the document. Please check if mtpro2 font has been installed on your computer correctly before using \mode{mtpro2} mode. \section{Cover Configurations} \subsection{The cover page configurations} \begin{verbatim} - \cover{<image name>} \title{<title>} \subtitle{<vertical subtitle>} - \bioinfo{<bioinfo on bottom>} \coverdecoration{<above contents>} -\end{verbatim} + \title{<content>} \subtitle{<content>} + \bioinfo{<content>} \cover[<pattern>]{<image>} + \coverhead[<angle>]{<image>} \coverhead*[<angle>]{<content>} -The same as the \pkg{book} class, the macro title could not be omitted, or it will return an error. The following is the cover configurations of this document + \begin{document} \maketitle[<color>] +\end{verbatim} \begin{verbatim} \title{\sffamily The \pkg{litesolution} Class} \subtitle{\sffamily\scshape Hangzhou Dianzi University} \bioinfo{\scshape\sffamily Mingyu Hsia, \href{mailto:xiamyphys@gmail.com} - {\ttfamily xiamyphys@gmail.com} | \today, Version 2.1a} - \coverdecoration{$\Psi=\displaystyle\int\e^{\frac i\hbar - \int\ab(\frac{R}{16\pi G}-\frac14F^2+\overline\psi i\cancel D\psi - -\lambda\varphi\overline\psi\psi+\abs{D\varphi}^2-V(\varphi))}$} - \cover{schrodinger} + {\ttfamily xiamyphys@gmail.com} | \today, Version 2.1a} + \cover[checkerboard]{schrodinger} \coverhead[5]{universe} + + \begin{document} \maketitle[Midnightblue] \end{verbatim} \subsection{The chapter head configurations} @@ -101,7 +103,10 @@ This command can create a fixable answer box when the mode \mode{noans} is enabl \subsection{Other preset commands} -This template provides the same math commands as \S 1.5 of the template \pkg{LiteBook} described additionly. +\begin{verbatim} + \def\i{\mathrm i} \def\e{\mathrm e} \def\T{\mathsf T} + \let\leq\leqslant \let\geq\geqslant +\end{verbatim} \section{Preset \pkg{amsthm} Environments} @@ -134,17 +139,44 @@ This template provides the same math commands as \S 1.5 of the template \pkg{Lit \end{tcblisting} \end{minipage} -\appendix -\def\thesection{Appendix \Alph{section}} +\subsection{Equation test} + +\[\i\hbar\partial_t\psi(\mathbf x,t)=-(\i\hbar c\bm\alpha\cdot\bm\nabla+\beta mc^2)\psi(\mathbf x,t)\] + +\section{Preset packages} + +This template has preset many packages. The following packages are the common ones -\section{An Introduction to The \pkg{notebeamer} Class} +\begin{table}[htbp] + \centering + \begin{tabular}{l l l l l l l l} + \toprule + \pkg{amsthm} & \pkg{bm} & \pkg{booktabs} & \pkg{cancel} & \pkg{caption} & \pkg{circuitikz} & \pkg{datetime} & \pkg{derivative}\\ + \midrule + \pkg{diagbox} & \pkg{esvect} & \pkg{extarrows} & \pkg{fancyhdr} & \pkg{fixdif} & \pkg{fontawesome5} & \pkg{geometry} & \pkg{indentfirst}\\ + \midrule + \pkg{lipsum} & \pkg{multicol} & \pkg{multirow} & \pkg{nicematrix} & \pkg{paracol} & \pkg{pgfplots} & \pkg{physics2} & \pkg{refstyle} \\ + \midrule + \pkg{setspace} & \pkg{siunitx} & \pkg{tabularx} & \pkg{tasks} & \pkg{wallpaper} & \pkg{xcolor} & \pkg{xeCJK} & \pkg{xfrac}\\ + \bottomrule + \end{tabular} +\end{table} -This class provides an easy way to input Beamers on note papers and make notebook quickly. It's optimized for Goodnotes' default paper size and there won't have difference between papers. +\section{Related packages} -In the future, this class will be redesigned to a package that optimized for the \pkg{litesolution} class. +\subsection{The \pkg{notebeamer} package} -\section{An Introduction to The \pkg{fadingimage} Package} +This package provides an easy way to input slides on note papers quickly for making annotations. + +\subsection{The \pkg{fadingimage} package} This package provides three commands for adding fading full width picture at the top or bottom of a page. +\clearpage\appendix\def\thesection{Appendix} + +\section{Original code for the cover head} + +\setstretch{1.15} +\lstinputlisting{figure/universe.tex} + \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/litesolution/litesolution.cls b/Master/texmf-dist/tex/latex/litesolution/litesolution.cls index ecba593464f..5cd81c3155b 100644 --- a/Master/texmf-dist/tex/latex/litesolution/litesolution.cls +++ b/Master/texmf-dist/tex/latex/litesolution/litesolution.cls @@ -15,12 +15,12 @@ %% * %% This work consists of the files litesolution.cls, * %% and README.md. * -%% available at https://github.com/xiamyphys/LitSolution * +%% available at https://github.com/xiamyphys/litsolution * %% *********************************************************** % !Mode:: "TeX:UTF-8" \NeedsTeXFormat{LaTeX2e} \PassOptionsToPackage{svgnames}{xcolor} -\ProvidesClass{litesolution}[2024/04/17 v2.1a LiteSolution document class] +\ProvidesClass{litesolution}[2024/04/20 v2.1c LiteSolution document class] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{family=LITE, prefix=LITE@, setkeys=\kvsetkeys} @@ -42,11 +42,12 @@ \ProcessKeyvalOptions*\relax \LoadClass[letterpaper,11pt,openany]{book} -\RequirePackage{geometry,setspace,datetime,caption,booktabs,multicol,diagbox,paracol,float,enumitem} +\RequirePackage{setspace,datetime,caption,booktabs,multicol,diagbox,paracol,enumitem} +\RequirePackage[notelinecolor=MidnightBlue,notemargin=.75in]{notebeamer} \RequirePackage[nokeyprefix]{refstyle} \newref{fig}{name={\sffamily\bfseries Figure~}} \newref{tab}{name={\sffamily\bfseries Table~}} -\geometry{margin = 1in} +\geometry{margin=1in} \linespread{1.3} \ddmmyyyydate \captionsetup{labelsep=period,labelfont={bf,sf},font=small} @@ -58,7 +59,7 @@ \setlist[enumerate]{itemsep=.5ex} \setlist[itemize]{itemsep=.5ex} -\RequirePackage{graphics,graphicx,wallpaper} +\RequirePackage{graphics,graphicx,wallpaper,pagecolor} \graphicspath{{./figure/}{./figures/}{./image/}{./images/}{./graphics/}{./graphic/}{./pictures/}{./picture/}} \RequirePackage{ifxetex} @@ -79,13 +80,11 @@ \RequirePackage[libertine,mono=false]{newtx} }{\relax} \let\openbox\relax\def\hmmax{0}\def\bmmax{0} -\RequirePackage{amsthm,mdframed,physics2,bm,fixdif,derivative,cancel,extarrows,siunitx,xfrac,nicematrix} +\RequirePackage{amsthm,physics2,bm,fixdif,derivative,cancel,extarrows,siunitx,xfrac,nicematrix} \usephysicsmodule{ab,braket,diagmat,doubleprod,xmat,ab.legacy,op.legacy} \RequirePackage[e]{esvect} \AtBeginDocument{% - \def\i{\mathrm i} - \def\e{\mathrm e} - \def\T{\mathsf T} + \def\i{\mathrm i}\def\e{\mathrm e}\def\T{\mathsf T} \let\leq\leqslant\let\geq\geqslant \setlength{\abovedisplayskip}{9pt} \setlength{\belowdisplayskip}{9pt} @@ -99,13 +98,13 @@ \AddToHook{cmd/faIcon/after}{\endgroup} \RequirePackage{circuitikz,pgfplots,fadingimage} -\usetikzlibrary{arrows,tikzmark,patterns,calc,fadings,angles,quotes,intersections,} +\usetikzlibrary{arrows,tikzmark,patterns,calc,fadings,angles,quotes,intersections} \tikzset{>=stealth', every picture/.append style={% line join=round,line cap=round,thick }} \pgfplotsset{compat=1.8} -\ctikzset{capacitors/width=0.12,capacitors/height=0.3} +\ctikzset{capacitors/width=.12,capacitors/height=.3} \NewDocumentCommand\length{ O{} m m m m m }{% \node [#1] at ($.5*($#3+#2$)$) {#4}#6 \draw [->|,thick] ($.5*($#3+#2+#5$)$) -- #3#6 @@ -125,30 +124,39 @@ every picture/.append style={% \def\subtitle#1{\gdef\@subtitle{#1}} \def\bioinfo#1{\gdef\@bioinfo{#1}} -\def\coverdecoration#1{\gdef\@coverdecoration{#1}} -\def\cover#1{\gdef\@cover{#1}} -\renewcommand*\maketitle{ - \newgeometry{margin = 0in} +\NewDocumentCommand\coverhead{ s O{0} m }{ + \IfBooleanTF{#1}{ + \gdef\s@coverheadrotate{#2} + \gdef\s@coverhead{#3}}{ + \gdef\@coverheadrotate{#2} + \gdef\@coverhead{#3} + }} +\NewDocumentCommand\cover{ o m }{ + \IfValueT{#1}{\gdef\@coverpattern{#1}} + \gdef\@cover{#2}} +\RenewDocumentCommand\maketitle{O{MidnightBlue}}{ + \newgeometry{margin=0in}\newpagecolor{#1!10} \tikz[remember picture,overlay]{ - \fill [MidnightBlue!10] (current page.north west) rectangle (current page.south east); + \ifcsname @coverhead\endcsname + \node[rotate=\@coverheadrotate] at ($(current page.center)+(0,.35*\paperheight)$) {\includegraphics[width=\paperwidth]{\@coverhead}}; + \fi + \ifcsname s@coverhead\endcsname + \node[scale=2,color=#1!30,rotate=\s@coverheadrotate] at ($(current page.center)+(0,.35*\paperheight)$) {\s@coverhead}; + \fi \fill [white,opacity=.5] ($(current page.south west)+(.2*\paperwidth,.6*\paperheight)$) rectangle (current page.south east); \fill [white,opacity=.5] ($(current page.south west)+(.3*\paperwidth,.7*\paperheight)$) rectangle (current page.south east); \ifcsname @cover\endcsname \node [opacity=.5] at ($(current page.south west)+(.65*\paperwidth,.3*\paperheight)$) {\includegraphics[height=.3\paperheight]{\@cover}}; - \foreach \a in {0,1,...,50} - \fill [pattern=checkerboard,pattern color=MidnightBlue!10!white!50!white!50] ($(current page.south west)+(.3*\paperwidth,0)$) rectangle ++ (.7*\paperwidth,.6\paperheight); - \fi + \ifcsname @coverpattern\endcsname + \fill [pattern=\@coverpattern,pattern color=#1!10!white!50!white!50] ($(current page.south west)+(.3*\paperwidth,0)$) rectangle ++ (.7*\paperwidth,.6\paperheight); + \fi\fi \node [darkgray] at ($(current page.south west)+(.65*\paperwidth,.65*\paperheight)$) {\Huge\bfseries\@title}; \ifcsname @subtitle\endcsname - \node [rotate=90,gray!60] at ($(current page.south west)+(.25*\paperwidth,.3*\paperheight)$) {\huge\bfseries\@subtitle}; - \fi - \ifcsname @coverdecoration\endcsname - \node[opacity=0.5,scale=2,color=MidnightBlue!40,rotate=15] at ($(current page.center)+(0,.35*\paperheight)$) {\@coverdecoration}; + \node [rotate=90,gray,opacity=.6] at ($(current page.south west)+(.25*\paperwidth,.3*\paperheight)$) {\huge\bfseries\@subtitle}; \fi \ifcsname @bioinfo\endcsname - \node [gray!40] at ($(current page.south)+(.15*\paperwidth,.075*\paperheight)$) {\large\@bioinfo}; - \fi - }\restoregeometry + \node [gray,opacity=.4] at ($(current page.south)+(.15*\paperwidth,.075*\paperheight)$) {\large\@bioinfo}; + \fi}\restoregeometry\restorepagecolor } \def\chapterimage#1{\gdef\@chapterimage{#1}} @@ -200,16 +208,10 @@ every picture/.append style={% \AtBeginDocument{% \excludecomment{solution}\excludecomment{note} \let\endsolution\relax\let\endnote\relax} - \def\true{% - \addtocounter{task}{1}% - \thetask - } + \def\true{\addtocounter{task}{1}\thetask} }{\relax} \def\solute{\@ifstar\s@solute\@solute} -\newtheoremstyle{tags}{3pt}{3pt}{}{}{}{}{.5em} - {\bfseries \thmname{#1} \thmnumber{#2}. \hfill \thmnote{\normalfont\faIcon{rss}~#3}\\\leavevmode} -\theoremstyle{tags} \theoremstyle{definition} \newtheorem{problem}{\scshape\sffamily\color{DarkGreen}\faIcon{pen-square}~\scshape Problem}[chapter] \def\theproblem{\arabic{problem}} |