cite the figure differently

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:50 +03:00 committed by Motiejus Jakštys
parent f63e4ce252
commit 545ae16cee

View File

@ -43,6 +43,7 @@
\newcommand{\onpage}[1]{\ref{#1} on page~\pageref{#1}} \newcommand{\onpage}[1]{\ref{#1} on page~\pageref{#1}}
\newcommand{\titlecite}[1]{\citetitle{#1}\cite{#1}} \newcommand{\titlecite}[1]{\citetitle{#1}\cite{#1}}
\newcommand{\titleciteauthor}[1]{\citetitle{#1} by \citeauthor{#1}\cite{#1}}
\newcommand{\DP}{Douglas \& Peucker} \newcommand{\DP}{Douglas \& Peucker}
\newcommand{\VW}{Visvalingam--Whyatt} \newcommand{\VW}{Visvalingam--Whyatt}
\newcommand{\WM}{Wang--M{\"u}ller} \newcommand{\WM}{Wang--M{\"u}ller}
@ -436,13 +437,14 @@ limiting the problem to cartographic line generalization. That is, full
cartographic generalization, which takes topology and other feature classes cartographic generalization, which takes topology and other feature classes
into account, is out of scope. into account, is out of scope.
Figure~\onpage{fig:wang125} illustrates {\WM} algorithm from their original Figure~\ref{fig:wang125} illustrates {\WM} algorithm from their original
paper. Note how the long bends retain curvy, and how some small bends got paper. Note how the long bends retain curvy, and how some small bends got
exaggerated. exaggerated.
\begin{figure}[h] \begin{figure}[h]
\includegraphics[width=\textwidth]{wang125} \centering
\caption{Originally Figure 12.5 from \titlecite{wang1998line}} \includegraphics[width=.8\textwidth]{wang125}
\caption{Originally Figure 12.5 from \cite{wang1998line}.}
\label{fig:wang125} \label{fig:wang125}
\end{figure} \end{figure}