Guest User

Untitled

a guest
Nov 21st, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.69 KB | None | 0 0
  1. \documentclass{beamer}
  2.  
  3. \usepackage{filecontents}
  4. \begin{filecontents}{\jobname.bib}
  5. @techreport{3GPP:36.104,
  6.    author={3GPP},
  7.    institution={3rd Generation Partnership Project (3GPP)},
  8.    title={Evolved Universal Terrestrial Radio Access {(E-UTRA)}; Base Station {(BS)} radio transmission and reception},
  9.    type={TS},
  10.    number={36.104},
  11.    year=2012,
  12.    month=sep,
  13.    url={http://www.3gpp.org/ftp/Specs/html-info/36104.htm},
  14.    urldate={2014-04},
  15. }
  16.  
  17. @techreport{4GPP:36.104,
  18.    author={4GPP},
  19.    institution={4rd Generation Partnership Project (3GPP)},
  20.    title={Evolved Universal Terrestrial Radio Access {(E-UTRA)}; Base Station {(BS)} radio transmission and reception},
  21.    type={TS},
  22.    number={36.104},
  23.    year=2012,
  24.    month=sep,
  25.    url={http://www.3gpp.org/ftp/Specs/html-info/36104.htm},
  26.    urldate={2014-04},
  27. }
  28. \end{filecontents}
  29.  
  30. \usepackage[style=authoryear-ibid]{biblatex}
  31. \addbibresource{\jobname.bib}
  32.  
  33. \makeatletter
  34. \newcommand\myfootcite[1]{%
  35.     \footnote{\fullcite{#1}}
  36. }
  37.  
  38. \DeclareCiteCommand{\fullcite}
  39.  {}
  40.   {%
  41.       \ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
  42.           {already seen}
  43.           {\usedriver
  44.                {\DeclareNameAlias{sortname}{default}}
  45.                {\thefield{entrytype}}}
  46.      }
  47.  {}
  48.  {}
  49.  
  50. \makeatother
  51.  
  52. \begin{document}
  53.  
  54. \begin{frame}{Frame 1}
  55.    bla\footnote{Test 1}
  56.  
  57.    bla\myfootcite{3GPP:36.104}
  58.  
  59.    bla\myfootcite{3GPP:36.104}
  60.  
  61.    bla\footnote{Test 2}
  62.  
  63.    bla\myfootcite{3GPP:36.104}
  64. \end{frame}
  65.  
  66. \begin{frame}{Frame 2}
  67.    bla\footnote{Test 3}
  68.  
  69.    bla\myfootcite{3GPP:36.104}
  70.  
  71.    bla\footnote{Test 4}
  72.  
  73.    bla\myfootcite{3GPP:36.104}
  74.  
  75.    bla\myfootcite{4GPP:36.104}
  76. \end{frame}
  77.  
  78. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment