[OS X TeX] reference to a numbered newenvironment,

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Sun Dec 13 11:06:30 CET 2015


Alain,

Define a newtheorem "Agreement" then the problem shouldn't occur. Compare e.g., the definitions I am using:

\theoremstyle{normal}
%\newtheorem{abschnitt}[subsection]
\newtheorem{rem}[subsection]{Remark}
\newtheorem{definition}[subsection]{Definition}
\newtheorem{example}[subsection]{Example}
\newtheorem{examples}[subsection]{Examples}
\newtheorem{ex}[subsection]{Exercise}
\newtheorem{note}[subsection]{}
\newtheorem{axiom}[subsection]{Axiom}
\newtheorem{assumption}[subsection]{Assumption}

Claus




> On 13 Dec 2015, at 04:58, Alain Schremmer <schremmer.alain at gmail.com> wrote:
> 
> When referring to a numbered newenvironment, I have the fancyref "notorious FAQ problem" namely "I get a section number".
> 
> Right now, for \label{Agreement:sign}, \ref{Agreement:sign} returns the chapter.section number instead of, say, Agreement 4.
> 
> What is it that I am missing?
> 
> Hopeful regards
> --schremmer
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>               https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex





More information about the macostex-archives mailing list