From d8e9823c860c4ae4d4929c3ff34409c525f218f7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 19 Mar 2021 21:30:02 +0000 Subject: zbmath-review-template (19mar21) (branch) git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58544 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/xelatex/zbmath-review-template/README.md | 48 +++++ .../zbmath-review-template/figures/screenshot.png | Bin 0 -> 62717 bytes .../doc/xelatex/zbmath-review-template/zb-main.pdf | Bin 0 -> 14915 bytes .../doc/xelatex/zbmath-review-template/zb-main.tex | 68 ++++++ .../xelatex/zbmath-review-template/zb-manual.pdf | Bin 0 -> 110147 bytes .../xelatex/zbmath-review-template/zb-manual.tex | 233 +++++++++++++++++++++ .../xelatex/zbmath-review-template/zb-metadata.tex | 24 +++ .../xelatex/zbmath-review-template/zb-review.tex | 1 + .../xelatex/zbmath-review-template/zb-basics.sty | 58 +++++ Master/tlpkg/tlpsrc/collection-xetex.tlpsrc | 1 + Master/tlpkg/tlpsrc/zbmath-review-template.tlpsrc | 0 11 files changed, 433 insertions(+) create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/README.md create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/figures/screenshot.png create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.pdf create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.tex create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.pdf create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.tex create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-metadata.tex create mode 100644 Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-review.tex create mode 100644 Master/texmf-dist/tex/xelatex/zbmath-review-template/zb-basics.sty create mode 100644 Master/tlpkg/tlpsrc/zbmath-review-template.tlpsrc diff --git a/Master/texmf-dist/doc/xelatex/zbmath-review-template/README.md b/Master/texmf-dist/doc/xelatex/zbmath-review-template/README.md new file mode 100644 index 00000000000..bce5bee86e4 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/zbmath-review-template/README.md @@ -0,0 +1,48 @@ +# zbmath-review-template + +This package contains a template for zbMATH Open reviews. It has to be compiled using XeLaTeX. + +## Instruction + +Delete all the text in **zb-review.tex** and write your own review into this file. If you want, you can change the metadata information at **zb-metadata.tex**. This is optional and just gives you a feeling how the final pdf at https://zbmath.org will look like. Finally, compile **zb-main.tex** using XeLaTeX. + +### Files + +The package contains the following files: + +* README.md +* zb-basics.sty +* zb-main.tex +* zb-metadata.tex +* zb-review.tex +* zb-manual.tex +* zb-main.pdf (a sample review document) +* zb-manual.pdf (a short documentation) +* figures/screenshot.png + +### Packages + +The following packages are used: + +* scrartcl +* babel +* scrlayer-scrpage +* geometry +* graphicx +* enumitem +* fontspec +* amsmath, amsfonts, amssymb +* mathtools +* stmaryrd +* mathrsfs +* tikz-cd +* textcomp +* gensymb + +### License + +GNU General Public License, Version 3. + +### Version History + +19 March 2021: Version 1.0 \ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/zbmath-review-template/figures/screenshot.png b/Master/texmf-dist/doc/xelatex/zbmath-review-template/figures/screenshot.png new file mode 100644 index 00000000000..734787d09ab Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/zbmath-review-template/figures/screenshot.png differ diff --git a/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.pdf b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.pdf new file mode 100644 index 00000000000..14ea47efe15 Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.tex b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.tex new file mode 100644 index 00000000000..785084c7a99 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-main.tex @@ -0,0 +1,68 @@ +% Do not change anything from here. +% Use review.tex for the text of your review and metadata.tex for metadata information + +\documentclass[a4paper,10pt,leqno]{scrartcl} +\usepackage{zb-basics} +\usepackage[margin=2.5cm,tmargin=2cm,bmargin=3cm]{geometry} + +\input{zb-metadata} + +\begin{document} + +% display copyright in footer +\pagestyle{scrheadings} +\setkomafont{pageheadfoot}{ + \rmfamily + \footnotesize + \color[rgb]{.5,.5,.5} +} +\lofoot{% + \makebox[\linewidth][s]{Edited by FIZ Karlsruhe, the European Mathematical Society and the Heidelberg Academy of Sciences and Humanities}\\ + \copyright{} \the\year{} FIZ Karlsruhe GmbH +} +\cofoot{} +\rofoot{\\Page \thepage} + +\setlength{\parindent}{0cm} +\setlength{\parskip}{1ex} +\setlength{\parfillskip}{0pt plus 1fill} +\setlength{\footheight}{19pt} + +\newsavebox{\citationbox} +\newdimen{\msclen} + +\frenchspacing + +%\includegraphics[width=.3\textwidth]{zbmath.jpg} + +\vspace{7ex} +% Metadata of article under review +\parbox{\textwidth}{\setlength{\parfillskip}{0pt plus 1fill} +\au + +\ti + +\reference +} + +\vspace{2ex} + +% Text of the review +\input{zb-review} + +\par\nopagebreak\hspace*{0pt plus 1filll} Reviewer: \rv + +% MSC Classes +\vspace{2ex} +\msclen=\textwidth +\advance\msclen by -\wd\citationbox +\advance\msclen by -5em +\textbf{MSC:}\par\nopagebreak +\msc + +% Keywords +\vspace{2ex} +\textbf{Keywords:}\par\nopagebreak +\kw + +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.pdf b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.pdf new file mode 100644 index 00000000000..5e20954a886 Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.tex b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.tex new file mode 100644 index 00000000000..e6334c6cb2d --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/zbmath-review-template/zb-manual.tex @@ -0,0 +1,233 @@ +\documentclass[a4paper,10pt,leqno]{scrartcl} +\usepackage{zb-basics} +\usepackage{scrlayer-scrpage} +\usepackage{hyperref} + +\hypersetup{colorlinks=true,allcolors=[rgb]{0,.289,.6}} + + +\begin{document} +% display copyright in footer +\pagestyle{scrheadings} +\setkomafont{pageheadfoot}{ + \rmfamily + \footnotesize + \color[rgb]{.5,.5,.5} +} +\lofoot{% + \copyright{} \the\year{} FIZ Karlsruhe GmbH +} +\cofoot{} +\rofoot{Page \thepage} + +\setlength{\parindent}{0cm} +\setlength{\parskip}{1ex} +\setlength{\parfillskip}{0pt plus 1fill} +\setlength{\footheight}{19pt} + +\newsavebox{\citationbox} +\newdimen{\msclen} + +\frenchspacing + +\section*{LaTeX-Template for zbMATH Open Reviews} + +\subsection*{Purpose of this template} + +This template shows how your review will look like at zbMATH Open. You can test whether your LaTeX-code will compile properly on our system. However, be aware that there might be manual changes to your review and its published version on zbMATH Open will look slightly different than on this template. + +\subsection*{How to use this template} + +Delete all the text in \texttt{zb-review.tex} and write your review into this file. If you want, you can change the metadata information at \texttt{zb-metadata.tex}. This is optional and just gives you a feeling how the final pdf at zbmath.org will look like. Finally, compile \texttt{zb-main.tex} using XeLaTeX. + +\vspace{2ex} +\subsection*{LaTeX Format} + +Please prepare your review in standard LaTeX. You might use functions and macros from the following packages: +\begin{itemize}[nosep] + \item \href{https://www.ams.org/arc/resources/amslatex-about.html}{amsmath, amsfonts, amssymb} + \item \href{https://ctan.org/pkg/stmaryrd}{stmaryrd} + \item \href{https://ctan.org/pkg/mathrsfs}{mathrsfs} + \item \href{https://ctan.org/pkg/tikz-cd}{tikz-cd} + \item \href{https://ctan.org/pkg/mathtools}{mathtools} + \item \href{https://ctan.org/pkg/gensymb}{gensymb} + \item \href{https://ctan.org/pkg/textcomp}{textcomp} +\end{itemize} +Furthermore, you might use the macros defined in zb-basics.sty, that are: +\begin{itemize}[nosep] + \item \verb|\Im| and \verb|\Re| for the imaginary and real part of a complex number, for example, \(\Re(x+iy)=x\) and \(\Im(x+iy)=y\). + \item \verb|\Aut| for the automorphism group of a set, e.g., \(\Aut(X)\) for a set \(X\). + \item \verb|\Hom| for the hom-Functor, e.g., \(\Hom(A,B)\) stands for the set of homomorphisms from a set \(A\) to a set \(B\). + \item \verb|\ran| for the range or image of a vector space, e.g., \(\ker A = \left(\ran A^*\right)^\bot\). + \item \verb|\1| for the indicator function of a set, e.g. + \[\1_A = \begin{cases}1 &\text{if }x\in A\\ + 0 &\text{if }x\notin A + \end{cases}.\] + \item \verb|\fint| for \(\fint\), e.g., + \[\fint_A u(y)\,d\mu(y)=\frac{1} + {\mu(A)}\int_A u(y)\,d\mu(y)\] + \item \verb|\Sha| for the Tate–Shafarevich group $\Sha(A/K)$ of an abelian variety \(A\) defined over a number field \(K\). +\end{itemize} +Please do not use any self-defined macros or packages not listed above. If you feel that there is a missing package that we should add, please let us know. + +Our PDFs are compiled using XeLaTeX, which supports unicode characters in the source files. Unicode allows the user to include accents and special characters coming from different Asian and European languages. For example you may enter accented characters directly (e.g., \verb|Lévy| instead of \verb|L\'evy|). However, please avoid including unicode characters in mathematical mode. For example, when you type Greek characters for variables please use \verb|\(\beta\)| or \verb|$\beta$| obtaining \(\beta\), instead of typing the unicode character directly. + +Please do not include tables, large diagrams, drawings or formulas of minor importance. Use alternative fonts (bold, italics etc.) only if necessary, e.g., in formulas or for highlighting the authors of cited publications. + +\subsection*{Mathematical Typesetting} + +When writing equations or diagrams please avoid the automatic numbering environments and replace them with their "*" analogues. For example, use + +\verb|\begin{equation*} \end{equation*}| + +instead of + +\verb|\begin{equation} \end{equation}|. + +The numbers on equations, definitions, diagrams, etc. should be set manually. You can do this by typing, for instance, \verb|\tag{1}| or \verb|\tag{*}|. + +For example +\begin{verbatim} +\begin{equation*} + \sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6} \tag{1}\label{eq:1} +\end{equation*} +\end{verbatim} +gives +\begin{equation*} + \sum_{n=1}^\infty \frac{1}{n^2}=\frac{\pi^2}{6} \tag{1}\label{eq:1} +\end{equation*} +An equation can be referenced via \verb|\ref{key}| if it is labeled by \verb|\label{key}|. The formula above can be referenced via \verb|\ref{eq:1}|: + +Equation~\ref{eq:1} was proven by Leonhard Euler in his paper \textit{De summis serierum reciprocarum}. + +For inline mathematical formula we prefer to use \verb|\(...\)| over \verb|$...$|. Similarly, we recommend to use \verb|\[...\]| instead of \verb|$$...$$|. + +\paragraph{Matrices} + +We give a short description how to type matrices with \texttt{amsmath}. For more details we refer to the documentation of \href{https://www.ams.org/arc/resources/amslatex-about.html}{amsmath} on ctan. + +\texttt{amsmath} provides several environments for matrices using different brackets. For example the code +\begin{verbatim} +\[ +\begin{pmatrix} a & b \\ c & d \end{pmatrix}\quad +\begin{matrix} a & b \\ c & d \end{matrix}\quad +\begin{bmatrix} a & b \\ c & d \end{bmatrix}\quad +\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}\quad +\begin{vmatrix} a & b \\ c & d \end{vmatrix} \quad +\begin{Vmatrix} a & b \\ c & d \end{Vmatrix} +\] +\end{verbatim} + +generates these four matrices +\[ +\begin{pmatrix} a & b \\ c & d \end{pmatrix}\quad +\begin{matrix} a & b \\ c & d \end{matrix}\quad +\begin{bmatrix} a & b \\ c & d \end{bmatrix}\quad +\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}\quad +\begin{vmatrix} a & b \\ c & d \end{vmatrix} \quad +\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}. +\] + +If you want to use a matrix in inline math mode, then you might use \verb|\smallmatrix|, e.g. \(\left(\begin{smallmatrix} 1&2\\ 3&4 \end{smallmatrix}\right)\) is typed via +\begin{verbatim} +\(\left(\begin{smallmatrix} 1&2\\ 3&4 \end{smallmatrix}\right)|\). +\end{verbatim} +Observe that you have to add your own deliminator to the smallmatrix environment, here we use \verb|\left(| and \verb|\right)|. + +\paragraph{Commutative Diagrams} + +The package \texttt{tikz-cd} is designed to draw commutative diagrams. They are constructed inside \verb|\begin{tikzcd}...\end{tikzcd}|. Its usage is similar to the one of tables (\verb|&| for columns and \verb|\\| for rows). Arrows are drawn using the command \verb|\arrow[options]|. The direction of an arrow is specified by a string of characters \texttt{r}, \texttt{l}, \texttt{u}, \texttt{d} (right, left, up, down) and labels are added using quotes \texttt{"