summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tblr-extras
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tblr-extras')
-rw-r--r--macros/latex/contrib/tblr-extras/README.md2
-rw-r--r--macros/latex/contrib/tblr-extras/tblr-extras-dev.sty242
-rw-r--r--macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.pdfbin31484 -> 32727 bytes
-rw-r--r--macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.tex29
-rw-r--r--macros/latex/contrib/tblr-extras/tblr-extras.sty93
-rw-r--r--macros/latex/contrib/tblr-extras/test-tblr-extras.pdfbin18353 -> 16343 bytes
-rw-r--r--macros/latex/contrib/tblr-extras/test-tblr-extras.tex58
7 files changed, 110 insertions, 314 deletions
diff --git a/macros/latex/contrib/tblr-extras/README.md b/macros/latex/contrib/tblr-extras/README.md
index 373fedb6a1..5b74c5b48f 100644
--- a/macros/latex/contrib/tblr-extras/README.md
+++ b/macros/latex/contrib/tblr-extras/README.md
@@ -14,5 +14,5 @@ Use caption package to typeset tabularray tall and long tabulars captions.
Enable this library with `\UseTblrLibrary{caption}`
## Babel Library
Translate `contfoot` and `conthead` to current `babel`/`polyglossia` language.
-Currently only supports ngerman, french, spanish, russian and ukrainian translations.
+Languages: spanish, catalan, galician, portuguese, italian, french, german, dutch, danish, esperanto, afrikaans, romanian, ukrainian and russian.
Enable this library with `\UseTblrLibrary{babel}`
diff --git a/macros/latex/contrib/tblr-extras/tblr-extras-dev.sty b/macros/latex/contrib/tblr-extras/tblr-extras-dev.sty
deleted file mode 100644
index 45c58d081a..0000000000
--- a/macros/latex/contrib/tblr-extras/tblr-extras-dev.sty
+++ /dev/null
@@ -1,242 +0,0 @@
-% -----------------------------------------------------------------------
-%%% tblr-extras: Extra libraries for tabularray package.
-%%% Version : 1.2 - 2024-05-30
-%%% Copyright : 2024 (c) Manuel E. Merino <manuel.merino.pe@gmail.com>
-%%% License : The LaTeX Project Public License 1.3c
-% -----------------------------------------------------------------------
-%%% LPPL 1.3c Notice: ---------------------------------------------------
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3c
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% https://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2008 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Manuel E. Merino
-% -----------------------------------------------------------------------
-\NeedsTeXFormat{LaTeX2e}[2018-04-01]
-\ProvidesPackage{tblr-extras-dev}[2024/05/30 package tblr-extras]
-\RequirePackage{tabularray}
-%% ----------------------------------------------------------------------
-%% TblrLibrary caption - Use caption package to typeset tabularray tall
-%% and long tabulars captions.
-%% This stuff needs to be ported to expl3 soon.
-\ExplSyntaxOn
-\prg_generate_conditional_variant:Nnn \tl_if_empty:n { e } { TF }
-\let \IfTokenListEmpty = \tl_if_empty:eTF
-\let \IfBoolFalse = \bool_if:NF
-\let \IfBoolTF = \bool_if:NTF
-\bool_new:N \l__tblrextras_table_title_below_bool
-\bool_set_false:N \l__tblrextras_table_title_below_bool
-\NewTblrLibrary{caption}
-{%
- \RequirePackage{caption}
- %% Check if a KomaClass is loaded and issue a warning for caption position setup
- \@ifundefined{KOMAClassName}
- {}
- {\PackageWarningNoLine{tblr-extras}{KOMAScript class detected. Setup caption position using 'captions=option'}}
- %%% Presetup
- \NewDocumentCommand{\TblrCaptionBelow}{}{\bool_set_true:N \l__tblrextras_table_title_below_bool}
- \NewDocumentCommand{\TblrCaptionAbove}{}{\bool_set_false:N \l__tblrextras_table_title_below_bool}
- \SetTblrOuter[talltblr,longtblr]{headsep=0pt}
- %%%%%%%%%% TEMPLATES
- \DefTblrTemplate{firsthead}{default}{
- \IfBoolTF \l__tblr_table_no_label_bool
- % True NoLabel
- { }
- % False NoLabel
- {
- \IfBoolTF \l__tblrextras_table_title_below_bool
- % Cap Below
- { }
- % Cap Above (default)
- {
- \addtocounter{table}{-1}
- \captionsetup{type=table}
- \IfTokenListEmpty{\InsertTblrText{entry}}{
- \caption{\InsertTblrText{caption}}
- \UseTblrTemplate{contfoot}{default}
- }{
- \caption[\InsertTblrText{entry}]{\InsertTblrText{caption}}
- }
- }
- }
- } % END FIRSTHEAD
- \DefTblrTemplate{middlehead}{default}{
- \IfBoolTF \l__tblr_table_no_label_bool
- % True NoLabel
- { \UseTblrTemplate{conthead}{default} \vspace{4pt} }
- % False NoLabel
- {
- \IfBoolTF \l__tblrextras_table_title_below_bool
- % Cap Below
- { \UseTblrTemplate{conthead}{default} \vspace{4pt} }
- % Cap Above (default)
- {
- \addtocounter{table}{-1}
- \captionsetup{type=table}
- \caption[]{\InsertTblrText{caption}~ \UseTblrTemplate{conthead-text}{default}}
- }
- }
- }% END MIDDLEHEAD
- \DefTblrTemplate{lasthead}{default}{
- \IfBoolTF \l__tblr_table_no_label_bool
- % True NoLabel
- { \UseTblrTemplate{conthead}{default} \vspace{4pt} }
- % False NoLabel
- {
- \IfBoolTF \l__tblrextras_table_title_below_bool
- % Cap Below
- { \UseTblrTemplate{conthead}{default} \vspace{4pt} }
- % Cap Above (default)
- {
- \addtocounter{table}{-1}
- \captionsetup{type=table}
- \caption[]{\InsertTblrText{caption}~ \UseTblrTemplate{conthead-text}{default}}
- }
- }
- }% END LASTHEAD
- \DefTblrTemplate{firstfoot}{default}{
- \IfBoolTF \l__tblr_table_no_label_bool
- % True NoLabel
- { \UseTblrTemplate{contfoot}{default} }
- % False NoLabel
- {
- \IfBoolTF \l__tblrextras_table_title_below_bool
- % Cap Below
- {
- \addtocounter{table}{-1}
- \captionsetup{type=table}
- \caption[]{\InsertTblrText{caption}}
- \UseTblrTemplate{contfoot}{default}
- }
- % Cap Above (default)
- {
- \UseTblrTemplate{contfoot}{default}
- }
- }
- }% END FIRSTFOOT
- \DefTblrTemplate{middlefoot}{default}{
- \IfBoolTF \l__tblr_table_no_label_bool
- % True NoLabel
- { \UseTblrTemplate{contfoot}{default} }
- % False NoLabel
- {
- \IfBoolTF \l__tblrextras_table_title_below_bool
- % Cap Below
- {
- \addtocounter{table}{-1}
- \captionsetup{type=table}
- \caption[]{\InsertTblrText{caption}}
- \UseTblrTemplate{contfoot}{default}
- }
- % Cap Above (default)
- {
- \UseTblrTemplate{contfoot}{default}
- }
- }
- }% END MIDDLEFOOT
- \DefTblrTemplate{lastfoot}{default}{
- \IfBoolTF \l__tblr_table_no_label_bool
- % True NoLabel
- {
- \UseTblrTemplate{note}{default}
- \UseTblrTemplate{remark}{default}
- }
- % False NoLabel
- {
- \IfBoolTF \l__tblrextras_table_title_below_bool
- % Cap Below
- {
- \UseTblrTemplate{note}{default}
- \UseTblrTemplate{remark}{default}
- \addtocounter{table}{-1}
- \captionsetup{type=table} \IfTokenListEmpty{\InsertTblrText{entry}}{
- \caption{\InsertTblrText{caption}}
- }{
- \caption[\InsertTblrText{entry}]{\InsertTblrText{caption}}
- }
- }
- % Cap Above (default)
- {
- \UseTblrTemplate{note}{default}
- \UseTblrTemplate{remark}{default}
- }
- }
- }% END LASTFOOT
- \SetTblrTemplate{caption-lot}{empty}
-}
-\ExplSyntaxOff
-%% ----------------------------------------------------------------------
-%% TblrLibrary babel - Translate contfoot and conthead to current babel/polyglossia
-%% language. Supports: ngerman, french, spanish, russian and ukrainian translations.
-%% Check engine
-\newif\if@unicode@engine
-\ifdefined\luatexversion
- \@unicode@enginetrue
-\else\ifdefined\XeTeXrevision
- \@unicode@enginetrue
-\fi\fi
-\NewTblrLibrary{babel}
-{%
- \AddToHook{begindocument/before}{%
- \@ifpackageloaded{babel}{}{%
- \@ifpackageloaded{polyglossia}{}{%
- \RequirePackage{babel}
- }
- }
- \ifdefined\captionsspanish
- \addto\captionsspanish{%
- \DefTblrTemplate{contfoot-text}{default}{Continúa en la página siguiente}%
- \DefTblrTemplate{conthead-text}{default}{(Continuación)}%
- }
- \fi
- \ifdefined\captionsngerman
- \addto\captionsngerman{%
- \DefTblrTemplate{contfoot-text}{default}{Fortsetzung auf der nächsten Seite}%
- \DefTblrTemplate{conthead-text}{default}{(Fortsetzung)}%
- }
- \fi
- \ifdefined\captionsgerman
- \addto\captionsgerman{%
- \DefTblrTemplate{contfoot-text}{default}{Fortsetzung auf der nächsten Seite}%
- \DefTblrTemplate{conthead-text}{default}{(Fortsetzung)}%
- }
- \fi
- \ifdefined\captionsfrench
- \addto\captionsfrench{%
- \DefTblrTemplate{contfoot-text}{default}{Suite à la page suivante}%
- \DefTblrTemplate{conthead-text}{default}{(Suite)}%
- }
- \fi
- \ifdefined\captionsrussian
- \if@unicode@engine
- \addto\captionsrussian{%
- \DefTblrTemplate{contfoot-text}{default}{Продолжение на следующей странице}%
- \DefTblrTemplate{conthead-text}{default}{(продолжение)}%
- }
- \else
- \addto\captionsrussian{%
- \DefTblrTemplate{contfoot-text}{default}{\cyr\CYRP\cyrr\cyro\cyrd\cyro\cyrl\cyrzh\cyre\cyrn\cyri\cyre\ \cyrn\cyra\ \cyrs\cyrl\cyre\cyrd\cyru\cyryu\cyrshch\cyre\cyrishrt\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}%
- \DefTblrTemplate{conthead-text}{default}{(\cyr\cyrp\cyrr\cyro\cyrd\cyro\cyrl\cyrzh\cyre\cyrn\cyri\cyre)}%
- }
- \fi
- \fi
- \ifdefined\captionsukrainian
- \if@unicode@engine
- \addto\captionsukrainian{%
- \DefTblrTemplate{contfoot-text}{default}{Продовження на наступній сторінці}%
- \DefTblrTemplate{conthead-text}{default}{(продовження)}%
- }
- \else
- \addto\captionsukrainian{%
- \DefTblrTemplate{contfoot-text}{default}{\cyr\CYRP\cyrr\cyro\cyrd\cyro\cyrv\cyrzh\cyre\cyrn\cyrn\cyrya\ \cyrn\cyra\ \cyrn\cyra\cyrs\cyrt\cyru\cyrp\cyrn\cyrii\cyrishrt\ \cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyrc\cyrii}%
- \DefTblrTemplate{conthead-text}{default}{(\cyr\cyrp\cyrr\cyro\cyrd\cyro\cyrv\cyrzh\cyre\cyrn\cyrn\cyrya)}%
- }
- \fi
- \fi
- }
-}
diff --git a/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.pdf b/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.pdf
index 948fab715f..3c02dd31ef 100644
--- a/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.pdf
+++ b/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.pdf
Binary files differ
diff --git a/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.tex b/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.tex
index 6807f48758..833984fc8d 100644
--- a/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.tex
+++ b/macros/latex/contrib/tblr-extras/tblr-extras-doc-EN.tex
@@ -1,6 +1,6 @@
% -----------------------------------------------------------------------
%%% tblr-extras-doc: Documentation for tblr-extras package.
-%%% Version : 1.2 - 2024-06-11
+%%% Version : 1.3 - 2024-06-25
%%% Copyright : 2024 (c) Manuel E. Merino <manuel.merino.pe@gmail.com>
%%% License : The LaTeX Project Public License 1.3c
% -----------------------------------------------------------------------
@@ -31,7 +31,7 @@
\usepackage{parskip}
\usepackage[hidelinks]{hyperref}
-\newcommand{\Version}{1.2}
+\newcommand{\Version}{1.3}
\NewDocumentCommand{\tblrextras}{}{\textbf{\color{udep}tblr-extras}}
@@ -40,7 +40,7 @@
\centering
\LARGE\textbf{Package \color{udep}tblr-extras}\par
\large Manuel E. Merino\par
- \texttt{v\Version{} - 11/06/2024}\par
+ \texttt{v\Version{} - 25/06/2024}\par
\normalsize Extra libraries for tabularray package.\par
\endgroup
\tableofcontents
@@ -55,7 +55,7 @@
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).
- To use the \tblrextras{} package add the following command to the preamble of your document: \verb|\usepackage{tblr-extras}|
+ To use the \tblrextras{} package, add the following command to the preamble of your document: \verb|\usepackage{tblr-extras}|
\section{Available libraries}
\subsection{caption library}
@@ -71,7 +71,24 @@
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.
- Currently only spanish, italian, portuguese, ngerman, russian, ukrainian and french variants are supported.
+ Currently supported languages are:
+
+ \begin{itemize}
+ \item spanish
+ \item french
+ \item italian
+ \item portuguese
+ \item german (ngerman)
+ \item esperanto (only unicode engines)
+ \item romanian
+ \item dutch
+ \item danish (only unicode engines)
+ \item russian (pdflatex and unicode engines)
+ \item ukrainian (pdflatex and unicode engines)
+ \item galician
+ \item catalan
+ \item afrikaans
+ \end{itemize}
\section{Bug reports and suggestions}
@@ -82,6 +99,8 @@
The \tblrextras{} package and all its included files are licensed under the LPPL v1.3c or later.
\section{Changelog}
+ v1.3 - Fixed a bug with longtblr captions (thanks Zarko). Added afrikaans, catalan, danish, dutch, galician, esperanto, romanian translations.
+
v1.2 - Added new languages and an extension to caption library
\begin{itemize}
\item Improved the caption library to support \texttt{label=empty} and \texttt{entry=none}.
diff --git a/macros/latex/contrib/tblr-extras/tblr-extras.sty b/macros/latex/contrib/tblr-extras/tblr-extras.sty
index 6fa4d7511b..bbc181a00e 100644
--- a/macros/latex/contrib/tblr-extras/tblr-extras.sty
+++ b/macros/latex/contrib/tblr-extras/tblr-extras.sty
@@ -1,6 +1,6 @@
% -----------------------------------------------------------------------
%%% tblr-extras: Extra libraries for tabularray package.
-%%% Version : 1.2 - 2024-06-11
+%%% Version : 1.3 - 2024-06-25
%%% Copyright : 2024 (c) Manuel E. Merino <manuel.merino.pe@gmail.com>
%%% License : The LaTeX Project Public License 1.3c
% -----------------------------------------------------------------------
@@ -18,7 +18,7 @@
% The Current Maintainer of this work is Manuel E. Merino
% -----------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}[2018-04-01]
-\ProvidesPackage{tblr-extras-dev}[2024/05/30 package tblr-extras]
+\ProvidesPackage{tblr-extras}[2024/06/25 package tblr-extras]
\RequirePackage{tabularray}
%% ----------------------------------------------------------------------
%% TblrLibrary caption - Use caption package to typeset tabularray tall
@@ -58,7 +58,6 @@
\captionsetup{type=table}
\IfTokenListEmpty{\InsertTblrText{entry}}{
\caption{\InsertTblrText{caption}}
- \UseTblrTemplate{contfoot}{default}
}{
\caption[\InsertTblrText{entry}]{\InsertTblrText{caption}}
}
@@ -172,7 +171,9 @@
\ExplSyntaxOff
%% ----------------------------------------------------------------------
%% TblrLibrary babel - Translate contfoot and conthead to current babel/polyglossia
-%% language. Supports: ngerman, french, spanish, russian and ukrainian translations.
+%% language.
+% Supports: ngerman, french, spanish, russian, romanian, galician, esperanto, danish, catalan, danish, afrikaans, italian, portuguese and ukrainian translations.
+%%%%%
%% Check engine
\newif\if@unicode@engine
\ifdefined\luatexversion
@@ -188,65 +189,101 @@
\RequirePackage{babel}
}
}
+ \ifdefined\captionsromanian
+ \addto\captionsromanian{%
+ \renewcommand{\tblrcontfootname}{Continuare pe pagina următoare}%
+ \renewcommand{\tblrcontheadname}{(Continuare)}%
+ }
+ \fi
+ \ifdefined\captionsgalician
+ \addto\captionsgalician{%
+ \renewcommand{\tblrcontfootname}{Continuación na seguinte páxina}%
+ \renewcommand{\tblrcontheadname}{(Continuación)}%
+ }
+ \fi
+ \ifdefined\captionsesperanto
+ \addto\captionsesperanto{%
+ \renewcommand{\tblrcontfootname}{Daŭrigo sur la sekva paĝo}%
+ \renewcommand{\tblrcontheadname}{(Daŭrigo)}%
+ }
+ \fi
+ \ifdefined\captionsdanish
+ \addto\captionsdanish{%
+ \renewcommand{\tblrcontfootname}{Fortsættelse på næste side}%
+ \renewcommand{\tblrcontheadname}{(Fortsættelse)}%
+ }
+ \fi
+ \ifdefined\captionscatalan
+ \addto\captionscatalan{%
+ \renewcommand{\tblrcontfootname}{Continuació a la pàgina següent}%
+ \renewcommand{\tblrcontheadname}{(Continuació)}%
+ }
+ \fi
+ \ifdefined\captionsdutch
+ \addto\captionsdutch{%
+ \renewcommand{\tblrcontfootname}{Vervolg op de volgende pagina}%
+ \renewcommand{\tblrcontheadname}{(Vervolg)}%
+ }
+ \fi
+ \ifdefined\captionsafrikaans
+ \addto\captionsafrikaans{%
+ \renewcommand{\tblrcontfootname}{Vervolg op die volgende bladsy}%
+ \renewcommand{\tblrcontheadname}{(Vervolg)}%
+ }
+ \fi
\ifdefined\captionsitalian
\addto\captionsitalian{%
- \DefTblrTemplate{contfoot-text}{default}{Continua alla pagina successiva}%
- \DefTblrTemplate{conthead-text}{default}{(Continua)}%
+ \renewcommand{\tblrcontfootname}{Continua alla pagina successiva}%
+ \renewcommand{\tblrcontheadname}{(Continuazione)}%
}
\fi
\ifdefined\captionsportuguese
\addto\captionsportuguese{%
- \DefTblrTemplate{contfoot-text}{default}{Continua na próxima página}%
- \DefTblrTemplate{conthead-text}{default}{(Continuação)}%
+ \renewcommand{\tblrcontfootname}{Continua na próxima página}%
+ \renewcommand{\tblrcontheadname}{(Continuação)}%
}
\fi
\ifdefined\captionsspanish
\addto\captionsspanish{%
- \DefTblrTemplate{contfoot-text}{default}{Continúa en la página siguiente}%
- \DefTblrTemplate{conthead-text}{default}{(Continuación)}%
+ \renewcommand{\tblrcontfootname}{Continúa en la siguiente página}%
+ \renewcommand{\tblrcontheadname}{(Continuación)}%
}
\fi
\ifdefined\captionsngerman
\addto\captionsngerman{%
- \DefTblrTemplate{contfoot-text}{default}{Fortsetzung auf der nächsten Seite}%
- \DefTblrTemplate{conthead-text}{default}{(Fortsetzung)}%
- }
- \fi
- \ifdefined\captionsgerman
- \addto\captionsgerman{%
- \DefTblrTemplate{contfoot-text}{default}{Fortsetzung auf der nächsten Seite}%
- \DefTblrTemplate{conthead-text}{default}{(Fortsetzung)}%
+ \renewcommand{\tblrcontfootname}{Fortsetzung auf der nächsten Seite}%
+ \renewcommand{\tblrcontheadname}{(Fortsetzung)}%
}
\fi
\ifdefined\captionsfrench
\addto\captionsfrench{%
- \DefTblrTemplate{contfoot-text}{default}{Suite à la page suivante}%
- \DefTblrTemplate{conthead-text}{default}{(Suite)}%
+ \renewcommand{\tblrcontfootname}{Suite à la page suivante}%
+ \renewcommand{\tblrcontheadname}{(Suite)}%
}
\fi
\ifdefined\captionsrussian
\if@unicode@engine
\addto\captionsrussian{%
- \DefTblrTemplate{contfoot-text}{default}{Продолжение на следующей странице}%
- \DefTblrTemplate{conthead-text}{default}{(продолжение)}%
+ \renewcommand{\tblrcontfootname}{Продолжение на следующей странице}%
+ \renewcommand{\tblrcontheadname}{(продолжение)}%
}
\else
\addto\captionsrussian{%
- \DefTblrTemplate{contfoot-text}{default}{\cyr\CYRP\cyrr\cyro\cyrd\cyro\cyrl\cyrzh\cyre\cyrn\cyri\cyre\ \cyrn\cyra\ \cyrs\cyrl\cyre\cyrd\cyru\cyryu\cyrshch\cyre\cyrishrt\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}%
- \DefTblrTemplate{conthead-text}{default}{(\cyr\cyrp\cyrr\cyro\cyrd\cyro\cyrl\cyrzh\cyre\cyrn\cyri\cyre)}%
+ \renewcommand{\tblrcontfootname}{\cyr\CYRP\cyrr\cyro\cyrd\cyro\cyrl\cyrzh\cyre\cyrn\cyri\cyre\ \cyrn\cyra\ \cyrs\cyrl\cyre\cyrd\cyru\cyryu\cyrshch\cyre\cyrishrt\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}%
+ \renewcommand{\tblrcontheadname}{(\cyr\cyrp\cyrr\cyro\cyrd\cyro\cyrl\cyrzh\cyre\cyrn\cyri\cyre)}%
}
\fi
\fi
\ifdefined\captionsukrainian
\if@unicode@engine
\addto\captionsukrainian{%
- \DefTblrTemplate{contfoot-text}{default}{Продовження на наступній сторінці}%
- \DefTblrTemplate{conthead-text}{default}{(продовження)}%
+ \renewcommand{\tblrcontfootname}{Продовження на наступній сторінці}%
+ \renewcommand{\tblrcontheadname}{(продовження)}%
}
\else
\addto\captionsukrainian{%
- \DefTblrTemplate{contfoot-text}{default}{\cyr\CYRP\cyrr\cyro\cyrd\cyro\cyrv\cyrzh\cyre\cyrn\cyrn\cyrya\ \cyrn\cyra\ \cyrn\cyra\cyrs\cyrt\cyru\cyrp\cyrn\cyrii\cyrishrt\ \cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyrc\cyrii}%
- \DefTblrTemplate{conthead-text}{default}{(\cyr\cyrp\cyrr\cyro\cyrd\cyro\cyrv\cyrzh\cyre\cyrn\cyrn\cyrya)}%
+ \renewcommand{\tblrcontfootname}{\cyr\CYRP\cyrr\cyro\cyrd\cyro\cyrv\cyrzh\cyre\cyrn\cyrn\cyrya\ \cyrn\cyra\ \cyrn\cyra\cyrs\cyrt\cyru\cyrp\cyrn\cyrii\cyrishrt\ \cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyrc\cyrii}%
+ \renewcommand{\tblrcontheadname}{(\cyr\cyrp\cyrr\cyro\cyrd\cyro\cyrv\cyrzh\cyre\cyrn\cyrn\cyrya)}%
}
\fi
\fi
diff --git a/macros/latex/contrib/tblr-extras/test-tblr-extras.pdf b/macros/latex/contrib/tblr-extras/test-tblr-extras.pdf
index 7fdba6781d..db0bff113c 100644
--- a/macros/latex/contrib/tblr-extras/test-tblr-extras.pdf
+++ b/macros/latex/contrib/tblr-extras/test-tblr-extras.pdf
Binary files differ
diff --git a/macros/latex/contrib/tblr-extras/test-tblr-extras.tex b/macros/latex/contrib/tblr-extras/test-tblr-extras.tex
index 7a4801bc3e..69cc27a9e4 100644
--- a/macros/latex/contrib/tblr-extras/test-tblr-extras.tex
+++ b/macros/latex/contrib/tblr-extras/test-tblr-extras.tex
@@ -1,42 +1,24 @@
-\documentclass[a4paper]{report}
+\documentclass{article}
+\usepackage[margin=55mm]{geometry}
+\usepackage[esperanto]{babel}
+\usepackage[font = {small, sf}, labelfont = bf,
+singlelinecheck = off]{caption}
\usepackage{tabularray}
-\usepackage{caption}
- \captionsetup{labelfont=bf,justification=raggedleft,singlelinecheck=false,position=below,skip=4pt}
-\usepackage{tblr-extras-dev}
-\UseTblrLibrary{caption}
- \TblrCaptionBelow
-\usepackage[hidelinks]{hyperref}
-\begin{document}
-
- \listoftables
-
- \clearpage
+\usepackage{tblr-extras}
+\UseTblrLibrary{booktabs, caption, babel}
- A table ref: \ref{tableA}.
+\usepackage{lipsum}
- \medspace
-
- \centering
- \begin{talltblr}[
- caption = {Title of table},
- entry = {Entry of table},
- label = tableA,
- remark{Note} = {Stuff to be a tablenote},
- note{a} = {Stuff to be a cellnote},
- % entry = none,
- % label = none,
- ]{
- colspec = X[c]X[c]X[c],
- hlines, vlines,
- }
- A\TblrNote{a} & B & C \\
- A & B & C \\
- A & B & C \\
- A & B & C \\
- A & B & C \\
- A & B & C \\
- A & B & C \\
- A & B & C \\
- A & B & C \\
- \end{talltblr}
+\begin{document}
+ \begin{longtblr}[
+ caption = {My Table Title},
+ label = {tab:test},
+ ]{colspec = {@{} X[j] @{}}}
+ \toprule
+ \lipsum[1] \\
+ \midrule
+ \lipsum[1] \\
+ \lipsum[1] \\
+ \bottomrule
+ \end{longtblr}
\end{document} \ No newline at end of file