rafaelbailo / betterposter-latex-template

LaTeX Template for Mike Morrison's #betterposter
GNU General Public License v3.0
298 stars 46 forks source link

References for poster #3

Open sfwolfphys opened 5 years ago

sfwolfphys commented 5 years ago

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

A6GibKm commented 5 years ago

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

sfwolfphys commented 5 years ago

I didn't solve it. My solution was to decide that I have resources at the QR code and that includes references. Hopefully you have better luck.

I also messed around with float environments, and that didn't work at all. (But I only messed for less than 5 minutes). My rationale is that tables and figures could have (1) nicely formatted captions with set spacing and (2) references to be used in the poster.

On Jul 18, 2019 11:18 PM, Maximiliano notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rafaelbailo/betterposter-latex-template/issues/3?email_source=notifications&email_token=AHPI7P7SH4I5VLNRKUSJDM3QAEW7NA5CNFSM4IEVXHS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2KOOCY#issuecomment-513074955, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHPI7PZWSZH27FFNTYQZDTLQAEW7NANCNFSM4IEVXHSQ.

A6GibKm commented 5 years ago

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.

A6GibKm commented 5 years ago

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
nielsdoorn commented 2 years ago

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.