Bonjour à tous en ces temps de confinement,
J’avoue être un peu perdu entre les environnements subfigure, subfig,
subfloat … et Tikz
Je suis en train d’écrire un livre, j’ai donc besoin de ce préambule
avec tout ce qu’il contient.
Je bloque ici. J’aimerais mettre côte à côte ces deux figures avec
légendes. Cela coince. Lorsque je n’utilise pas l’environnement
subfigure (mais aussi subfig, subfloat, …, même punition.), tout
fonctionne correctement.
Voici ce que je reçois comme info:
! Argument of \tkz@getfrompolar has an extra }.
Dans un autre chapitre, l’environnement \subfigure fonctionne très bien
mais je n’y utilise pas Tkz.
Où est le problème? Merci pour votre réponse.
La figure « scaphe_grec.jpg » se trouve ici
Michel
\documentclass[openany]{book}
%biblio séparée (à charger avant babel)
\usepackage[sectionbib]{chapterbib}
\usepackage{frbib}
%\pagestyle{empty}
\usepackage{tkz-tab,tkz-fct,tkz-euclide,tkz-tukey,tikzducks,tikzpeople}
\usepackage[tikz]{bclogo}
\usetikzlibrary{babel,arrows,shadows,decorations.pathmorphing,patterns,calc,
shapes,intersections,decorations.markings}
\tikzstyle directed=[postaction={decorate,decoration={markings,
mark=at position .4 with {\arrow[>=latex,scale=2]{<}}}}]
\usetikzlibrary{positioning}
\usepackage{amsfonts,bbm,mathrsfs,amsmath,amssymb,amsthm,fge}
\usepackage{mathtools}
\usepackage[upright]{fourier}
\usepackage[utf8]{inputenc}
\usepackage{pifont} \usepackage[greek,frenchb]{babel}
\usepackage{arabtex,tabularx}
\usepackage{url,xlop,multicol,cancel,subfigure}
\usepackage{wrapfig,picins,mdframed}
\usepackage{lettrine}
\usepackage{epigraph}
\setlength{\epigraphwidth}{0.9\textwidth} \setlength{\epigraphrule}{0pt}
%\usepackage{changcntr}
%\counterwithin*{section}{chapter}
%\usepackage{xcolor,xstring,pgfkeys}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\renewcommand{\chaptermark}[1]{\markboth{#1} {}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\bfseries\thepage}]
{\fancyplain{}{\bfseries\rightmark}}
\rhead[\fancyplain{}{\bfseries\leftmark}] {\fancyplain{}{\bfseries\thepage}}
\cfoot {} \setcounter{secnumdepth}{4}
\renewcommand{\thepart}{}
\renewcommand{\thesection}{\Roman{section} }
\renewcommand{\thesubsection}{-- \alph{subsection}) }
\renewcommand{\thesubsubsection}{-- \roman{subsubsection}) }
\renewcommand\FrenchLabelItem{\textbullet}
\begin{document}
\begin{figure}[htbp]
\subfigure [Scaphé, schéma]
{
\begin{tikzpicture}
\tkzDefPoints{0/0/O,0/-2/A,2/0/B,-2/0/C}
\tkzDefPoint(-50:2){s}
\tkzDefPoint(130:2){S}
\tkzDrawArc(O,C)(B)
\tkzDrawSegmentline width=1.5pt
\tkzDrawSegmentdashed,->,>=latex
\tkzLabelSegmentsloped{Gnomon}
\tkzDrawArcvery thick(s) \end{tikzpicture}
}
\hfill
\subfigure [Scaphé de type grec conservé au musée Clemens-Sels (de),
Neuss. \copyright{} Hartmann Linge, Wikimedia Commons, CC-by-sa 3.0]
{
\includegraphics[width=.55\textwidth]{scaphe_grec.jpg}
}
\caption{Scaphé, schéma et Scaphé de type grec conservé au musée
Clemens-Sels (de), Neuss. \copyright{} Hartmann Linge, Wikimedia
Commons, CC-by-sa 3.0}
\end{figure}
\end{document}