我 10 年前就使用过 tabu,它工作得很好,但现在代码已经无法使用了,因为 tabu错误。
这是我的表格的样子(来自旧的 pdf)
这是本例中使用的禁忌代码
{ % start a group
\colorlet{tabledarkheadcolor}{black!60}
% style
\small\renewcommand{\arraystretch}{1.4}\sffamily
% required if floatrow is loaded
\IfDefined{floatsetup}{\floatsetup[longtable]{font={sf,small}}}
% the table
\begin{longtabu} to \textwidth%
{X[2,l]>{\ttfamily}X[2,l]X[2,l]}
\captionabove{Links to locations for configurations of the document layout}
\label{tab:doc:configurationlinks}
\\
\hline
\taburowcolors 1{tabledarkheadcolor .. tabledarkheadcolor}
\upshape
\sffamily\textcolor{white}{Setting} &
\sffamily\textcolor{white}{Option/Value} &
\sffamily\textcolor{white}{Location} \\ \hline
\endfirsthead
\hline
\upshape
\sffamily\textcolor{white}{Setting} &
\sffamily\textcolor{white}{Option/Value} &
\sffamily\textcolor{white}{Location} \\ \hline
\endhead
\hline
\taburowcolors 1{white .. white}
\multicolumn{3}{r}{\emph{continued on next page \ldots}}
\endfoot
\hline
\endlastfoot
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{3}{l}{Options in file: \file{LaTeXTemplate.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
%
paper size & paper=a4 &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
language & english &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
font size & fontsize=11pt &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
color of hyperlinks & \bs{}UseDefinition\arg{Target}\arg{Web} &
Section: \hyperref[sec:preamble:configuration]{Configurations} \\
page layout in the pdf view & pdfpagelayout &
Section: \hyperref[sec:preamble:configuration]{Configurations} \\
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{3}{l}{Options in file: \file{preamble/packages.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{3}{l}{Settings and options in file: \file{preamble/style.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
%
url font & \cs{urlstyle}\arg{tt} &
Section: \hyperref[sec:style:text]{StyleText} \\
threshold for \cs{blockquote} & \cs{SetBlockThreshold}\arg{2} &
Section: \hyperref[sec:style:quotes]{StyleQuotes} \\
numbering of figures & \cs{numberwithin}\arg{figure} &
Section: \hyperref[sec:style:captions]{StyleCaptions} \\
paragraph skip or indentation & parskip=false &
Section: \hyperref[sec:style:layout:paragraph]{StyleParagraph} \\
line spacing & \cs{onehalfspacing} &
Section: \hyperref[sec:style:layout:linespacing]{StyleLineSpacing} \\
size of text body & DIV=11 &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
binding correction & BCOR=10mm &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
single/two side layout & twoside=true &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
separate title page & titlepage=true &
Section: \hyperref[sec:style:titlepage]{StyleTitlepage} \\
sections numbering depth & \cs{setcounter}\arg{secnumdepth}\arg{2} &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
headings size & headings=small &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
chapter prefix & headings=nochapterprefix &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
heading fonts & \cs{setkomafont}\arg{sectioning} &
Section: \hyperref[sec:style:headings:fonts]{StyleHeadingsFonts} \\
toc numbering depth & \cs{setcounter}\arg{tocdepth}\arg{3} &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
bibliography in TOC & bibliography=totoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
index in TOC & index=nottotoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
LOF in TOC & listof=notoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
%
\end{longtabu}
} % close the group
现在我开始用一个最小示例来替换此代码longtblr
,但它看起来并不像我想要的那样,而且我无法定义\endfirsthead
,,\endfoot
。\endlastfoot
我没有找到如何指定多列的行颜色。头部颜色未使用。
这里有一个可以编译但不能解决的最小代码,可以替代禁忌代码:
\documentclass{article}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tabularx}
\usepackage{array}
\usepackage{colortbl}
%\usepackage{tabu}
\usepackage{tabularray}
\usepackage{hyperref}
\newcommand\file[1]{\texttt{#1}}
\newcommand{\cs}[1]{\texttt{\textbackslash{}#1}\relax}
\newcommand{\bs}{\textbackslash}
\renewcommand\arg[1]{\{\texttt{#1}\}}
\begin{document}
{ % start a group
\colorlet{tabledarkheadcolor}{black!60}
\colorlet{tablerowcolor}{black!20}
\colorlet{tablebodycolor}{white}
\DefTblrTemplate{contfoot-text}{default}{Continued on next page \ldots}
% style
\small\renewcommand{\arraystretch}{1.4}\sffamily
\begin{longtblr}[
caption = {Links to locations for configurations of the document layout},
label = {tab:doc:configurationlinks},
]{
colspec = {X[2,l]>{\ttfamily}X[2,l]X[2,l]},
width = 1.0\textwidth,
row{1} = {bg=azure3, fg=white, font=\sffamily\upshape},
row{odd} = {bg=tablerowcolor},
}
\hline
Setting &
Option/Value &
Location \\ \hline
%\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\SetCell[c=3]{l} Options in file: \file{LaTeXTemplate.tex} \\
%
paper size & paper=a4 &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
language & english &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
font size & fontsize=11pt &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
color of hyperlinks & \bs{}UseDefinition\arg{Target}\arg{Web} &
Section: \hyperref[sec:preamble:configuration]{Configurations} \\
page layout in the pdf view & pdfpagelayout &
Section: \hyperref[sec:preamble:configuration]{Configurations} \\
% \taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\SetCell[c=3]{l} Options in file: \file{preamble/packages.tex} \\
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
% \taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\SetCell[c=3]{l}
Settings and options in file: \file{preamble/style.tex} \\
%
url font & \cs{urlstyle}\arg{tt} &
Section: \hyperref[sec:style:text]{StyleText} \\
threshold for \cs{blockquote} & \cs{SetBlockThreshold}\arg{2} &
Section: \hyperref[sec:style:quotes]{StyleQuotes} \\
numbering of figures & \cs{numberwithin}\arg{figure} &
Section: \hyperref[sec:style:captions]{StyleCaptions} \\
paragraph skip or indentation & parskip=false &
Section: \hyperref[sec:style:layout:paragraph]{StyleParagraph} \\
line spacing & \cs{onehalfspacing} &
Section: \hyperref[sec:style:layout:linespacing]{StyleLineSpacing} \\
size of text body & DIV=11 &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
binding correction & BCOR=10mm &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
single/two side layout & twoside=true &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
separate title page & titlepage=true &
Section: \hyperref[sec:style:titlepage]{StyleTitlepage} \\
sections numbering depth & \cs{setcounter}\arg{secnumdepth}\arg{2} &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
headings size & headings=small &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
chapter prefix & headings=nochapterprefix &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
heading fonts & \cs{setkomafont}\arg{sectioning} &
Section: \hyperref[sec:style:headings:fonts]{StyleHeadingsFonts} \\
toc numbering depth & \cs{setcounter}\arg{tocdepth}\arg{3} &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
bibliography in TOC & bibliography=totoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
index in TOC & index=nottotoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
LOF in TOC & listof=notoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
%
\end{longtblr}
} % close the group
\end{document}
答案1
我只更改了代码中的几项内容,表格就开始变得像您的旧 PDF 了。我认为您可以继续这样做。
不过,需要注意的是,您应该先添加更多通用设置,然后再添加更多具体更改。否则,设置可能会丢失,例如,row{1} ...
您的代码被覆盖\row{odd} ...
。
我还添加了
rowhead = 1,
rowfoot = 0,
它指示表格在第一页和其他页上重复了多少个标题行和最后一个脚注行。
编辑。
我在代码中添加了一些内容,并附上了注释,以阐明longtblr
工作原理。有几个重要方面
longtblr
由三部分组成:头,身体, 和脚, 如同threeparttable
- 两个都头和脚可以有三个前缀:第一的,中间和最后的修改特定页面上的这些部分
- 两个都头和脚可以使用字体和颜色进行样式设置
\SetTblrStyle{}{}
longtblr
使用模板来改变内容头和脚\DeclareTblrTemplate{}{}{}
使用和的组合来改变元素SetTblrTemplate{}{}
- 表 4.4 中的每个元素(见文档)可以根据自定义模板进行定义
- 其他命令sa
\UseTblrTemplate{}{}
并且\ExpTblrTemplate{}{}
可以在另一个模板的定义中使用已经定义的模板
- 组合模板可以在整个文档中进行分割。
我认为下面是我的例子中最重要的部分
%%% Style for the table
% Decalre the template "crazy"
\DeclareTblrTemplate{caption}{crazy}{
\centering
XXX:
Crazy table:%
\UseTblrTemplate{caption-sep}{default}%
\UseTblrTemplate{caption-text}{default}
:XXX%
\par
}
\DeclareTblrTemplate{middlehead}{crazy}{\UseTblrTemplate{caption}{crazy}}
\DeclareTblrTemplate{lasthead}{crazy}{\UseTblrTemplate{caption}{crazy}}
% Decalre the template "fancy"
\DeclareTblrTemplate{contfoot-text}{fancy}{Continued on next page \ldots}
%%% Create a new theme with the template custom
\NewTblrTheme{mytheme}{
% Use template fancy
\SetTblrTemplate{contfoot-text}{fancy}
% USe template custom
\SetTblrTemplate{middlehead}{crazy}
\SetTblrTemplate{lasthead}{crazy}
\SetTblrStyle{firsthead}{fg=red,font=\bfseries}
\SetTblrStyle{middlehead,lasthead}{fg=black!30!green,font=\itshape}
\SetTblrStyle{lasthead}{fg=blue}
\SetTblrStyle{firstfoot}{fg=red2}
\SetTblrStyle{middlefoot}{font=\itshape}
}
它演示了如何声明包括特定元素的新模板,这些元素又在主题中设置。我可以看出它乍一看可能有点太复杂了,但我猜主要思想是主题可以共享相同的模板,这在大型文档中可以大大减少代码并提高清晰度。
我的示例截图
\documentclass{article}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[colorlinks]{hyperref}
\usepackage{tabularray}
\usepackage{csquotes}
\newcommand\file[1]{\texttt{#1}}
\newcommand{\cs}[1]{\texttt{\textbackslash{}#1}\relax}
\newcommand{\bs}{\textbackslash}
\renewcommand\arg[1]{\{\texttt{#1}\}}
\colorlet{tabledarkheadcolor}{black!60}
\colorlet{tablerowcolor}{black!20}
\colorlet{tablebodycolor}{white}
%%% Style for the table
% Decalre the template "crazy"
\DeclareTblrTemplate{caption}{crazy}{
\centering
XXX:
Crazy table:%
\UseTblrTemplate{caption-sep}{default}%
\UseTblrTemplate{caption-text}{default}
:XXX%
\par
}
\DeclareTblrTemplate{middlehead}{crazy}{\UseTblrTemplate{caption}{crazy}}
\DeclareTblrTemplate{lasthead}{crazy}{\UseTblrTemplate{caption}{crazy}}
% Decalre the template "fancy"
\DeclareTblrTemplate{contfoot-text}{fancy}{Continued on next page \ldots}
%%% Create a new theme with the template custom
\NewTblrTheme{mytheme}{
% Use template fancy
\SetTblrTemplate{contfoot-text}{fancy}
% USe template custom
\SetTblrTemplate{middlehead}{crazy}
\SetTblrTemplate{lasthead}{crazy}
\SetTblrStyle{firsthead}{fg=red,font=\bfseries}
\SetTblrStyle{middlehead,lasthead}{fg=black!30!green,font=\itshape}
\SetTblrStyle{lasthead}{fg=blue}
\SetTblrStyle{firstfoot}{fg=red2}
\SetTblrStyle{middlefoot}{font=\itshape}
}
\begin{document}
\small\renewcommand{\arraystretch}{1.4}\sffamily
\begingroup
\begin{longtblr}[
theme = mytheme,
caption = {Links to locations for configurations of the document layout},
label = {tab:doc:configurationlinks},
]{
colspec = {X[2,l]>{\ttfamily}X[2,l]X[2,l]},
width = 1.0\textwidth,
row{odd} = {bg=tablerowcolor!20},
row{1} = {bg=azure3, fg=white, font=\sffamily\upshape},
rowhead = 1,
rowfoot = 0,
}
\hline
Setting &
Option/Value &
Location \\ \hline
%\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\SetCell[c=3]{l,bg=tablerowcolor} Options in file: \file{LaTeXTemplate.tex} \\
%
paper size & paper=a4 &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
language & english &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
font size & fontsize=11pt &
option of \hyperref[sec:main:class]{\cs{documentclass}} \\
color of hyperlinks & \bs{}UseDefinition\arg{Target}\arg{Web} &
Section: \hyperref[sec:preamble:configuration]{Configurations} \\
page layout in the pdf view & pdfpagelayout &
Section: \hyperref[sec:preamble:configuration]{Configurations} \\
% \taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\SetCell[c=3]{l,bg=tablerowcolor} Options in file: \file{preamble/packages.tex} \\
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
\SetCell[c=3]{l,bg=tablerowcolor} Options in file: \file{preamble/packages.tex} \\
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
\SetCell[c=3]{l,bg=tablerowcolor} Options in file: \file{preamble/packages.tex} \\
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
\SetCell[c=3]{l,bg=tablerowcolor} Options in file: \file{preamble/packages.tex} \\
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
\SetCell[c=3]{l,bg=tablerowcolor} Options in file: \file{preamble/packages.tex} \\
%
equation position & fleqn &
Section: \hyperref[sec:packages:math]{PackagesMath} \\
quotation style & german=quotes &
Section: \hyperref[sec:packages:quotes]{PackagesQuotes} \\
citation style & style=alphabetic &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
bibliography backend & backend=biber &
Section: \hyperref[sec:packages:bibliography]{PackagesCitation} \\
header and footer & automark,komastyle &
Section: \hyperref[sec:packages:headfoot]{PackagesHeadFoot} \\
backlinks in the bibliography & backref=page &
Section: \hyperref[sec:packages:pdf]{PackagesPDF} \\
%
% \taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\SetCell[c=3]{l,bg=tablerowcolor}
Settings and options in file: \file{preamble/style.tex} \\
%
url font & \cs{urlstyle}\arg{tt} &
Section: \hyperref[sec:style:text]{StyleText} \\
threshold for \cs{blockquote} & \cs{SetBlockThreshold}\arg{2} &
Section: \hyperref[sec:style:quotes]{StyleQuotes} \\
numbering of figures & \cs{numberwithin}\arg{figure} &
Section: \hyperref[sec:style:captions]{StyleCaptions} \\
paragraph skip or indentation & parskip=false &
Section: \hyperref[sec:style:layout:paragraph]{StyleParagraph} \\
line spacing & \cs{onehalfspacing} &
Section: \hyperref[sec:style:layout:linespacing]{StyleLineSpacing} \\
size of text body & DIV=11 &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
binding correction & BCOR=10mm &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
single/two side layout & twoside=true &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
separate title page & titlepage=true &
Section: \hyperref[sec:style:titlepage]{StyleTitlepage} \\
sections numbering depth & \cs{setcounter}\arg{secnumdepth}\arg{2} &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
headings size & headings=small &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
chapter prefix & headings=nochapterprefix &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
heading fonts & \cs{setkomafont}\arg{sectioning} &
Section: \hyperref[sec:style:headings:fonts]{StyleHeadingsFonts} \\
toc numbering depth & \cs{setcounter}\arg{tocdepth}\arg{3} &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
bibliography in TOC & bibliography=totoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
index in TOC & index=nottotoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
LOF in TOC & listof=notoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
\SetCell[c=3]{l,bg=tablerowcolor}
Settings and options in file: \file{preamble/style.tex} \\
%
url font & \cs{urlstyle}\arg{tt} &
Section: \hyperref[sec:style:text]{StyleText} \\
threshold for \cs{blockquote} & \cs{SetBlockThreshold}\arg{2} &
Section: \hyperref[sec:style:quotes]{StyleQuotes} \\
numbering of figures & \cs{numberwithin}\arg{figure} &
Section: \hyperref[sec:style:captions]{StyleCaptions} \\
paragraph skip or indentation & parskip=false &
Section: \hyperref[sec:style:layout:paragraph]{StyleParagraph} \\
line spacing & \cs{onehalfspacing} &
Section: \hyperref[sec:style:layout:linespacing]{StyleLineSpacing} \\
size of text body & DIV=11 &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
binding correction & BCOR=10mm &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
single/two side layout & twoside=true &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
separate title page & titlepage=true &
Section: \hyperref[sec:style:titlepage]{StyleTitlepage} \\
sections numbering depth & \cs{setcounter}\arg{secnumdepth}\arg{2} &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
headings size & headings=small &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
chapter prefix & headings=nochapterprefix &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
heading fonts & \cs{setkomafont}\arg{sectioning} &
Section: \hyperref[sec:style:headings:fonts]{StyleHeadingsFonts} \\
toc numbering depth & \cs{setcounter}\arg{tocdepth}\arg{3} &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
bibliography in TOC & bibliography=totoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
index in TOC & index=nottotoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
LOF in TOC & listof=notoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
\SetCell[c=3]{l,bg=tablerowcolor}
Settings and options in file: \file{preamble/style.tex} \\
%
url font & \cs{urlstyle}\arg{tt} &
Section: \hyperref[sec:style:text]{StyleText} \\
threshold for \cs{blockquote} & \cs{SetBlockThreshold}\arg{2} &
Section: \hyperref[sec:style:quotes]{StyleQuotes} \\
numbering of figures & \cs{numberwithin}\arg{figure} &
Section: \hyperref[sec:style:captions]{StyleCaptions} \\
paragraph skip or indentation & parskip=false &
Section: \hyperref[sec:style:layout:paragraph]{StyleParagraph} \\
line spacing & \cs{onehalfspacing} &
Section: \hyperref[sec:style:layout:linespacing]{StyleLineSpacing} \\
size of text body & DIV=11 &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
binding correction & BCOR=10mm &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
single/two side layout & twoside=true &
Section: \hyperref[sec:style:layout:page]{StylePageLayout} \\
separate title page & titlepage=true &
Section: \hyperref[sec:style:titlepage]{StyleTitlepage} \\
sections numbering depth & \cs{setcounter}\arg{secnumdepth}\arg{2} &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
headings size & headings=small &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
chapter prefix & headings=nochapterprefix &
Section: \hyperref[sec:style:headings]{StyleHeadings} \\
heading fonts & \cs{setkomafont}\arg{sectioning} &
Section: \hyperref[sec:style:headings:fonts]{StyleHeadingsFonts} \\
toc numbering depth & \cs{setcounter}\arg{tocdepth}\arg{3} &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
bibliography in TOC & bibliography=totoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
index in TOC & index=nottotoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
LOF in TOC & listof=notoc &
Section: \hyperref[sec:style:toc]{StyleLayoutTOC} \\
\hline
\end{longtblr}
\endgroup
\end{document}