1
%
%---------------------------------- %
\documentclass[english,11pt]{book}
%---------------------------------- %
\usepackage[fleqn]{amsmath} %
\usepackage{amsthm} %
\usepackage[explicit]{titlesec}
\usepackage{titletoc} %
\usepackage[nottoc]{tocbibind} %
\usepackage[english]{babel} %
\usepackage{libertine} %

\begin{document}

\noindent How can I format the title "Bibliography" below

with say, libertineSB, fontsize {12}, {14}\hspace{1.4pt}?

\vspace{4pt}
\noindent There will be about 15 book titles in the list.

\begin{thebibliography}{99}

\bibitem {ref_01} Author 1\hspace{1.1pt}; \hspace{2.0pt}Book 1\hspace{0.7pt},  \hspace{1.0pt}first edition, 2018\hspace{1.0pt}.

\bibitem {ref_02} Author 2\hspace{1.1pt}; \hspace{2.0pt}Book 2\hspace{0.7pt},  \hspace{1.0pt}first edition, 2020\hspace{1.0pt}.

\bibitem {ref_03} Author 3\hspace{1.1pt}; \hspace{2.0pt}Book 3\hspace{0.7pt},  \hspace{1.0pt}first edition, 2022\hspace{1.0pt}.

\end{thebibliography}

\end{document}
9
  • it is \chapter*{\bibname}% so just format used for unnumbered chapters which you can define directly or using titlesec that you are already using Dec 10, 2022 at 12:46
  • David Carlisle@ I guessed that \bibname defaults to \bibliography and so I inserted \chapter*{\bibliography}% in the preamble? It gives an error. Could you amend my MWE with your solution, please?
    – keith77777
    Dec 10, 2022 at 13:59
  • you have no question here at all, you ask how to format the bibliography heading which is a chapter title, but you have not said what changes you want to make. ` I guessed that \bibname defaults to \bibliography ` no just the word Bibliography not the command, but as far as I can tell you do not need that at all, just specify how you want chapter headings laid out. Why does having 15 entries affect the heading at all??? Dec 10, 2022 at 14:07
  • David Carlisle@ on the last point... I thought I'd offer the number 15 as I've seen the parameters {9} and {99} mentioned as relevant in other Stack Exchange answers.
    – keith77777
    Dec 10, 2022 at 14:51
  • David Carlisle@ I can format my chapter headings by imitating others, but how is that utilizes in this case - do I need an entry in the preamble. I am not at all well-versed in these matters.
    – keith77777
    Dec 10, 2022 at 14:54

1 Answer 1

0

\renewcommand{\bibname}{\libertineSB{\fontsize{12.25}{15}\selectfont{References\vspace{3.2pt}}}} \begin{thebibliography}{10}

3
  • Please, give an explanation of your code so others can benefit from your answer. In the question title the OP asks for about 15 entries, but \begin{thebibliography}{10} is 10 entries. Dec 11, 2022 at 15:28
  • @LuisTurcio it is a self-answered question, so the answerer is the OP and this answer works for him. I do agree though that some more explanation (and code formatting) would be helpful in making this answer more useful for future visitors.
    – Marijn
    Dec 11, 2022 at 15:51
  • I do not know how to incorporate my answer into my original MWE on this site. I would be pleased if someone else would do that on my behalf. It only means replacing one line of code with two modified lines. Regarding the 15 entries... can someone explain why values {9}, {10} and {99} are variously used in this context, but hardly ever, any others.
    – keith77777
    Dec 11, 2022 at 17:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .