3

How come this doesn't change the marker numbering to roman from arabic in Endfloat?

\documentclass[a4paper,12pt,twoside]{book}
\usepackage{graphicx}
\usepackage[nolists]{endfloat}


\renewcommand{\theposttbl}{\Roman{theposttbl}}
\renewcommand{\thepostfig}{\Roman{postfig}}

\begin{document}
\chapter{This is Chapter 1}
Some text in chapter 1.  See my figure \ref{fig:MyFigure}.

\begin{figure}
                \centering
                \includegraphics{histoOne1}
                \caption{My caption for this figure}
                \label{fig:MyFigure}
\end{figure}

\let\cleardoublepage\clearpage
\chapter{This is Chapter 2}
Some text in chapter 2. 

\end{document}

1 Answer 1

4

The command to renew is \thepostfigure (and \theposttable for tables):

\documentclass[a4paper,12pt,twoside]{book}
\usepackage[demo]{graphicx}
\usepackage[nolists]{endfloat}


\renewcommand{\theposttable}{\Roman{posttbl}}
\renewcommand{\thepostfigure}{\Roman{postfig}}
\renewcommand{\thefigure}{\Roman{figure}}
\renewcommand{\thetable}{\Roman{table}}

\begin{document}

\chapter{This is Chapter 1}
Some text in chapter 1.  See my figure \ref{fig:MyFigure}.

\begin{figure}
                \centering
                \includegraphics{histoOne1}
                \caption{My caption for this figure}
                \label{fig:MyFigure}
\end{figure}

\let\cleardoublepage\clearpage
\chapter{This is Chapter 2}
Some text in chapter 2.

\end{document}

enter image description here

2
  • The counter is posttbl (or its newest version posttable), not theposttbl. Jan 30, 2014 at 12:18
  • @karlkoeller I just copied it without checking, thanks.
    – egreg
    Jan 30, 2014 at 13:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .