GeneralChange Appendices numbering from Alpha to arabic

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Zervan
Posts: 5
Joined: Sat Apr 23, 2011 1:17 am

Change Appendices numbering from Alpha to arabic

Post by Zervan »

I'm writing a document, which structure I want to be the following:
Part I
Chap 1
Chap 2
....
Appendices
Appendix 1
Appendix 2

This document is not in English, though, but I have no problem to change Appendix or Appendices by the required word. However, I'm not able to change the Alph numbering by arabic. I've tried the following, but it only adds an arabic number to the Alpha one

Code: Select all

\documentclass[pdftex,a4paper,twoside]{report} 
 \usepackage[spanish,activeacute]{babel}             
  \addto\captionsspanish{%
  \renewcommand{\appendixname}{Anejo \arabic{chapter}}}
  \usepackage{amsmath,amssymb,amsfonts,latexsym,cancel} 
  \usepackage[T1]{fontenc}                
  \usepackage{times}
  \usepackage[pdftex]{graphicx}           
  \usepackage[a4paper]{geometry}        
  \usepackage{fancyhdr}                  
  \usepackage{multirow}                  
  \usepackage{chngcntr}                   
  \usepackage{rotating}                 
  \usepackage{import}                    
  \usepackage{subfigure}                 
  \usepackage[subfigure]{tocloft}         
  \usepackage{lastpage}                  
  \usepackage{appendix}                   
  \renewcommand{\appendixname}{Anejos}
  \renewcommand{\appendixtocname}{Anejos}
  \renewcommand{\appendixpagename}{Anejos}
  \usepackage{pgf,pgfarrows,pgfnodes}    
  \usepackage{tikz} 
  \usepackage[justification=centering]{caption} 
  % Optional PGF libraries 
  \usepackage{pgflibraryarrows} 
  \usepackage{pgflibrarysnakes}

Is there any way to change this?
Thanks in advance,
Jose A.
Last edited by Stefan Kottwitz on Sun May 29, 2011 11:15 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Change Appendices numbering from Alpha to arabic

Post by Stefan Kottwitz »

Hi Jose,

welcome to the board!

You could redefine the presentation of the chapter resp. appendix counter:

After \appendix:

Code: Select all

\renewcommand*{\thechapter}{\arabic{chapter}}
Stefan
LaTeX.org admin
Zervan
Posts: 5
Joined: Sat Apr 23, 2011 1:17 am

Re: Change Appendices numbering from Alpha to arabic

Post by Zervan »

Thank you Stefan_K,
It is what I was looking for. It works perfectly
Jose A
dbl
Posts: 1
Joined: Sat May 21, 2011 7:10 am

Re: Change Appendices numbering from Alpha to arabic

Post by dbl »

Thank you very much
Post Reply