diff options
author | Norbert Preining <norbert@preining.info> | 2022-08-02 03:03:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-08-02 03:03:55 +0000 |
commit | 473b8529944036d53095231d535a6fb209f3f976 (patch) | |
tree | c471568e07826eec65ad20a025a1e956036183f7 /macros | |
parent | c7ecdfe2e07e2e010de5e2a8d94c001c5dc9fc27 (diff) |
CTAN sync 202208020303
Diffstat (limited to 'macros')
-rw-r--r-- | macros/latex/contrib/gentombow/LICENSE (renamed from macros/jptex/latex/gentombow/LICENSE) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/README.md (renamed from macros/jptex/latex/gentombow/README.md) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/bounddvi-en.pdf (renamed from macros/jptex/latex/gentombow/bounddvi-en.pdf) | bin | 49397 -> 49397 bytes | |||
-rw-r--r-- | macros/latex/contrib/gentombow/bounddvi-en.tex (renamed from macros/jptex/latex/gentombow/bounddvi-en.tex) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/bounddvi.pdf (renamed from macros/jptex/latex/gentombow/bounddvi.pdf) | bin | 102475 -> 102475 bytes | |||
-rw-r--r-- | macros/latex/contrib/gentombow/bounddvi.sty (renamed from macros/jptex/latex/gentombow/bounddvi.sty) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/bounddvi.tex (renamed from macros/jptex/latex/gentombow/bounddvi.tex) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/gentombow-ja.pdf (renamed from macros/jptex/latex/gentombow/gentombow-ja.pdf) | bin | 174085 -> 174085 bytes | |||
-rw-r--r-- | macros/latex/contrib/gentombow/gentombow-ja.tex (renamed from macros/jptex/latex/gentombow/gentombow-ja.tex) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/gentombow.pdf (renamed from macros/jptex/latex/gentombow/gentombow.pdf) | bin | 150209 -> 150209 bytes | |||
-rw-r--r-- | macros/latex/contrib/gentombow/gentombow.sty (renamed from macros/jptex/latex/gentombow/gentombow.sty) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/gentombow.tex (renamed from macros/jptex/latex/gentombow/gentombow.tex) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/pxesopic.sty (renamed from macros/jptex/latex/gentombow/pxesopic.sty) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/pxgentombow.pdf (renamed from macros/jptex/latex/gentombow/pxgentombow.pdf) | bin | 23109 -> 23109 bytes | |||
-rw-r--r-- | macros/latex/contrib/gentombow/pxgentombow.sty (renamed from macros/jptex/latex/gentombow/pxgentombow.sty) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/pxgentombow.tex (renamed from macros/jptex/latex/gentombow/pxgentombow.tex) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/pxpdfpages.sty (renamed from macros/jptex/latex/gentombow/pxpdfpages.sty) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/gentombow/pxtextpos.sty (renamed from macros/jptex/latex/gentombow/pxtextpos.sty) | 0 | ||||
-rw-r--r-- | macros/latex/contrib/kfupm-math-exam/kfupm-math-exam.cls | 289 | ||||
-rw-r--r-- | macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf | bin | 667760 -> 678803 bytes | |||
-rw-r--r-- | macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex | 132 | ||||
-rw-r--r-- | macros/latex/contrib/proflycee/tex/ProfLycee.sty | 10 | ||||
-rw-r--r-- | macros/latex/contrib/projlib/ProjLib.dtx | 26 | ||||
-rw-r--r-- | macros/latex/contrib/projlib/README.md | 2 | ||||
-rw-r--r-- | macros/xetex/latex/hfutthesis/hfutthesis.cls | 2 |
25 files changed, 135 insertions, 326 deletions
diff --git a/macros/jptex/latex/gentombow/LICENSE b/macros/latex/contrib/gentombow/LICENSE index 9661ce7b8d..9661ce7b8d 100644 --- a/macros/jptex/latex/gentombow/LICENSE +++ b/macros/latex/contrib/gentombow/LICENSE diff --git a/macros/jptex/latex/gentombow/README.md b/macros/latex/contrib/gentombow/README.md index 94cbdbdac0..94cbdbdac0 100644 --- a/macros/jptex/latex/gentombow/README.md +++ b/macros/latex/contrib/gentombow/README.md diff --git a/macros/jptex/latex/gentombow/bounddvi-en.pdf b/macros/latex/contrib/gentombow/bounddvi-en.pdf Binary files differindex 2cf419316e..2cf419316e 100644 --- a/macros/jptex/latex/gentombow/bounddvi-en.pdf +++ b/macros/latex/contrib/gentombow/bounddvi-en.pdf diff --git a/macros/jptex/latex/gentombow/bounddvi-en.tex b/macros/latex/contrib/gentombow/bounddvi-en.tex index 82046f888a..82046f888a 100644 --- a/macros/jptex/latex/gentombow/bounddvi-en.tex +++ b/macros/latex/contrib/gentombow/bounddvi-en.tex diff --git a/macros/jptex/latex/gentombow/bounddvi.pdf b/macros/latex/contrib/gentombow/bounddvi.pdf Binary files differindex 57fed9c6c7..57fed9c6c7 100644 --- a/macros/jptex/latex/gentombow/bounddvi.pdf +++ b/macros/latex/contrib/gentombow/bounddvi.pdf diff --git a/macros/jptex/latex/gentombow/bounddvi.sty b/macros/latex/contrib/gentombow/bounddvi.sty index a70da52c6e..a70da52c6e 100644 --- a/macros/jptex/latex/gentombow/bounddvi.sty +++ b/macros/latex/contrib/gentombow/bounddvi.sty diff --git a/macros/jptex/latex/gentombow/bounddvi.tex b/macros/latex/contrib/gentombow/bounddvi.tex index 198bbb7fb9..198bbb7fb9 100644 --- a/macros/jptex/latex/gentombow/bounddvi.tex +++ b/macros/latex/contrib/gentombow/bounddvi.tex diff --git a/macros/jptex/latex/gentombow/gentombow-ja.pdf b/macros/latex/contrib/gentombow/gentombow-ja.pdf Binary files differindex ee94b6c132..ee94b6c132 100644 --- a/macros/jptex/latex/gentombow/gentombow-ja.pdf +++ b/macros/latex/contrib/gentombow/gentombow-ja.pdf diff --git a/macros/jptex/latex/gentombow/gentombow-ja.tex b/macros/latex/contrib/gentombow/gentombow-ja.tex index 411aad1db2..411aad1db2 100644 --- a/macros/jptex/latex/gentombow/gentombow-ja.tex +++ b/macros/latex/contrib/gentombow/gentombow-ja.tex diff --git a/macros/jptex/latex/gentombow/gentombow.pdf b/macros/latex/contrib/gentombow/gentombow.pdf Binary files differindex 178bab4c52..178bab4c52 100644 --- a/macros/jptex/latex/gentombow/gentombow.pdf +++ b/macros/latex/contrib/gentombow/gentombow.pdf diff --git a/macros/jptex/latex/gentombow/gentombow.sty b/macros/latex/contrib/gentombow/gentombow.sty index bcd8093f50..bcd8093f50 100644 --- a/macros/jptex/latex/gentombow/gentombow.sty +++ b/macros/latex/contrib/gentombow/gentombow.sty diff --git a/macros/jptex/latex/gentombow/gentombow.tex b/macros/latex/contrib/gentombow/gentombow.tex index d0bc4523ab..d0bc4523ab 100644 --- a/macros/jptex/latex/gentombow/gentombow.tex +++ b/macros/latex/contrib/gentombow/gentombow.tex diff --git a/macros/jptex/latex/gentombow/pxesopic.sty b/macros/latex/contrib/gentombow/pxesopic.sty index 567b9d0a2d..567b9d0a2d 100644 --- a/macros/jptex/latex/gentombow/pxesopic.sty +++ b/macros/latex/contrib/gentombow/pxesopic.sty diff --git a/macros/jptex/latex/gentombow/pxgentombow.pdf b/macros/latex/contrib/gentombow/pxgentombow.pdf Binary files differindex d30a4509e4..d30a4509e4 100644 --- a/macros/jptex/latex/gentombow/pxgentombow.pdf +++ b/macros/latex/contrib/gentombow/pxgentombow.pdf diff --git a/macros/jptex/latex/gentombow/pxgentombow.sty b/macros/latex/contrib/gentombow/pxgentombow.sty index bd94b4bcee..bd94b4bcee 100644 --- a/macros/jptex/latex/gentombow/pxgentombow.sty +++ b/macros/latex/contrib/gentombow/pxgentombow.sty diff --git a/macros/jptex/latex/gentombow/pxgentombow.tex b/macros/latex/contrib/gentombow/pxgentombow.tex index 8a8c2616bd..8a8c2616bd 100644 --- a/macros/jptex/latex/gentombow/pxgentombow.tex +++ b/macros/latex/contrib/gentombow/pxgentombow.tex diff --git a/macros/jptex/latex/gentombow/pxpdfpages.sty b/macros/latex/contrib/gentombow/pxpdfpages.sty index ad86ea819b..ad86ea819b 100644 --- a/macros/jptex/latex/gentombow/pxpdfpages.sty +++ b/macros/latex/contrib/gentombow/pxpdfpages.sty diff --git a/macros/jptex/latex/gentombow/pxtextpos.sty b/macros/latex/contrib/gentombow/pxtextpos.sty index 02cd5202e2..02cd5202e2 100644 --- a/macros/jptex/latex/gentombow/pxtextpos.sty +++ b/macros/latex/contrib/gentombow/pxtextpos.sty diff --git a/macros/latex/contrib/kfupm-math-exam/kfupm-math-exam.cls b/macros/latex/contrib/kfupm-math-exam/kfupm-math-exam.cls deleted file mode 100644 index b724f105d3..0000000000 --- a/macros/latex/contrib/kfupm-math-exam/kfupm-math-exam.cls +++ /dev/null @@ -1,289 +0,0 @@ -% kfupm-math-exam.cls -% Department of Mathematics -% King Fahd University of Petroleum and Minerals -% A LaTeX2e document class for preparing the exams of the department of mathematics, KFUPM. - -% --- METADATA ----------------------------------------------------------------- -\def\fileversion{0.1.0} -\def\filedate{2022/07/25} -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{kfupm-math-exam}[\filedate\space Version \fileversion\space by - Department of Mathematics, KFUPM] -% --- OPTION PROCESSSING ------------------------------------------------------- -\RequirePackage{kvoptions} \SetupKeyvalOptions{ - family = kfupmmathexam, - prefix = kfupmmathexam@, - setkeys = \kvsetkeys -} -\DeclareStringOption[212]% - {term} -\DeclareStringOption[Exam]% - {topic} -\DeclareStringOption[King Fahd University of Petroleum \& Minerals]% - {university} -\DeclareStringOption[Department of Mathematics]% - {dept} -\DeclareStringOption[MATH101 CALCULUS I]% - {course} -\DeclareStringOption[3]% - {quartile} -\DeclareStringOption[1]% - {examtitle} -\DeclareStringOption[March 9, 2022]% - {examdate} -\DeclareStringOption[4]% - {numofversions} -\DeclareStringOption[15]% - {numofquestions} -\DeclareStringOption[5]% - {numofoptions} -\DeclareStringOption[0123456]% - {studentnumber} -\DeclareStringOption[snumver@kfupm.edu.sa]% - {email} -\DeclareStringOption[1]% - {firstexercise} -\DeclareStringOption[3.5cm]{betweenquestions} -\DeclareStringOption[0.762cm]{spaceafterbody} -\DeclareStringOption[0.5cm]{betweenoptions} -% pass unrecognized options to `article` class -\DeclareDefaultOption{% - \PassOptionsToClass{\CurrentOption}{article}% -} -% process all options -\ProcessKeyvalOptions{kfupmmathexam} -% load parent class with some default options -\LoadClass[a4paper, 12pt]{article} -% --- PACKAGES AND SETUP ------------------------------------------------------- -\RequirePackage[ - paperheight=33cm, - paperwidth=21.5cm, - headheight = 20pt, - margin = 2cm, - tmargin = \dimexpr 2cm - 10pt \relax, - ]{geometry} % set up nicer margins - \addtolength{\footskip}{20pt} -\RequirePackage{fancyhdr} % for headers and footers -\RequirePackage{graphicx} % for including figures -\RequirePackage{amsmath} % use AMS math package -\RequirePackage{amssymb} % use AMS symbols -\RequirePackage{amsthm} % for writing proofs -\RequirePackage{array} % for setting up arguments to columns -\RequirePackage{booktabs} % for professional tables -\RequirePackage% - [tworuled, linesnumbered, noend, noline]% - {algorithm2e} % for typesetting pseudo-code -\RequirePackage{xcolor} % for colored text (comments in algorithms) -\RequirePackage{trimspaces, xstring} % for multiple author parsing -\RequirePackage[shortlabels]{enumitem} \labelsep=.75cm -\RequirePackage{mathrsfs} -\RequirePackage{xparse} -\RequirePackage{environ} -\RequirePackage{pgfplots} -\pgfplotsset{compat=newest} -\RequirePackage{tcolorbox} - -% option post-processing -\newcommand{\kme@temp}{} -\newcommand{\kme@sub}[4]{% - \ifnum#3 = 1\relax% - \ifnum#4 = 1\relax% - \renewcommand{\kme@temp}{#1}% - \else% - \StrBefore{#1}{#2}[\kme@temp]% - \fi% - \else% - \ifnum#3 = #4\relax% - \StrBehind[\numexpr#3 - 1\relax]{#1}{#2}[\kme@temp]% - \else% - \StrBetween[\numexpr#3 - 1\relax,#3]{#1}{#2}{#2}[\kme@temp]% - \fi% - \fi% - \expandafter\trim@spaces\expandafter{\kme@temp}% -} -\newcommand{\kme@authorProcessed}[1]{% - \kme@sub{\kfupmmathexam@name}{;}{#1}{\arabic{kme@numAuthors}}~% - (\kme@sub{\kfupmmathexam@studentnumber}{;}{#1}{\arabic{kme@numAuthors}})\\% - \texttt{\kme@sub{\kfupmmathexam@email}{;}{#1}{\arabic{kme@numAuthors}}}% - % if there are more authors, do a recursive call for the next one - \ifnum#1 < \arabic{kme@numAuthors}\relax\and\kme@authorProcessed{\numexpr#1 + 1\relax}\fi% -} -\newcommand{\kme@authorsProcessed}{% - % count number of authors; one more than number of semicolons - \StrCount{\kfupmmathexam@name}{;}[\kme@numAuthors]% - \newcounter{kme@numAuthors}% - \setcounter{kme@numAuthors}{\kme@numAuthors}% - \stepcounter{kme@numAuthors}% - % produce output - \kme@authorProcessed{1}% -} -% look for figures in the figures directory -\graphicspath{{figures/}} -% set up headers and footers; same for all pages -\setlength{\headheight}{10pt} -\newcommand{\kfupmmathexam@setupHF}{% - \fancyhf{} - \fancyhead[L]{\sffamily \small KFUPM } - \fancyhead[C]{\sffamily Page \thepage ~of \pageref{LastPage}} - \fancyhead[R]{\sffamily Term \kfupmmathexam@term} - \fancyfoot[L]{\sffamily /\kfupmmathexam@dept} - \fancyfoot[R]{\sffamily\bfseries\thepage} - \renewcommand{\headrulewidth}{0.5pt} - \renewcommand{\footrulewidth}{0.5pt} -} -\fancypagestyle{plain}{\kfupmmathexam@setupHF{}} \kfupmmathexam@setupHF{} -\pagestyle{fancy} -\NewDocumentCommand{\coverpage}{O{\kfupmmathexam@course} O{\kfupmmathexam@examtitle} O{\kfupmmathexam@term} O{\kfupmmathexam@examdate}}{% -\thispagestyle{empty} -\begin{center} - \begin{large} - Kink Fahd University of Petroleum and Minerals\\ - Mathematics\\ - \vspace*{2cm} - {\bf #1} \\ - {\bf #2} \\ - {\bf #3} \\ - {\bf #4} \\ - - \vspace*{3cm} - {\bf{\Huge{\fbox{EXAM COVER }}}}\\ - \vspace*{2cm} - {\bf Number of versions: \kfupmmathexam@numofversions } \\ - {\bf Number of questions: \kfupmmathexam@numofquestions } \\ - {\bf Number of Answers: \kfupmmathexam@numofoptions } \\ - - \vspace*{0.2cm} - - \end{large} - - \vfill - - \tiny{This exam was prepared using EXAM SHUFFLER} - \tiny{For questions send an email to Dr. Mohammed Alshahrani (mshahrani@kfupm.edu.sa) } -\end{center} -\newpage -} -\newcommand{\versioncover}[1]{ -\thispagestyle{empty} -\begin{center} - \begin{large} - Kink Fahd University of Petroleum and Minerals \\ - Mathematics \\ - \vspace*{4.5cm} - {\bf \fbox{ \codestr{CODE}{#1} } } \hfill {\bf \fbox{ \codestr{CODE}{#1} }} \\ - {\bf math333 } \\ - {\bf exam 1 } \\ - {\bf 182 } \\ - {\bf monday march 13 } \\ - {\bf Net Time Allowed: 120 minutes } \\ - - \vspace*{0.2cm} - - \end{large} -\end{center} -\ifthenelse{\equal{#1}{0}}{ -\begin{center} -\vspace*{6cm} -{\bf {\Huge{MASTER VERSION}}} \\ -\end{center} -}{ -\large{Name: }\hrulefill - -\vspace{3mm} - -\large{ID: } \hrulefill \large{ Sec: } \hrulefill \large{.} - -\vspace{1cm} - -\large{\bf{Check that this exam has {\underline{ \thenumberofquestions }} questions.}} - -\vspace{1cm} - -\getInstructions -} -\newpage - -\renewcommand{\thepage}{\noindent Term 182, math333, exam 1 \hfill Page {\bf \arabic{page} of \pagecount{\thenumberofpages} } \hfill {\bf \fbox{ \codestr{CODE}{#1} }}} -\setcounter{page}{1} - -} -% ensure that the title is inserted in the document -\title{\coverpage} -\author{} -\date{} -\AtBeginDocument{\pagestyle{myheadings}}%\maketitle - -% add some keywords -\SetKw{And}{and} \SetKw{Or}{or} \SetKw{To}{to} -% make it possible to not have line numbers on a single line -\let\oldnl\nl -\newcommand{\nonl}{\renewcommand{\nl}{\let\nl\oldnl}} -% style algorithm captions -\newcommand{\kfupmmathexam@capsty}[1]{\!} -\SetAlCapSty{kfupmmathexam@capsty} \SetAlCapNameFnt{\scshape\hspace{.69em}} -% get rid of semicolons -\DontPrintSemicolon -% comment formatting -\newcommand\agacommfont[1]{\footnotesize\ttfamily\textcolor{gray}{#1}} -\SetCommentSty{agacommfont} -% --- USEFUL MACROS ------------------------------------------------------------ -\newcommand*{\R}{{\mathbb R}} -\newcommand*{\N}{{\mathbb N}} -\newcommand*{\Z}{{\mathbb Z}} -\newcommand*{\Q}{{\mathbb Q}} - -% lengths and commands of the exam options -\newcount\numberofversions -\numberofversions=\kfupmmathexam@numofversions -\advance\numberofversions +1 -\newcounter{numberofquestions} -\setcounter{numberofquestions}{\kfupmmathexam@numofquestions} -\newcounter{numberofpages} -\setcounter{numberofpages}{0} -% --- define new database for exam questions ---- -\newcounter{examcodecounter} -\setcounter{examcodecounter}{1} - - -\ExplSyntaxOn -\str_new:N \l_alphabets_str -\str_set:Nn \l_alphabets_str {abcdefghigklmnopqrstuvwxuz} -\newcommand{\instructions}[1]{ - \tl_set:Nn \l_tmpa_str {#1} -} -\newcommand{\getInstructions}[1]{ - \tl_use:N \l_tmpa_str -} -\int_new:N \l_tmppages_int -\int_set:Nn \l_tmppages_int {0} -\cs_set:Npn \l_calc_pages_int:n #1 { - \int_set:Nn \l_tmppages_int {\int_div_truncate:nn {#1}{2}} - \int_set:Nn \l_tmppages_int {\int_compare:nNnTF {0}={\int_mod:nn {#1}{2}}{\l_tmppages_int}{\l_tmppages_int+1}} - \int_use:N \l_tmppages_int -} -\newcommand{\pagecount}[1]{ - \l_calc_pages_int:n {15} -} - - -\str_new:N \l_exam_code_str -\int_new:N \l_exam_version_int -\cs_set:Npn \l_concat_codenumber_str:nn #1#2 { - \int_set:Nn \l_exam_version_int {100+#2} - \str_clear_new:N \l_partone_str - \str_clear_new:N \l_parttwo_str - \str_set:Nn \l_partone_str {#1} - \str_set:Nx \l_parttwo_str {\int_use:N \l_exam_version_int} - \str_set:Nx \l_parttwo_str {\str_range:Nnn \l_parttwo_str {-2}{-1}} - \str_concat:NNN \l_exam_code_str \l_partone_str \l_parttwo_str - \str_use:N \l_exam_code_str -} -\newcommand{\codestr}[2]{ - \int_compare:nNnTF {0}={#2}{MASTER}{ - \l_concat_codenumber_str:nn {#1}{#2} - } -} - -% working with list - -\ExplSyntaxOff diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf Binary files differindex 2d5662a655..a2dff6588f 100644 --- a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf +++ b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex index 4d6357e042..5f7796fa90 100644 --- a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex +++ b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex @@ -9,8 +9,20 @@ \renewcommand\ttdefault{lmtt} \usepackage[scaled=0.875]{cabin} \usepackage[build]{ProfLycee} +\usepackage{tkz-euclide} \usetikzlibrary{hobby} \usepackage{siunitx} +\usepackage{fancyhdr} +%fancy +\fancyhf{} +\renewcommand{\headrulewidth}{0pt} +%\lhead{\sffamily \small [ProfLycee]} +%\chead{\entete{\classe{} - \annee}} +%\rhead{\sffamily \small - \thepage{} -} +\lfoot{\sffamily \small [ProfLycee]} +\cfoot{\sffamily \small - \thepage{} -} +\rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}} + \usepackage{graphics} \usepackage{hvlogos} \usepackage{simplekv} @@ -42,8 +54,8 @@ \setlength{\parindent}{0pt} \definecolor{LightGray}{gray}{0.9} -\def\PLversion{1.1.7} -\def\PLdate{30 Juin 2022} +\def\PLversion{1.1.8} +\def\PLdate{01 Août 2022} \tcbset{vignettes/.style={% nobeforeafter,box align=base,boxsep=0pt,enhanced,sharp corners=all,rounded corners=southeast,% @@ -170,17 +182,22 @@ \begin{document} -\thispagestyle{empty} +%\AddToShipoutPicture{% +%\begin{tikzpicture}[remember picture,overlay] +% \node [anchor=center,yshift=1cm,xshift=-1.5cm] (box\thepage) at (current page.south east){\hyperlink{matoc}{\LARGE\faArrowAltCircleUp[regular]}}; +%\end{tikzpicture}} + +\pagestyle{fancy} \maketitle -{\Large \bfseries Résumé : } +\thispagestyle{empty} + +{\Large {\bfseries Résumé} : Quelques commandes pour faciliter l'utilisation de \LaTeX{} pour les enseignants de mathématiques en lycée.} \medskip -\noindent Quelques commandes pour faciliter l'utilisation de \LaTeX{} pour les enseignants de mathématiques en lycée. - -Quelques commandes pour des courbes \textit{lisses} avec gestion des extrema et des dérivées. +\noindent Quelques commandes pour des courbes \textit{lisses} avec gestion des extrema et des dérivées. Quelques commandes pour simuler une fenêtre de logiciel de calcul formel, en \TikZ. @@ -239,6 +256,9 @@ Quelques commandes pour convertir bin/dec/hex avec certains détails. \newpage +\phantomsection +\hypertarget{matoc}{} + \tableofcontents \newpage @@ -268,7 +288,7 @@ Le {package} \ctex{ProfLycee} charge les {packages} : \item \ctex{xcolor} avec les options \textsf{[table,svgnames]} ; \item \ctex{tikz}, \ctex{pgf}, \ctex{xfp} ; \item \ctex{xparse}, \ctex{xkeyval}, \ctex{xstring}, \ctex{simplekv} ; - \item \ctex{listofitems}, \ctex{xintexpr} ; + \item \ctex{listofitems}, \ctex{xintexpr} et \ctex{xintbinhex} ; \item \ctex{tabularray}, \ctex{fontawesome5}, \ctex{tcolorbox}. \end{itemize} \end{codeinfo} @@ -381,7 +401,8 @@ Le {package}, qui s'enrichira peut-être au fil du temps permet -- pour le momen \item créer un cartouche \textit{à la manière de} Capytale ; \item créer rapidement un pavé droit ou un tétraèdre en \TikZ, avec gestion des nœuds ; \item créer rapidement un ensemble d'éléments, avec gestion des espaces ; - \item créer, dans un environnement \TikZ, la \og toile \fg{} pour une suite récurrente. + \item créer, dans un environnement \TikZ, la \og toile \fg{} pour une suite récurrente : + \item etc \end{itemize} \end{codeidee} @@ -1639,7 +1660,7 @@ Pour \textit{illustrer} un peu les \Cle{clés}, un petit schéma, avec les diffà \subsection{Fractions} \begin{codeidee} -L'idée est d'obtenir une commande pour simplifier un calcul sous forme de fraction irréductible. +L'idée est d'obtenir une commande pour \textit{simplifier} un calcul sous forme de fraction irréductible. \end{codeidee} \begin{codetex}[listing only] @@ -2039,7 +2060,7 @@ Plusieurs \Cle{Clés} sont disponibles pour cette commande : \subsection{Équations trigos} \begin{codeinfo} -En plus des \Cle{Clés} précédentes, il existe un complément pour visualiser des solutions d'équations simples du type $\cos(x)=\ldots$ ou $\sin(x)=\ldots$. +En plus des \Cle{Clés} précédentes, il existe un complément pour \textit{visualiser} des solutions d'équations simples du type $\cos(x)=\ldots$ ou $\sin(x)=\ldots$. \end{codeinfo} \begin{codecles} @@ -2250,7 +2271,7 @@ Pour la clé \Cle{code}, il est construit par le type (\textsf{a} pour affine ou \begin{codeidee} Ces schémas peuvent être de plus utilisés, via la commande \ctex{aidesignetkztabPL} pour illustrer les signes obtenus dans un tableau de signes présentés grâce au package \ctex{tkz-tab}. -Pour des raisons interne, le fonctionnement de la commande \ctex{aidesignetkztabPL} est légèrement différent et, pour des raisons que j'ignore, le code est légèrement différent en \textit{interne} (avec une \textit{déconnexion} des caractères \textsf{:} et \textsf{\textbackslash}) pour la librairie \TikZ{} \ctex{calc} puisse fonctionner (mystère pour le moment\ldots) +Pour des raisons internes, le fonctionnement de la commande \ctex{aidesignetkztabPL} est légèrement différent et, pour des raisons que j'ignore, le code est légèrement différent en \textit{interne} (avec une \textit{déconnexion} des caractères \textsf{:} et \textsf{\textbackslash}) pour que la librairie \TikZ{} \ctex{calc} puisse fonctionner (mystère pour le moment\ldots) \end{codeidee} \begin{codetex}[listing only] @@ -2641,7 +2662,7 @@ L'idée est de \textit{compléter} les possibilités offertes par le package \ct \begin{itemize} \item décimal en binaire avec blocs de 4 chiffres en sortie ; - \item conversion binaire ou hexédacimal en décimal avec écriture polynomiale. + \item conversion binaire ou hexadécimal en décimal avec écriture polynomiale. \end{itemize} \end{codeidee} @@ -2698,7 +2719,7 @@ Le formatage est géré par \ctex{sinuitx}, le mieux est donc de positionner la \smallskip -Les nombres écrits en binaire sont, par défaut, présenter en bloc de 4 chiffres. +Les nombres écrits en binaire sont, par défaut, présentés en bloc(s) de 4 chiffres. \end{codecles} \begin{codetex}[listing only] @@ -2767,8 +2788,6 @@ $\PLconvbinhex[trait=1.5pt]{110011111}$ $\PLconvbinhex[details=false]{110011111}$ %conversion sans détails et sans affichage de la base $\PLconvbinhex[affbase=false,details=false]{110011111}$ -%conversion avec détails et sans affichage -$\PLconvbinhex[affbase=false]{110011111}$ \end{codetex} \begin{codesortie} @@ -2779,8 +2798,6 @@ $\PLconvbinhex[trait=1.5pt]{110011111}$ $\PLconvbinhex[details=false]{110011111}$ $\PLconvbinhex[affbase=false,details=false]{110011111}$ - -$\PLconvbinhex[details=false]{110011111}$ \end{codesortie} \pagebreak @@ -2805,7 +2822,7 @@ L'idée est ici de présenter la conversion, grâce à l'écriture polynômiale Quelques \Cle{clés} sont disponibles pour cette commande : \begin{itemize} - \item la clé \Cle{basedep} qi est la base de départ (2 ou 16 !) ; \hfill{}défaut \Cle{2} + \item la clé \Cle{basedep} qui est la base de départ (2 ou 16 !) ; \hfill{}défaut \Cle{2} \item le booléen \Cle{affbase} qui permet d'afficher ou non la base des nombres ; \hfill{}défaut \Cle{true} \item le booléen \Cle{details} qui permet d'afficher ou le détail par bloc de 4 ; \hfill{}défaut \Cle{true} \item le booléen \Cle{zeros} qui affiche les chiffres 0 dans la somme. \hfill{}défaut \Cle{true} @@ -2836,14 +2853,87 @@ $\PLconvtodec[zeros=false]{110011}$ $\PLconvtodec[basedep=16,details=false]{AC0DC}$ -$\PLconvtodec[zeros=false,basedep=16,details=false]{AC0DC}$ +$\PLconvtodec[zeros=false,basedep=16]{AC0DC}$ \end{codesortie} \newpage +\section{Style \og main levée \fg{} en \TikZ} + +\subsection{Idée} + +\begin{codeidee} +L'idée est de \textit{proposer} un style \textit{tout prêt} pour simuler un tracé, en \TikZ, à \og main levée \fg. + +Il s'agit d'un style \textit{basique} utilisant la librairie \ctex{decorations} avec \textsf{random steps}. +\end{codeidee} + +\begin{codetex}[listing only] +\tikzset{% + mainlevee/.style args={#1et#2}{decorate,decoration={random steps, segment length=#1,amplitude=#2}}, + mainlevee/.default={5mm et 0.6pt} +} +\end{codetex} + +\subsection{Utilisation basique} + +\begin{codeinfo} +Il s'agit ni plus ni moins d'un style \TikZ{} à intégrer dans les tracés et constructions \TikZ ! +\end{codeinfo} + +\begin{codecles} +Concernant le style en lui-même, deux paramètres peuvent être précisés via \Cle{mainlevee=\#1 et \#2} : + +\begin{itemize} + \item \Cle{\#1} correspond à l'option \textsf{segment length} (longueur des segments \textit{types}) ;\hfill{}défaut \Cle{5mm} + \item \Cle{\#2} correspond à l'option \textsf{amplitude} (amplitude maximale de la \textit{déformation}).\hfill{}défaut \Cle{0.6pt} +\end{itemize} + +Les valeurs \Cle{mainlevee=5mm et 0.6pt} donnent des résultats -- à mon sens -- satisfaisants, mais l'utilisateur pourra modifier à loisir ces paramètres ! +\end{codecles} + +\begin{codetex}[listing only] +%la grille a été rajoutée pour la sortie +\begin{tikzpicture} + \draw[thick,mainlevee] (0,0) --++ (4,0) --++ (0,4) --++ (-4,0) --cycle ; +\end{tikzpicture} + +\begin{tikzpicture} + \draw[thick,mainlevee=5mm et 2pt] (0,0) --++ (4,0) --++ (0,4) --++ (-4,0) --cycle ; +\end{tikzpicture} + +\begin{tikzpicture} + \draw[thick,mainlevee=10mm et 3mm] (0,0) --++ (4,0) --++ (0,4) --++ (-4,0) --cycle ; +\end{tikzpicture} +\end{codetex} + +\begin{codesortie} +\hfill~\begin{tikzpicture} + \draw[xstep=0.5,ystep=0.5,ultra thin,lightgray] (0,0) grid (4,4); + \draw[thick,mainlevee] (0,0) --++ (4,0) --++ (0,4) --++ (-4,0) --cycle ; +\end{tikzpicture} +\hspace{1.5cm} +\begin{tikzpicture} + \draw[xstep=0.5,ystep=0.5,ultra thin,lightgray] (0,0) grid (4,4); + \draw[thick,mainlevee=5mm et 2pt] (0,0) --++ (4,0) --++ (0,4) --++ (-4,0) --cycle ; +\end{tikzpicture} +\hspace{1.5cm} +\begin{tikzpicture} + \draw[xstep=0.5,ystep=0.5,ultra thin,lightgray] (0,0) grid (4,4); + \draw[thick,mainlevee=10mm et 3mm] (0,0) --++ (4,0) --++ (0,4) --++ (-4,0) --cycle ; +\end{tikzpicture} +\hfill~ +\end{codesortie} + +\newpage + +\section{Historique} + +{\small \bverb|v1.1.8|~:~~~~Style "Mainlevée" basique pour \TikZ + {\small \bverb|v1.1.7|~:~~~~Conversions bin/hex/dec (basées sur \ctex{xintbinhex}) avec quelques détails -{\small \bverb|v1.1.6|~:~~~~Ajout d'une commande \textsf{PLregln} pour déterminer les paramètres d'une régression linéaire par moindres carrés +{\small \bverb|v1.1.6|~:~~~~Ajout d'une commande \textsf{PLreglin} pour déterminer les paramètres d'une régression linéaire par moindres carrés {\small \bverb|v1.1.5|~:~~~~Ajout de deux commandes \textsf{aidesignePL} et \textsf{aidesignetkztabPL} pour, en \TikZ, créer des petits schémas \og de signe \fg diff --git a/macros/latex/contrib/proflycee/tex/ProfLycee.sty b/macros/latex/contrib/proflycee/tex/ProfLycee.sty index d1902bc2ac..7e32293bc5 100644 --- a/macros/latex/contrib/proflycee/tex/ProfLycee.sty +++ b/macros/latex/contrib/proflycee/tex/ProfLycee.sty @@ -3,7 +3,8 @@ % or later, see http://www.latex-project.org/lppl.txtf \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ProfLycee}[2022/06/30 - v1.1.7 - Aide pour l'utilisation de LaTeX en lycée] +\ProvidesPackage{ProfLycee}[2022/08/01 - v1.1.8 - Aide pour l'utilisation de LaTeX en lycée] +% 1.1.8 Ajout d'un style mainlevee pour tikz % 1.1.7 Ajout de commandes pour des conversions bin/dec/hex % 1.1.6 Ajout d'une commande pour déterminer les paramètres d'un régression linéaire par moindres carrés % 1.1.5 Ajout de commandes pour "visualiser" le signe de ax+b ou de ax2+bx+c (cf tnsana !) @@ -50,6 +51,7 @@ \RequirePackage{fontawesome5} %librairies tikz \usetikzlibrary{calc} +\usetikzlibrary{decorations} \usetikzlibrary{decorations.pathreplacing} \usetikzlibrary{decorations.markings} \usetikzlibrary{arrows,arrows.meta} @@ -1436,4 +1438,10 @@ {} } +%==============MainLevée TikZ========== OK !! +\tikzset{% + mainlevee/.style args={#1et#2}{decorate,decoration={random steps, segment length=#1,amplitude=#2}}, + mainlevee/.default={5mm et 0.6pt} +} + \endinput
\ No newline at end of file diff --git a/macros/latex/contrib/projlib/ProjLib.dtx b/macros/latex/contrib/projlib/ProjLib.dtx index c6615ebcd9..788cf84699 100644 --- a/macros/latex/contrib/projlib/ProjLib.dtx +++ b/macros/latex/contrib/projlib/ProjLib.dtx @@ -19,84 +19,84 @@ %<*ProjLib> \ProvidesExplPackage {ProjLib} - {2022/07/23} {} + {2022/08/01} {} {Collective interface of the ProjLib toolkit} %</ProjLib> % %<*projlib-author> \ProvidesExplPackage {projlib-author} - {2022/07/23} {} + {2022/08/01} {} {Enhanced author information block} %</projlib-author> % %<*projlib-datetime> \ProvidesExplPackage {projlib-datetime} - {2022/07/23} {} + {2022/08/01} {} {Convert numeric date-time string to natural language} %</projlib-datetime> % %<*projlib-draft> \ProvidesExplPackage {projlib-draft} - {2022/07/23} {} + {2022/08/01} {} {Useful commands during draft stage} %</projlib-draft> % %<*projlib-font> \ProvidesExplPackage {projlib-font} - {2022/07/23} {} + {2022/08/01} {} {Font selection and configuration} %</projlib-font> % %<*projlib-language> \ProvidesExplPackage {projlib-language} - {2022/07/23} {} + {2022/08/01} {} {Multi-language configuration} %</projlib-language> % %<*projlib-logo> \ProvidesExplPackage {projlib-logo} - {2022/07/23} {} + {2022/08/01} {} {The ProjLib logo} %</projlib-logo> % %<*projlib-math> \ProvidesExplPackage {projlib-math} - {2022/07/23} {} + {2022/08/01} {} {Efficient math setup} %</projlib-math> % %<*projlib-paper> \ProvidesExplPackage {projlib-paper} - {2022/07/23} {} + {2022/08/01} {} {Configuration of the paper style} %</projlib-paper> % %<*projlib-text> \ProvidesExplPackage {projlib-text} - {2022/07/23} {} + {2022/08/01} {} {Text-related commands} %</projlib-text> % %<*projlib-theorem> \ProvidesExplPackage {projlib-theorem} - {2022/07/23} {} + {2022/08/01} {} {Configuration of theorem-like environments} %</projlib-theorem> % %<*projlib-titlepage> \ProvidesExplPackage {projlib-titlepage} - {2022/07/23} {} + {2022/08/01} {} {Commands for rendering the title page} %</projlib-titlepage> @@ -5275,7 +5275,7 @@ \l_projlib_titlepage_logo_tl }; \node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left] - at ($(current~page.north~west)+(.52\paperwidth,-.28\paperheight)$) + at ($(current~page.north~west)+(.57\paperwidth,-.28\paperheight)$) { \color{titlepage-back} \sffamily diff --git a/macros/latex/contrib/projlib/README.md b/macros/latex/contrib/projlib/README.md index 3285bbd410..6961880f61 100644 --- a/macros/latex/contrib/projlib/README.md +++ b/macros/latex/contrib/projlib/README.md @@ -6,7 +6,7 @@ > **ProjLib** can be interpreted as "***Proj**ect **Lib**rary*" (in English), or as "***Proj**et **Lib**re*" (in French, meaning "*Free Project*"). -> **This bundle is dated 2022/07/23. Please note that the documentations are not yet up-to-date.** +> **This bundle is dated 2022/08/01. Please note that the documentations are not yet up-to-date.** ## Introduction diff --git a/macros/xetex/latex/hfutthesis/hfutthesis.cls b/macros/xetex/latex/hfutthesis/hfutthesis.cls index 62da841bc3..6b4daaf34c 100644 --- a/macros/xetex/latex/hfutthesis/hfutthesis.cls +++ b/macros/xetex/latex/hfutthesis/hfutthesis.cls @@ -1,5 +1,5 @@ % -% Copyright (C) 2015-2021 by USTC TeX Users Group <https://github.com/ustctug> +% Copyright (C) 2021-2022 by HFUT TeX Users Group <https://github.com/HFUTTUG> % % hfutthesis developed by HFUT TeX Users Group <https://github.com/HFUTTUG> on the % base of ustcthesis <https://github.com/usthtug/ustcthesis>. |