BibTeX, biblatex and biberBibtex without Heading but with Headline

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mechanix
Posts: 2
Joined: Thu Feb 17, 2011 12:27 pm

Bibtex without Heading but with Headline

Post by mechanix »

Using bibtex and the article class, I want to have a bibliography without an own heading but keeping the documents toc-structure for the headlines (fancyheadings).

Basically, I skip the section definition by:

Code: Select all

\makeatletter
\renewenvironment{thebibliography}[1]
     {%\section*{\refname}%
%     \let\refname=\sectionmark
      \@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
But than, no headlines appear anymore within the pages of the (long) bibliography.

I also tried:

Code: Select all

\renewcommand{\refname}{}
in front of the bibliograpy, but of course, the same results!

Help would be grateful!

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Bibtex without Heading but with Headline

Post by frabjous »

If you're trying to suppress the header, then \pagestyle{empty} (or \pagestyle{plain} or whatever) right before the \bibliography{..} line would be the natural way to accomplish this. If you've tried that, and it doesn't work, please provide an actual minimal working example showing the problem, it is very hard to guess what might prevent that from working without knowing more about the document.

By the way the fancyheadings package is obsolete; use fancyhdr instead. (Although it may be that fancyheadings is just a wrapper for fancyhdr now, not sure.)
mechanix
Posts: 2
Joined: Thu Feb 17, 2011 12:27 pm

Bibtex without Heading but with Headline

Post by mechanix »

Some further investigations:

I either get headings on all pages, including a wrong "Literatur" on top of the second page using "headings" or no headings at all using "myheadings".

See the full example below.

Code: Select all

\documentclass[
	10pt,		
	a4paper,		% DIN A4
	oneside,		% Einseitig
	german,			%
	headsepline,		% Linie unter der Kopfzeile		
	footnosepline,		%
	bigheadings,		% default: berschriften gross setzen
	pointlessnumbers,	% Keinen Punkt hinter die letzte Zahl 
]{article}

\usepackage{fancyhdr}		% eigene Kopf-und Fusszeilen

\usepackage[utf8]{inputenc} 		% Interpretiert den Quelltext richtig fuer deutsche Zeichen
\usepackage[OT1]{fontenc}		% Spuckt obigen auch wieder richtig aus
\usepackage{ngerman} 		%Silbentrennung nach neuer deutscher Rechtschreibung 

\makeatletter
\renewenvironment{thebibliography}[1]
     {
%=========== Skipping Headline of Bibliography ==============     
     %\section*{\refname}%
%=========== Skipping Headline of Bibliography ==============     
      \@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



\begin{document}

\pagestyle{myheadings}{
	\lhead{\nouppercase{\leftmark}}
	\rhead{\thepage}
}

% or: 
%\pagestyle{headings}


\section{Introduction}


There should be text.
\\
\nocite{*}

Followed by a long bibliography of more than one page - without a special section heading.
{%
	\bibliographystyle{alphadin}
	\bibliography{Daempfung}
}


\clearpage


\section{Section 2}

New section. Text again.

\end{document}

%=========================================================================================


\begin{filecontents}{Daempfung.bib} 
  @Book{ NASD2010,
	title = "FEM-Formelsammlung Statik und Dynamik",
	author = "Lutz Nasdala",
	publisher = "Vieweg und Teubner",
	year = "2010",
	edition = "1"
}

@Article{ ADAM2003,
	title = "Damping in advanced polymer-matrix composites",
	journal = "Journal of Alloys and Compounds",
	volume = "355",
	number = "1-2",
	pages = "126--130",
	year = "2003",
	author = "R. D. Adams and M. R. Maheri"
}

@Article{ RAO_1991,
	title = "Vibration analysis of FRP faced sandwich plates using hybrid-stress finite element method",
	journal = "Computers \& Structures",
	volume = "41",
	number = "2",
	pages = "177--188",
	year = "1991",
	author = "Koganti M. Rao and H.-R. Meyer-Piening"
}

@Article{ YINT2001,
	title = "Prediction of the 3-D effective damping matrix and energy dissipation of viscoelastic fiber composites",
	journal = "Composite Structures",
	volume = "54",
	number = "1",
	pages = "49--55",
	year = "2001",
	note = "",
	author = "Wei Yin-Tao and Gui Liang-Jin and Yang Ting-Qing"
}

@Article{ Matter2011,
	title = "Identification of the elastic and damping properties in sandwich structures with a low core-to-skin stiffness ratio",
	journal = "Composite Structures",
	volume = "93",
	number = "2",
	pages = "331--341",
	year = "2011",
	author = {Marco Matter and Thomas Gm{\"u}r and Jo{\"e}l Cugnoni and Alain Schorderet}
}

@Article{ OHTA2002,
	title = "On the damping analysis of FRP laminated composite plates",
	journal = "Composite Structures",
	volume = "57",
	number = "1-4",
	pages = "169--175",
	year = "2002",
	author = "Yoshiki Ohta and Yoshihiro Narita and Kenta Nagasaki"
}

@Article{ MEUN2003,
	title = "Forced response of FRP sandwich panels with viscoelastic materials",
	journal = "Journal of Sound and Vibration",
	volume = "263",
	number = "1",
	pages = "131--151",
	year = "2003",
	note = "",
	author = "M. Meunier and R. A. Shenoi"
}

@Article{ TSAI2009,
	title = "2-D analytical model for characterizing flexural damping responses of composite laminates",
	journal = "Composite Structures",
	volume = "89",
	number = "3",
	pages = "443--447",
	year = "2009",
	author = "Jia-Lin Tsai and Nai-Ren Chang"
}

@Article{ BENC1998,
	title = "Some aspects of vibration damping improvement in composite materials",
	journal = "Composites Part B: Engineering",
	volume = "29",
	number = "6",
	pages = "809--817",
	year = "1998",
	author = "B. Benchekchou and M. Coni and H. V. C. Howarth and R. G. White"
}

@Article{ HYER1978,
	author = "M. W. Hyer and W. J. Anderson and R. A. Scott",
	title = "Non-linear vibrations of three-layer beams with viscoelastic cores, II: Experiment",
	journal = "Journal of Sound and Vibration",
	year = "1978",
	volume = "61",
	number = "1",
	pages = "25--30"
}

@Article{ RIKA1993,
	author = "R. Rikards and A. Chate and E. Barkanov",
	title = "Finite element analysis of damping the vibrations of laminated composites",
	journal = "Computers and Structures",
	year = "1993",
	volume = "47",
	number = "6",
	pages = "1005--1015"
}

@Article{ KOVA1971,
	author = "Kovac and W. J. Anderson and R. A. Scott",
	title = "Forced non-linear vibrations of a damped sandwich beam",
	journal = "Journal of Sound and Vibration",
	year = "1971",
	volume = "17",
	number = "1",
	pages = "25--39"
}

@Article{ HYER1976,
	author = "M. W. Hyer and W. J. Anderson and R. A. Scott",
	title = "Non-linear vibrations of three-layer beams with viscoelastic cores I. Theory",
	journal = "Journal of Sound and Vibration",
	year = "1976",
	volume = "46",
	number = "1",
	pages = "121--136"
}
@Article{ HARN2006,
	title = "Artificial kinematics and simple stabilization of solid-shell elements occurring in highly constrained situations and applications in composite sheet forming simulation",
	journal = "Finite Elements in Analysis and Design",
	volume = "42",
	number = "12",
	pages = "1097--1111",
	year = "2006",
	author = "M. Harnau and K. Schweizerhof"
}

@Article{ CARR2010,
	title = "Metal/polymer/metal hybrid systems: Towards potential formability applications",
	journal = "Composite Structures",
	volume = "In Press, Corrected Proof",
	number = "",
	pages = "--",
	year = "2010",
	author = "Adele Carrad{\`o} and Jacques Faerber and Sonja Niemeyer and Gerhard Ziegmann and Heinz Palkowski"
}

@Article{ MAHE2003,
	title = "MODAL VIBRATION DAMPING OF ANISOTROPIC FRP LAMINATES USING THE RAYLEIGH-RITZ ENERGY MINIMIZATION SCHEME",
	journal = "Journal of Sound and Vibration",
	volume = "259",
	number = "1",
	pages = "17--29",
	year = "2003",
	author = "M. R. Maheri and R. D. Adams"
}

@Article{ CHUN2003,
	title = "Structural composite materials tailored for damping",
	journal = "Journal of Alloys and Compounds",
	volume = "355",
	number = "1-2",
	pages = "216--223",
	year = "2003",
	author = "D. D. L. Chung"
}
\end{filecontents} 

%=============================================================

Attachments
Multibib_Headings.pdf
(89.94 KiB) Downloaded 271 times
Post Reply