This is about caption package. I read the well-written manual of this package (but not thoroughly, because I am new to LaTex) and found not enough about number(s) associated with caption label. So,
- How one can substitute the period between chapter and figure numbers with a custom symbol, say an emdash (i.e. as FIGURE 7—1 and without
\renewcommand)? - Likewise, what about putting a custom symbol right before caption number, something like FIGURE P7—1?
And the third question about caption alignment,
- Is it possible to align the caption with figure borders (here I mean left border)? How?
This is a typical MWE:
\documentclass{book}
\usepackage{blindtext}
\usepackage[demo]{graphicx}
\usepackage{caption}
\DeclareCaptionStyle{mystyle}[]{
name=FIGURE,
labelsep=newline
}
\setcounter{chapter}{7}
\begin{document}
\begin{figure}
\centering
\includegraphics[width=10cm]{testimage}
\captionsetup{style=mystyle}
\caption{Caption of my figure}
\end{figure}
\end{document}
And the output,
Of course I read those questions about using emdash instead of period or caption alignment, but if possible I like to use amsmath and caption package only.



\DeclareCaptionLabelSeparator{emdash}{\textemdash}for example for theemdashfeature ;-) – Jun 17 '16 at 18:59