]> mj.ucw.cz Git - diplomky.git/commitdiff
Macros: Yet another specimen macro for overlapping text
authorMartin Mares <mj@ucw.cz>
Wed, 21 Feb 2024 18:11:14 +0000 (19:11 +0100)
committerMartin Mares <mj@ucw.cz>
Wed, 21 Feb 2024 19:12:12 +0000 (20:12 +0100)
macros.tex

index e74e6f9ebe556dd997e9fe78be3eff2af73b905a..a260bfbb10dbc12c8675a26dde183550e0353c4d 100644 (file)
 % are deleted, as well as all calls of \X and \XXX macros.
 \def\X#1{\textcolor{red}{[#1]}}
 \def\XXX#1{\par\smallskip\noindent \textcolor{red}{[#1]}}
+\def\XOverlap#1{\dimen0=\prevdepth\nointerlineskip{\vbox to 0pt{\XXX{#1}\vss}}\prevdepth=\dimen0}
 %% NEMICEPS