\align
seems not functioning well: it generates no numbering at all, and when referenced, shows the section number.
I tried to explain here. My class code is at last
Code: Select all
\begin{subequations} \label{e:015} %on page 16
\begin{align}
& A\label{E-015-1}
\intertext{procedemos a eliminar...}
U_1\cdot & A = B\label{E-015-2}
\end{align}
some text....
\begin{align}
U_2\cdot B &= L\label{E-015-3}
\end{align}
\end{subequations}
A (expected I.1a)
procedemos a eliminar ...
U1 . A = B (expected I.1b)
some text...
U2 . B = L (expected I.1b)
But later
Code: Select all
\begin{subequations}
\begin{eqnarray}
R&=S\label{E_m6000}\\
&=S'\label{E_m6001}
\end{eqnarray}
\end{subequations}
R = S (I.2a)
= S' (I.2b)
And later on
...some text... en la~\eqref{E_m6001}
... produces correctly ''en la (I.2b)''BUT ....after some other text in the same subsection...
página~\pageref{e:015} \eqref{E-015-2} \eqref{E-m6001} \eqref{E-m6050}
just to prove the malfunction:
e:015 corresponds to the first ''subequations'' I put for you
E-015-2 is the second expresion in it
E-m6001 my (I.2b), I hope
E-m6050 the nearly next ''align'' expresion in a new paragraph
results in: página 16, (as espected) (I.1) (when expected I.2b again)!
(I.2.7.3) and (I.2.7.3) wich is the current ''
\subsubsection
'' number It seems
\align
related counter doesn't counts, and \eqnarray
one <<dies>> quickly...I traied to use only eqnarrays instead of align, but getting another errors
I traied to use
\usepackage{mathenv}
deactivating amsthm, without successThe ams manual doesn't provide a clue for me, as it shows
Code: Select all
\documentclass[11pt]{book}
\input{AlgebraMacros}
\usepackage{layouts}
\usepackage{bera,arev}
\begin{document}
\tableofcontents
\mainmatter % Capítulos
%
\include{M6/cap1-m6}
%
\end{document}
%::::::::::::::::::::::::::
Code: Select all
\usepackage[spanish, es-noshorthands]{babel}
\spanishdecimal{.}
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
\usepackage[table]{xcolor}
\usepackage{textcomp}
% \usepackage{mathenv} %errors: to much & in eqnarray environments
\usepackage{amsmath}
\usepackage{amssymb,amsfonts,amsthm}
\usepackage{latexsym,exscale,cancel}% in three differents comands
\newtheorem{thm}{Proposición}[chapter]
\newtheorem{cor}{Consecuencia}[thm]
\newtheorem{lem}[thm]{Lema}
\theoremstyle{remark}
\newtheorem{rem}{\textbf{Nota}}
\theoremstyle{definition}
\newtheorem{defin}{Definición}
\newtheorem{example}{Ejemplo}[chapter]
\newtheorem{definition}{Definición}
\newtheorem{exercise}{Ejercicio}
\newcounter{countej}%[\thechapter]
%many environments and commands
\sloppy
\usepackage{longtable}
\usepackage[breaklinks=true,bookmarks=true,...,pagebackref=true]{hyperref}