Simply that the same code with the original table has no trouble of references (figures+table), while the new code, which uses different packages, seems responsible of failure. So, the conflict could reside inside them.svend_tveskaeg wrote:I am not sure understand what you are saying.
Nethertheless, I'll investigate other solutions. Thank you, svend.
Edit. Could someone replicate this code?
Code: Select all
%---------- minimum.tex ---------- for forum replication ---------
\documentclass[a4paper,11pt] {article}
\usepackage [latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{fancybox}
\usepackage{graphicx}
\usepackage{amsmath}
%-----------------
\usepackage{booktabs,array}
\usepackage{siunitx}
\sisetup{minimum-integer-digits=2}
\usepackage[tableposition=top]{caption}
%-----------------
\DeclareCaptionLabelSeparator{CapSpace}{:\quad}
\captionsetup{
font=small,
labelfont=sc,
labelsep=CapSpace,
width=0.7\textwidth
}
\begin{document}
Most of them involve the parameters shown in Fig.~\ref{fig:eop}
called by ...
\begin{figure}[h]
\centering
\fbox{\includegraphics[scale=0.90]{etic.pdf}}%
\label{fig:eop}
\caption{To execute frame transformations}
\end{figure}
This procedure involves the knowlwdge of data coming from observations
carried out from a location ({\em Site}) and summarized in Table ~\ref{horse}:
%----------------------------------------------------------------------
\begin{table} [h]
\centering
\caption{Observation times, Right Ascension of Ascending Node,
Declination, Site Coordinates}
\label{horse}
\begin{tabular}{
c
!{\quad}
S[table-format=2.0]
S[table-format=2.0]
S[table-format=2.2]
!{\quad}
S[table-format=2.0]
S[table-format=2.0]
S[table-format=2.2]
}
\toprule
Times & \multicolumn{3}{c}{RAAN} & \multicolumn{3}{c}{Dec}\\
& \si{\hour} & \si{\minute} & \si{\s} & \si{\degree} & \si{\arcminute} & \si{\arcsecond} \\
\midrule
11:40:28 & 00 & 03 & 45.48 & 18 & 40 & 03.78 \\
11:48:28 & 03 & 00 & 06.18 & 35 & 39 & 53.07 \\
11:52:28 & 04 & 31 & 32.80 & 36 & 59 & 47.70 \\
\midrule
Date & \multicolumn{6}{c}{Site Geodetic Coordinates}\\
Aug.~20, 2012 & \multicolumn{2}{c}{$\lambda = \SI{-110}{\degree}$} & \multicolumn{2}{c}{$\phi = \SI{40}{\degree}$} & \multicolumn{2}{c}{$H = \SI{2000}{\m}$} \\
\bottomrule
\end{tabular}
\end{table}
%--------------------------------------------------------------------------
\noindent
We assume the ellipsoid WGS84 as reference for computing the topocentric
coordinates ($T_1,T_2,T_3$), at observations times ($t_1,t_2,t_3$).
\end{document}