# Tag Info

2

The most recent version of diagrams.sty, released December 2019, is no longer obfuscated. It still contains the time bomb, though. Reading the code, we see (lines 4045-4099) a macro \the@signature which builds a horizontal rule from segments corresponding to the Morse code for “PAUL” (plus additional code for “TAYLOR”, commented out). %=======================...

0

\obeylines defines the end of line character to be \par which appears to be exactly what ask for here, although you may be looking for \begin{verbatim} which does more, selecting a monospace font and disabling latex special commands.

10

With nicematrix. The environments of nicematrix create PGF/Tikz nodes under the rows, columns and cells and the array and it's possible to use them to draw whatever you want with Tikz. \documentclass{article} \usepackage{nicematrix} \usepackage{tikz} \begin{document} \[ \begin{pNiceMatrix}[r,right-margin,columns-width=auto] 2 & 2 & -1 & 3 \\ ...

12

You're missing the vertical line | in the column specification and a \multicolumn{1}{r} for the element in the top left corner: \documentclass{article} \begin{document} \[ \left( \begin{array}{ r | *{3}{r} } \multicolumn{1}{r}{2} & 2 & -1 & 3 \\ \cline{2-4} 0 & 1 & 3 & 4 \\ 0 & 1 & 3 & ...

Top 50 recent answers are included