Page Layout ⇒ Bibliography page layout
Bibliography page layout
I need to change the page loyout of the bibliography. I need to put the page number in the upper right corner, insted of the bottle center.
I'm using the bibtex packet.
I try to use the \thispagestyle{}, but it didn't work.
This is what it did:
\thispagestyle{titulos}
\begin{singlespace}
\bibliographystyle{unsrt}
\bibliography{./Bibliografia/Referencias}
\end{singlespace}
I put the \thispagestyle{} command in other lines too, but didn't work.
Anyone knows how to do this?
Thank you very much
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Bibliography page layout
you can redefine the thebibliography environment as defined in the document class that you are using; the following code shows how to do this when using article to use empty as the page style:
Code: Select all
\makeatletter
\renewenvironment{thebibliography}[1]
{\section*{\refname}%
\thispagestyle{empty}% change the style to suit to your needs
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\makeatother
corresponding thebibliography environment.
Re: Bibliography page layout
I need to change my bib layout in a different way. The default indentation of the bibliography is too far to the right. How can we shift it to the left a bit? The syntax that I use to output my latex file from TeXnicCenter to .pdf was
\begin{thebibliography}{breitestes 1}
\bibitem{}...
.
.
.
\end{thebibliography}
ThanQ!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography page layout
Learn more about the thebibliography environment to get its appearance right.BMAcox wrote:[…] I need to change my bib layout in a different way. The default indentation of the bibliography is too far to the right. How can we shift it to the left a bit? […]
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Bibliography page layout
Bibliography page layout
the \thebibliogrpahy environment uses a LaTeX list, so the list parameters can be used to change, for example, the bibitems indentation.
Bibliography page layout
Ok, can you post a sample code for this. I don't see it in the documentation (unless there is another one from the previous post) of how to change the indentation... Would like to save page space. ThX!gmedina wrote:Hi,
the \thebibliogrpahy environment uses a LaTeX list, so the list parameters can be used to change, for example, the bibitems indentation.

Bibliography page layout
Of course. Here's an example, using article as document class:BMAcox wrote:...Ok, can you post a sample code for this...
Code: Select all
\documentclass{article}
\usepackage{lipsum}% just to automatically generate some text
\makeatletter
\renewenvironment{thebibliography}[1]
{\section*{\refname}%
\thispagestyle{plain}%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\setlength\itemindent{10pt}% modified
\setlength\leftmargin{0pt}% modified
\setlength\labelsep{10pt}% modified
\advance\leftmargin-30pt% modified
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\makeatother
\begin{document}
\lipsum[1]
\begin{thebibliography}{9}
\bibitem{one} \lipsum[1]
\bibitem{two} \lipsum[1]
\end{thebibliography}
\end{document}
Here's the original definition of the environment as given in the file article.cls:
Code: Select all
\newenvironment{thebibliography}[1]
{\section*{\refname}%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
Re: Bibliography page layout

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography page layout
Please don't mix several topics in one thread. Regarding your problem you should avoid any special characters (blank spaces, underscores, ...) in the name and the path of the file. As an alternative you can try the grffile package from the oberdiek bundle.BMAcox wrote:[...] does anyone know how to remove from our output files directory pathname engraved ontop of our figures? [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10