Advertisement
Guest User

Untitled

a guest
Jul 15th, 2017
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. John Doe
  2. john@example.com Jane Doe
  3. jane.doe@example.com
  4.  
  5. John Doe Jane Doe
  6. john@example.com jane@example.com
  7.  
  8. documentclass{beamer}
  9. useoutertheme{infolines}
  10. title{Title}
  11. author[J.,Doe & J.,Doe]
  12. {%
  13. texorpdfstring{
  14. begin{columns}%[onlytextwidth]
  15. column{.45linewidth}
  16. centering
  17. John Doe\
  18. href{mailto:john@example.com}{john@example.com}
  19. column{.45linewidth}
  20. centering
  21. Jane Doe\
  22. href{mailto:jane.doe@example.com}{jane.doe@example.com}
  23. end{columns}
  24. }
  25. {John Doe & Jane Doe}
  26. }
  27. begin{document}
  28. begin{frame}
  29. titlepage
  30. end{frame}
  31. end{document}
  32.  
  33. newcommand{newauthor}[2]{
  34. parbox{0.26textwidth}{
  35. texorpdfstring
  36. {
  37. centering
  38. #1 \
  39. {scriptsize{urlstyle{same}url{#2}urlstyle{tt}}}
  40. }
  41. {#1}
  42. }
  43. }
  44.  
  45. ...
  46.  
  47. author{
  48. newauthor{John Doe}{john@example.com}
  49. and
  50. newauthor{Jane Doe}{jane@example.com}
  51. }
  52.  
  53. documentclass{beamer}
  54. usepackage{lmodern}
  55.  
  56. %-------------------------------------------------
  57. % title page with two authors
  58. makeatletter
  59. setbeamertemplate{title page}{
  60. centering
  61. begin{beamercolorbox}[rounded=true,shadow=true,sep=8pt,center]{title}
  62. usebeamerfont{title}inserttitlepar%
  63. ifxinsertsubtitle@empty%
  64. else%
  65. vskip0.25em%
  66. {usebeamerfont{subtitle}usebeamercolor[fg]{subtitle}insertsubtitlepar}%
  67. fi%
  68. end{beamercolorbox}
  69. vfill
  70. begin{beamercolorbox}{author}
  71. begin{columns}[T]
  72. column{.28textwidth}%
  73. centering
  74. usebeamerfont{author}John Doe\
  75. john@example.com
  76. column{.25textwidth}%
  77. centering
  78. usebeamerfont{author}Jane Doe\
  79. jane@example.com
  80. end{columns}
  81. end{beamercolorbox}
  82. vfill
  83. usebeamerfont{institute}insertinstitute par
  84. vfill
  85. centering
  86. usebeamerfont{date}insertdatepar
  87. vfill
  88. begin{beamercolorbox}[center]{titlegraphic}
  89. inserttitlegraphic
  90. end{beamercolorbox}
  91. }
  92. makeatother
  93.  
  94. title{My title}
  95. subtitle{my subtitle}
  96. institute{My institute}
  97.  
  98. begin{document}
  99. begin{frame}
  100. titlepage
  101. end{frame}
  102.  
  103. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement