Page LayoutMargin for List of Algorithms

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
NAWFAL
Posts: 2
Joined: Wed Sep 28, 2011 3:46 pm

Margin for List of Algorithms

Post by NAWFAL »

Hi all,
I am using \listofalgorithms to list all the algorithms in my thesis.
My problem is how can change (reduce) the top margin of the "List of Algorithm" page?

Thanks a lot in advance..

Nawfal

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

Margin for List of Algorithms

Post by localghost »

Please submit a minimal example that shows the problem clearly and is compilable as provided.


Best regards and welcome to the board
Thorsten
NAWFAL
Posts: 2
Joined: Wed Sep 28, 2011 3:46 pm

Re: Margin for List of Algorithms

Post by NAWFAL »

Hi Thorsten,
Thanks for your reply,
As shown in the attached pic, the top margin is 1.97in, my question is how can i make it 1.0in?
BTW, I use algorithm and algpseudocode packages and \listofalgorithms command to list the algorithms.
Please, any more details i would happy to supply them.

Regards,
Nawfal
Attachments
LoA-margin.jpg
LoA-margin.jpg (9.98 KiB) Viewed 4765 times
User avatar
justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Margin for List of Algorithms

Post by justdeath »

Please post some REAL code like this:

Code: Select all

\documentclass{article}
\usepackage{algorithm}
\usepackage{algpseudocode}

\begin{document}

\newpage
\centering
\listofalgorithms

\end{document}
I can't make this algorithm thing work, and if I do, it probably will not be the same as yours.

Are you using something from here:
http://en.wikibooks.org/wiki/LaTeX/Algo ... Pseudocode ?

By the way, the space from top of the page looks completely normal, margins are usually wide, for typography reasons.

Nikolay
Post Reply