I was wondering if it is possible to change the size of the caption generated by the thebibliography environment. Changing the actual text size can be accomplished by putting thebibliography environment between \begin{small} \end{small} (or whatever textsize is needed), but that doesn't seem to affect the caption.
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[german,german]{babel}
\addto\captionsgerman{\renewcommand{\refname}{Referenzen}}
\renewcommand{\refname}{Referenzen}
\usepackage[justification=justified,singlelinecheck=false]{caption}
\renewcommand{\arraystretch}{1.5}
\usepackage{ulem}
\usepackage[labelfont=bf,textfont=footnotesize]{caption}
\begin{document}
\begin{footnotesize}
\begin{thebibliography}{5}
\bibitem{Hon89} Honig, M. G. and Hume, R. I. {\em Dil and diO: versatile fluorescent dyes for neuronal labelling and pathway tracing} Trends in Neuroscience 12, Nr.9 (1989):333-5,340-1.
\bibitem{WoAmPh} {\em Nervous system, neuronal support cells}. \url{http://wormatlas.org/hermaphrodite/neuronalsupport/jump.html?newLink=mainframe.htm&newAnchor=Phasmidsensilla36}. Access: 31.12.17, 11:59.
\end{thebibliography}
\end{footnotesize}
\end{document}
With \addto\captionsgerman{\renewcommand{\refname}{Referenzen}}
and \renewcommand{\refname}{Referenzen}
, I was able to change the caption text, but I'm not sure how to change the fontsize.
Thanks in advance!
\section*
. See the answer tex.stackexchange.com/a/69239/15925 to tex.stackexchange.com/q/69224/15925 for a way to change this. Putting font changing commands in\refname
is not recommended as it affects subsequent headers.