1

To make reference in beamer bibliography, I used the following commands

\setbeamertemplate{bibliography item}[text]
\bibliographystyle{amsalpha}

Then I created a frame that allows frame break using

\begin{frame}[allowframebreaks]

And started bibliography with usual \begin{bibliography} command.

The references are coming is text-style (e.g. [ABC14] etc) but the margin of the description of [ABC14] is not restricted to right side of [ABC14] as mentioned in following Beamer Pic. Beamer Pic

I want it to be like usual latex, as shown in following Latex Pic.enter image description here

Can anyone please help me out? If [amsalpha] style referencing is possible without this kind of margin issue, it will be helpful.

Code:

\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\usetheme{Antibes}

\usepackage[utf8x]{inputenc}
\newcommand\Fontvi{\fontsize{11.2}{7.2}\selectfont}

\begin{document}
\section{Introduction}
\cite{HVE-A} did this. \cite{HVE-B} did something else.
\pagebreak

\section{References}
    \setbeamertemplate{bibliography item}[text]
    \bibliographystyle{amsalpha}

    \begin{frame}[allowframebreaks]
        \begin{thebibliography}{}
            \frametitle{References}
            \Fontvi
            \bibitem[BW07]{HVE-A} Dan Boneh and Brent Waters, ``Conjunctive, subset, and range queries on encrypted data''.
            \bibitem[IP08]{HVE-B} Vincenzo Iovino and Giuseppe Persiano, ``Hidden-vector encryption with groups of prime order''.
        \end{thebibliography}
    \end{frame}
\end{document}
  • Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jun 21 '14 at 9:36
  • @ChristianHupfer: How to upload the text file? Can I paste the code here? – mxant Jun 21 '14 at 9:47
  • yes, just add the code and use the markup button {} above – user31729 Jun 21 '14 at 9:58
1

This is an attempt, define \bibindent to 2em (adjustable) as such

  \def\bibindent{2em}
  \begin{thebibliography}{99 \bibindent}

enter image description here

Code

\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\usetheme{Antibes}

\usepackage[utf8x]{inputenc}
\newcommand\Fontvi{\fontsize{11.2}{7.2}\selectfont}

\begin{document}
\section{Introduction}
\cite{HVE-A} did this. \cite{HVE-B} did something else.
\pagebreak

\section{References}
    \setbeamertemplate{bibliography item}[text]
    \bibliographystyle{amsalpha}

    \begin{frame}[allowframebreaks]
        \def\bibindent{2em}
        \begin{thebibliography}{99 \bibindent}
            \frametitle{References}
            \Fontvi
            \bibitem[BW07]{HVE-A} Dan Boneh and Brent Waters, ``Conjunctive, subset, and range queries on encrypted data''.
            \bibitem[IP08]{HVE-B}Vincenzo Iovino and Giuseppe Persiano, ``Hidden-vector encryption with groups of prime order''.
    \end{thebibliography}
    \end{frame}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.