New answers tagged line
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.
answered Jan 18 at 21:23
David Carlisle
590k5151 gold badges13381338 silver badges21272127 bronze badges
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 & ...
answered Dec 30 '20 at 18:52
Werner
520k9898 gold badges12151215 silver badges20022002 bronze badges
Top 50 recent answers are included
Related Tags
line × 263tikz-pgf × 49
tables × 38
vertical × 19
spacing × 15
pgfplots × 14
line-breaking × 11
draw × 11
matrices × 9
line-spacing × 9
rules × 9
margins × 8
horizontal × 8
horizontal-alignment × 7
diagrams × 7
arrays × 7
graphics × 6
math-mode × 5
equations × 5
formatting × 5
pdftex × 5
vertical-alignment × 5
arrows × 5
nodes × 5
plot × 5