Files
klammertext/sks/table/sty/table.sty
T
ack 9b0d0d7897 The ansi target, txt table styles, kdesc reference from ref/, typeface and table-width fixes (from dev fcec5e2e77ac)
Since the previous release: Machine::read_string() (the fs::path/std::string
overload pair split); kdesc -c and -u rendered from the ref/ reflection
klammerset; a fit column's tex width measured in TeX over every entry;
@typeface resolving to the family its css declares (a store directory name
now works in html) and hieroglyphs in @unicode_examples set in their
typeface; the ansi target -- plain text with the type styles a terminal can
show, identical to txt once the escape sequences are stripped -- with the
txt @table carrying :header_style, :style and :hline; @block anchoring,
@table spacing and the Image_quality state variable; and the rewritten
doc/klammertext_for_llm.md.
2026-09-12 18:11:48 +02:00

44 lines
1.2 KiB
TeX

\usepackage{booktabs}
\usepackage{multirow}
\usepackage{array}
%\usepackage{longtable}
\usepackage{color, colortbl}
\definecolor{Table-red}{rgb}{1,.88,.88}
\definecolor{Table-green}{rgb}{.92,1,.92}
\definecolor{Table-blue}{rgb}{.9,.9,1}
\definecolor{Table-yellow}{rgb}{1,1,.9}
%\newcommand{\topstrut}[1]{\rule[0pt]{0pt}{#1}}
\newcommand{\botstrut}[1]{\rule[-#1]{0pt}{#1}}
\newcommand{\colorrow}{\rowcolor}
\setlength{\arrayrulewidth}{.5pt}
\newcommand{\strutline}{\topstrut{12pt}\botstrut{6pt}}
\newcommand{\noleftvline}[2]{\multicolumn{1}{#1|}{#2}}
\newcommand{\norightvline}[2]{\multicolumn{1}{|#1}{#2}}
\newcommand{\novline}[2]{\multicolumn{1}{#1}{#2}}
\newlength{\tablewidth}
\setlength{\tabcolsep}{4pt}
\newsavebox{\tablebox}
\newlength{\tableboxwidth}
% Computed widths of :column_width 'fill' columns (up to four per table):
% min(share of the remaining width, widest entry), set per table in the
% generated LaTeX via calc's \minof/\ratio.
\newlength{\klfilla}
\newlength{\klfillb}
\newlength{\klfillc}
\newlength{\klfilld}
% Scratch register in which a 'fit' or 'fill' column's width is measured
% (\settowidth, then \maxof over each further entry) before being frozen
% into the per-column macro \klfit<X> the column spec reads.
\newlength{\klfitwidth}