Page LayoutChange appearance of section/references, etc

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
bobbylou
Posts: 18
Joined: Tue Apr 21, 2009 6:54 pm

Change appearance of section/references, etc

Post by bobbylou »

Hi,

I'm sure this is really easy but I've spent quite some time googling this and I can't find any documentation. Basically, all I want to do is change the appearance of section/subsection/subsubsection/references/etc in my document. Specifically, I am writing a really small document and so I'm using the \subsubsection format for my title since it's a bit more modest than stuff like \section. I have some references in there but when I compile the document the heading for references is super big -- bigger, for example, than the title of the document! Is there a way to change this? Here's the specific code:

Code: Select all

\documentclass[12pt]{article}
\usepackage{apacite}

\begin{document}
\subsubsection*{The title of my document}

The document

\bibliographystyle{apacite}
\bibliography{thebibliography}
\end{document}
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Change appearance of section/references, etc

Post by localghost »

The easiest way for accommodation that comes to my mind is to use the titlesec package as shown below.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[includeheadfoot,margin=2cm]{geometry}
\usepackage[compact,small]{titlesec}
\usepackage{blindtext}

\begin{document}
  \section*{Section One}
  \blindtext

  \begin{thebibliography}{9}
    \bibitem{se} Sample bibliography entry.
  \end{thebibliography}
\end{document}
This way you can use the \section* command as usual. The package manual tells you the details.


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
bobbylou
Posts: 18
Joined: Tue Apr 21, 2009 6:54 pm

Re: Change appearance of section/references, etc

Post by bobbylou »

Perfect! Thanks, Thorsten. Amazing :)
Post Reply