rafaelbailo/betterposter-latex-template

References for poster

sfwolfphys opened this issue · 5 comments

Some may want to use references with their poster. I tried it, but had unsatisfying results. I've put a MWE here:

https://gist.github.com/sfwolfphys/e3580f1e24d5dda515c99fb91f21be37

The short version is that:

  1. The references heading that adding a bibliography usually generates is small (not using \fontsizesection.
  2. It puts an * right before the references. See screenshot near the references:

image

...and the whole thing:
image

I have the same issue, is there any way to fix it? Even a hacky one?

It has to do with un-numbered sections. If you put a \section*{example} you will find the same behaviour. Maybe forcing a white box in that specific space could temporarily fix it? I am not an expert with latex hacks.

Found a temporal fix: Add to you preamble

\makeatletter
\renewenvironment{thebibliography}[1]
     {\section{\bibname}% <-- this line was changed from \chapter* to \section
      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
      \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

I had the same problem.

For my citations I use biblatex so I put:

\usepackage[]{biblatex}
\addbibresource{biblio.bib}

at the preample, and where I want to print the bibliography I put this code:

\section{References}
\printbibliography[heading=none]

The heading=none parameter removes both the asterisk * and the heading. I add the heading with the \section{References} command.

I hope this helps someone.