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}
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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.