[OS X TeX] problem with \renewcommand{}{\arabic{}}

Fabienne Goldfarb fabienne.goldfarb at gmail.com
Sat Dec 27 04:06:06 EST 2008


I am not surprised that it works : I don't think that there is a  
problem in the commands. As I've never found any example of such a  
problem on internet, I suspect it is more complicated.
Here is a complete test file, with the pdf that I get from this.
I didn't updated MacTeX, because I've just installed the last version.  
I reinstalled it 2 times (and redownloaded another version from  
another mirror).
I copied the picins.sty file on ~/Library/texmf/tex (this is the only  
thing I put there), but it didn't work before I put it there.

Thanks

Fabienne

> Howdy,
>
> Sorry, in a small sample file using the book class I have no problem  
> with your commands. I'm using MacTeX 2008 too. Could you supply a  
> short but complete sample file that shows this problem. Have you  
> done any updating of your MacTeX system? Do you have any files in  
> you personal texmf tree (~/Library/texmf/... where ~ is you HOME  
> directory) that might be interfering with the MacTeX distribution?
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)


\documentclass[12pt]{report}
\usepackage[pdftex]{color}
\usepackage[latin1]{inputenc}
\usepackage{bbm,array,theorem,enumerate,stmaryrd}
\usepackage{fancyhdr}
\usepackage 
{amsmath,amsxtra,amscd,amssymb,latexsym,comment,lineno,rotating,picins}
\usepackage{frenchle}
\usepackage{tocloft}

%Ajoût d'espace entre le compteur et le nom d'un chapitre dans la  
table des matières
\addtolength{\cftchapnumwidth}{0.5em}

% Definition des marges
\addtolength{\textwidth}{100pt}
\addtolength{\textheight}{81pt}
\addtolength{\headheight}{0pt}
\addtolength{\headsep}{-15pt}
\setlength{\oddsidemargin}{-5pt}
\setlength{\marginparwidth}{0pt}
\setlength{\marginparsep}{0pt}
\setlength{\evensidemargin}{0pt}
\setlength{\topmargin}{-0pt}
\setlength{\voffset}{0pt}
\setlength{\hoffset}{0pt}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% commandes prédéfinies
\renewcommand{\thechapter}{\Alph{chapter} -- }
\renewcommand{\thesection}{\Roman{section} -- }
\renewcommand{\thesubsection}{\Roman{section}.\arabic{subsection} }
%\renewcommand{\thesubsubsection}{\Roman{section}.\arabic{subsection}. 
\alph{subsubsection}}
%\renewcommand{\thefigure}{\arabic{figure}}

\begin{document}

\renewcommand{\thefootnote}{\alph{footnote}}
\renewcommand{\baselinestretch}{1.1} 	                  %interligne
\normalsize								%fait marcher la commande précédente

\pagestyle{fancy}
     \rhead[\rm \thepage]{Licence MMIC}
     \chead{}
     \lfoot{{\it Cours diodes lasers}}
     \rfoot{IUT Orsay  2009}

\tableofcontents
\chapter{Semiconducteurs}

\section{Structure de bande des cristaux}
\subsection{Niveaux d'énergie et émission lumineuse}
Text1

\subsection{Bandes d'énergie}
Text2

\section{Dopage et matériaux}
Text3

\end{document}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.pdf
Type: application/pdf
Size: 16946 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20081227/930348a0/attachment.pdf>


More information about the MacOSX-TeX mailing list