Debian Codegraph @

texmf-dist/doc/latex/tblr-extras/tblr-extras-doc-EN.tex

raw
1 % -----------------------------------------------------------------------
2 %%% tblr-extras-doc: Documentation for tblr-extras package.
3 %%% Version : 1.3 - 2024-06-25
4 %%% Copyright : 2024 (c) Manuel E. Merino <[email protected]>
5 %%% License : The LaTeX Project Public License 1.3c
6 % -----------------------------------------------------------------------
7 %%% LPPL 1.3c Notice: ---------------------------------------------------
8 % This work may be distributed and/or modified under the
9 % conditions of the LaTeX Project Public License, either version 1.3c
10 % of this license or (at your option) any later version.
11 % The latest version of this license is in
12 % https://www.latex-project.org/lppl.txt
13 % and version 1.3c or later is part of all distributions of LaTeX
14 % version 2008 or later.
15 %
16 % This work has the LPPL maintenance status `maintained'.
17 %
18 % The Current Maintainer of this work is Manuel E. Merino
19 % -----------------------------------------------------------------------
20 \documentclass[a4paper,11pt]{article}
21 \usepackage{fontspec}
22 \setmainfont{montserrat}
23 \setsansfont{montserrat}
24 \setmonofont[Scale=MatchLowercase]{Roboto Mono}
25 \usepackage{microtype}
26 \usepackage[english]{babel}
27 \usepackage{xcolor}
28 \usepackage{graphicx}
29 \usepackage{udepcolor}
30 \usepackage[margin=2.5cm]{geometry}
31 \usepackage{parskip}
32 \usepackage[hidelinks]{hyperref}
33
34 \newcommand{\Version}{1.3}
35
36 \NewDocumentCommand{\tblrextras}{}{\textbf{\color{udep}tblr-extras}}
37
38 \begin{document}
39 \begingroup%
40 \centering
41 \LARGE\textbf{Package \color{udep}tblr-extras}\par
42 \large Manuel E. Merino\par
43 \texttt{v\Version{} - 25/06/2024}\par
44 \normalsize Extra libraries for tabularray package.\par
45 \endgroup
46 \tableofcontents
47 \clearpage
48
49 \section{Introduction}
50 The \tblrextras{} package is a collection of extra libraries for the \texttt{tabularray} package.
51
52 Currently, it includes two libraries: caption and babel.
53
54 \section{Installation and use}
55
56 To install the \tblrextras{} package download and unzip the \texttt{tblr-extras.sty} file and place it in a folder accessible to \LaTeX{} (this can be the current working folder or a subfolder in the TEXMF directory).
57
58 To use the \tblrextras{} package, add the following command to the preamble of your document: \verb|\usepackage{tblr-extras}|
59
60 \section{Available libraries}
61 \subsection{caption library}
62
63 This \tblrextras{} library changes the way \texttt{tabularray} typesets the captions of \texttt{talltblr} and \texttt{longtblr} environments, using the settings defined by the \texttt{caption} package.
64
65 To enable this library, use \verb*|\UseTblrLibrary{caption}| after loading \tblrextras{} and \texttt{tabularray} packages.
66
67 Since version 1.2, there is partial support for typesetting captions below tables. To enable this feature use the command \verb|\TblrCaptionBelow| to enable this feature. If you want to revert to captions above the table, use the command \verb|\TblrCaptionAbove|. Be aware that \texttt{longtblr} environments will position the caption hyperlink anchor in the lastfoot and the table will be listed in the List of Tables as if it was located in the last page occupied by the \texttt{longtblr}. environment.
68
69 \subsection{babel library}
70 Load this library using \verb|\UseTblrLibrary{babel}|
71
72 The \tblrextras{} package redefines the \texttt{conthead-text} and \texttt{contfoot-text} for the \texttt{longtblr} environment, using the current babel language if this library is enabled.
73
74 Currently supported languages are:
75
76 \begin{itemize}
77 \item spanish
78 \item french
79 \item italian
80 \item portuguese
81 \item german (ngerman)
82 \item esperanto (only unicode engines)
83 \item romanian
84 \item dutch
85 \item danish (only unicode engines)
86 \item russian (pdflatex and unicode engines)
87 \item ukrainian (pdflatex and unicode engines)
88 \item galician
89 \item catalan
90 \item afrikaans
91 \end{itemize}
92
93 \section{Bug reports and suggestions}
94
95 For bug reports, suggestions amd support, please use GitHub or send an email to [email protected].
96
97 \section{License}
98
99 The \tblrextras{} package and all its included files are licensed under the LPPL v1.3c or later.
100
101 \section{Changelog}
102 v1.3 - Fixed a bug with longtblr captions (thanks Zarko). Added afrikaans, catalan, danish, dutch, galician, esperanto, romanian translations.
103
104 v1.2 - Added new languages and an extension to caption library
105 \begin{itemize}
106 \item Improved the caption library to support \texttt{label=empty} and \texttt{entry=none}.
107 \item Added partial support for captions below the table using \verb|\TblrCaptionBelow| and to reverse the changes with \verb|\TblrCaptionAbove|.
108 \item Added support for portuguese and italian languages in the babel library.
109 \end{itemize}
110
111 v1.1 - This version uses code contributions by GitHub user \textbf{sgolovan}. Thanks for your contribution.
112 \begin{itemize}
113 \item Improved the babel library using language hooks.
114 \item Added support for polyglossia package.
115 \item Added ukrainian and russian translations.
116 \end{itemize}
117
118 v1.0 - Initial release.
119
120 \vfill
121 \centering
122 \footnotesize \tblrextras{} -- {\copyright} 2024 Manuel E. Merino. Licensed under LPPL v1.3c.
123 \end{document}