Skip to content

Commit

Permalink
Minimalistic test file for #24 (also relates #20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Jan 14, 2024
1 parent 3f6fdac commit 78ee31c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions test_issues/gh24_simplest_tabular.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
\DocumentMetadata{
uncompress,
pdfversion=1.7,
lang=en-US,
testphase=phase-III
}
\documentclass{article}
\usepackage{etoc}
\usepackage{hyperref}
\usepackage{array}

\begin{document}

\etocglobaldefs % necessary for \etocname etc... to survive to & (or \\) closing groups

\etocsetlinestyle{section}
{}
{\\\etocnumber}
{}
{}

\etocsettocstyle{\begin{tabular}{c}number}{\end{tabular}}

\tableofcontents

\section{One}

\section{Two}

\section{Three}

\section{Four}

\end{document}

0 comments on commit 78ee31c

Please sign in to comment.