Search found 3 matches

by akopts
Sat Dec 13, 2008 11:43 pm
Forum: General
Topic: sections inside longtable: proper referencing
Replies: 4
Views: 4180

Re: sections inside longtable: proper referencing

Wow! Thanks!
by akopts
Sat Dec 13, 2008 8:07 pm
Forum: General
Topic: sections inside longtable: proper referencing
Replies: 4
Views: 4180

sections inside longtable: proper referencing

Here is a working example. Both labels refer to the table number,
whereas I want \ref to print 1.1.1 and 2.2.1

Thanks,
Alex


\documentclass{report}
\usepackage{longtable}
\usepackage{hyperref}
\usepackage{ifthen}
\setcounter{tocdepth}{3}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand ...
by akopts
Sat Dec 13, 2008 4:49 am
Forum: General
Topic: sections inside longtable: proper referencing
Replies: 4
Views: 4180

sections inside longtable: proper referencing

My document consists of a longtable,
which contains sections and subsesctions (shown in multicolumns).
They are defined implicitly, e.g., not via \section, but via
\refstepcounter{section}\addcontentsline{toc}{section}{\protect\numberline{\thesection}#1}

Each row in the table is a subsubsection ...