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

Code, edit and compile here:
\documentclass[12pt]{article}
\usepackage{apacite}
\begin{document}
\subsubsection*{The title of my document}
The document
\bibliographystyle{apacite}
\bibliography{thebibliography}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
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

Code, edit and compile here:
\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}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This way you can use the \section* command as usual. The package manual tells you the details.


Best regards
Thorsten
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