4

A comment up front: I do not actually recommend that you implement the approach laid out in your query and pursued further in this answer. First, if your document employs the hyperref package as well and if your document has figure and table environments in both the main body and in the appendix, hyperlinks to figures and tables in the appendix won't come ...


2

If the indent and the number width for listing entries should be the same as for figure entries, use options tocentryindent:=figure and tocentrynumwidth:=figure. Example: \documentclass{scrbook} \DeclareNewTOC[% type=listing, types=listings, float, name=Listing, listname={List of Listings}, counterwithin=chapter,% <- added ...


1

This really should be a comment, but the formatting warrants I post this as an “answer”. Take a look at this example: \documentclass[listof=totoc,toc=sectionentrywithdots]{scrartcl} \begin{document} \tableofcontents \cleardoublepage \section{Chapter Number One} \clearpage \section{Chapter Number Two} \clearpage \addcontentsline{toc}{section}{\...


1

I have no explanation for this, but it seems to be solved by moving the new definition outside of the appendix environment. \documentclass[12pt,a4paper]{article} \usepackage{lipsum} \begin{document} \tableofcontents \section{Section 1} \lipsum \newpage \pagenumbering{arabic} \renewcommand*{\thepage}{A-\arabic{page}} \begin{appendix} \section{My ...


1

There are two ways to do this. First, you can use \getpagerefnumber and \StrBehind to remove A. etc. \documentclass[a4paper,12pt,bibliography=totoc]{scrartcl} \usepackage{blindtext} \usepackage{graphicx} %\usepackage{pageslts} % mixes up the page numbering in the appendix \pagenumbering{arabic} % page count in the body \usepackage{refcount} \usepackage{...


1

The appendix package adds a couple of new counters: @ppsaveapp and @ppsavesec. I tried \counterwithin on both of them, but only @ppsaveapp made a difference. \documentclass{scrartcl} \usepackage{appendix} \usepackage{chngcntr} \usepackage{hyperref} \counterwithin*{section}{part} \counterwithin*{@ppsaveapp}{part} \begin{document} \part{First Part} \...


Only top voted, non community-wiki answers of a minimum length are eligible