1

I need to write the figure sources under the figure themselves. As recommended in StackExchange, I used the caption package that I also used for the title of the figure, which comes over the figure. Because I did not want the source listed or numbered anywhere, I used \caption*{}.

I also wanted both the title and the source caption left aligned with the figure, meaning not starting from the begin of the line, but rather from the corner of the figure. To solve this problem, StackExchange recommended using package threeparttable and to put my figure in the measuredfigure environment.

Problem is, the asterisk in \caption*{} for the source does not work inside the measuredfigure as it is supposed to. How can I get rid of numeration/list Figure 0.1 written in my source caption?

The MWE is:

\documentclass[a4paper]{memoir}

\usepackage[T1]{fontenc}        % Selecao de codigos de fonte.
\usepackage{graphicx}           % Inclusão de gráficos
\usepackage{caption}
\usepackage{threeparttable}

\graphicspath{{./images/}}

\captionsetup{
  font=normalsize,
  justification=raggedright,
  singlelinecheck=false,
  format=hang,
  labelsep=space
}

\begin{document}

\begin{figure}[h!]
    \centering%
    \begin{measuredfigure}%
    \caption{Transmission system}%
    \label{fig:Driveline}%
    \includegraphics[width=.8\textwidth]{Driveline}%
    \caption*{\footnotesize\textbf{Source}: Author}%%
    \end{measuredfigure}%
\end{figure}

\listoffigures

\end{document}

PDF generated from MWE

1

I would simply use a minipage instead of the table.

\documentclass[a4paper]{memoir}

\usepackage[T1]{fontenc}        % Selecao de codigos de fonte.
\usepackage{graphicx}           % Inclusão de gráficos
\usepackage{caption}
%\usepackage{threeparttable}

\graphicspath{{./images/}}

\captionsetup{
  font=normalsize,
  justification=raggedright,
  singlelinecheck=false,
  format=hang,
  labelsep=space
}

\begin{document}

\begin{figure}[htbp]
    \centering
    \begin{minipage}{.8\textwidth}
    \caption{Transmission system}%
    \label{fig:Driveline}%
    \includegraphics[width=\textwidth]{example-image}%
    \caption*{\footnotesize\textbf{Source}: Author}%%
    \end{minipage}
\end{figure}

\listoffigures

\end{document}

enter image description here

1

I think it will be simpler to use the copyrightbox ppackage:

\documentclass[a4paper]{memoir}

\usepackage[T1]{fontenc} % Selecao de codigos de fonte.
\usepackage{graphicx} % Inclusão de gráficos
\usepackage{caption, copyrightbox}
\usepackage{threeparttable}
\makeatletter
\renewcommand{\CRB@setcopyrightfont}{%
\footnotesize
\rmfamily
}
\graphicspath{{./images/}}

\captionsetup{
  font=normalsize,
  justification=raggedright,
  singlelinecheck=false,
  format=hang,
  labelsep=space
}

\begin{document}

\begin{figure}[h!]
    \centering%
    \begin{measuredfigure}%
    \caption{Transmission system}%
    \label{fig:Driveline}%
    \copyrightbox[b]{\includegraphics[width=.5\textwidth]{lafemme100tetes}}%
   {\textbf{Source}: MaxErnst}%%
    \end{measuredfigure}%
\end{figure}

\listoffigures

\end{document} 

enter image description here

8
  • Can you help again. I have formulate an answer, and I have a negative vote. Now I have banned my Mathematics. Can you help me, please? The question is combinatorial calculus. Can you see? +1 for your answer. – Sebastiano Jan 17 '18 at 20:33
  • @Sebastiano: I'd love to help, but where is the question? – Bernard Jan 17 '18 at 20:41
  • @Sebastiano: It is simpler to solve general problem: finding the number of solutions in non-negative integers of the equation: $$x_1+x_2+\dots+x_n= r$$. One proves by induction this number of solutions is the binomial coefficient $\;\biggl(\dfra{n+r-1}{r}\biggr)$. – Bernard Jan 17 '18 at 21:25
  • Can you solve my problem and upvote my question? Now I can't ask any question. – Sebastiano Jan 17 '18 at 21:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.