Files
klammertext/sks/block/sty/block.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

34 lines
1.1 KiB
TeX

%\usepackage{quoting}
%\quotingsetup{vskip=0pt}
\usepackage{float}
\usepackage{multicol}
%\usepackage[absolute,showboxes]{textpos}
\usepackage[absolute]{textpos}
\setlength{\TPHorizModule}{\paperwidth}
\setlength{\TPVertModule}{\paperheight}
%\setlength{\TPVertModule}{1\paperheight}
% The paper's top-left corner. textpos's absolute mode subtracts TeX's
% 1in origin itself (\textblockorigin stores x-1in, y-1in), and
% document.sty already sets \hoffset and \voffset to -1in for the same
% reason, so {0in}{0in} here shifted every block 1in left and 1in up
% (until 2026-09-08). Cancelling the offsets is right under either
% convention.
\textblockorigin{-\hoffset}{-\voffset}
\newlength{\fwboxwidth}
\newcommand{\fwboxn}[1]{\setlength{\fwboxwidth}{#1}}
\newcommand{\fwboxs}[1]{\setlength{\fwboxwidth}{\widthof{#1}}}
\newcommand{\fwbox}[1]{\makebox[\fwboxwidth][l]{#1}}
% No space if top of page:
\newcommand{\topspace}[1]{\ifdim\pagetotal=0pt\else\vspace*{#1}\fi}
% Quote (to be improved)
\newcommand{\quoteblock}[2]{
{\hspace*{24pt}\begin{minipage}{\textwidth - 48pt}
#1
\end{minipage}}}