Page LayoutFormat other Lists like List of Tables

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
pedrosorio
Posts: 2
Joined: Wed Jul 06, 2011 3:49 am

Format other Lists like List of Tables

Post by pedrosorio »

I want to do a List of Acronyms and I would like it to have the same formatting as the List of Tables. Namely, I would be interested in having the same formatting for the title of the page as well as for the page number. Right now I am using the style file provided here:

http://www-ra.phys.utas.edu.au/~jsteven ... style.html

And I have absolutely no idea how to format the List of Acronyms in a similar way (make the name appear on the right, have the page numbered - it currently isn't) - as I understand, the List of Tables gets its name on the right because of this:

%% make the odd pages have the section name on the top right
\fancyhead[RO]{\sffamily\bfseries \rightmark}

I don't even know what a list of tables is from the LaTeX point of view (a chapter, a section?) and if I try to define the List of Acronyms as a section it gets a completely different formatting, so I assume there are some tricks involved.

Here is a dummy pdf file that illustrates the problem:
http://www.2shared.com/document/5hkbLqmj/tese.html

Thanks in advance!

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

Format other Lists like List of Tables

Post by localghost »

Lists of acronyms or glossaries are usually done with package like acronym or glossaries, respectively. They will format the list properly and use the headings defined by your style file.


Best regards and welcome to the board
Thorsten
pedrosorio
Posts: 2
Joined: Wed Jul 06, 2011 3:49 am

Format other Lists like List of Tables

Post by pedrosorio »

Thank you! Indeed I am already using acronym to make the list of acronyms. My problem is really in the formatting of the header. If I remove the section{List of Acronyms} and just write:

Code: Select all

\phantomsection
\pdfbookmark[1]{List of Tables}{lot}
\listoftables
%\mtcaddchapter[\listtablename]
\cleardoublepage

\phantomsection
\pdfbookmark[1]{List of Acronyms}{loa}
\label{loa}
%\section{List of Acronyms}
\vspace{1cm}
\begin{acronym}[BOLD]
\acro{BOLD}{Blood-oxygen-level dependence} 
\acro{DCM}{Dynamic Causal Modelling} 
\acro{fMRI}{Functional Magnetic Resonance Imaging} 
\acro{HRF}{Haemodynamic Response Function} 
\acro{KF}{Kalman Filter} 
\acro{MMKF}{Multiple Model Kalman Filter} 
\end{acronym}
What I get is a header that says "List of Tables" above the page with the List of Acronyms with a different formatting from the one that appears in the List of Tables. What I would like is a header with "List of Acronyms" and the same formatting as the one in the List of Tables.


Thanks again!

P.S.: Since I am going at it I will also ask: why is it that the lines in the footers don't go all the way to the right/left side of the page? I wanted the page numbers to be on the right/left side for odd/even pages respectively, but they appear partially centred...
Attachments
Tese.pdf
The PDF Output.
(110.85 KiB) Downloaded 168 times
Post Reply