Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

References for poster #3

Open
sfwolfphys opened this issue Jul 18, 2019 · 5 comments
Open

References for poster #3

sfwolfphys opened this issue Jul 18, 2019 · 5 comments

Comments

@sfwolfphys
Copy link

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
Copy link

A6GibKm commented Jul 19, 2019

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

@sfwolfphys
Copy link
Author

sfwolfphys commented Jul 19, 2019 via email

@A6GibKm
Copy link

A6GibKm commented Jul 19, 2019

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
Copy link

A6GibKm commented Jul 19, 2019

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
Copy link

nielsdoorn commented Mar 29, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants