marketing

Marketing materials (presentations, posters, flyers)
Log | Files | Refs

bfh-graphicref.sty (1466B)


      1 %% Copyright (C) 2018 by Andreas HABEGGER <andreas.habegger@bfh.ch>
      2 %% ----------------------------------------------------------------------
      3 %% This work may be distributed and/or modified under the
      4 %% conditions of the LaTeX Project Public License, either version 1.3
      5 %% of this license or (at your option) any later version.
      6 %% The latest version of this license is in
      7 %%   http://www.latex-project.org/lppl.txt
      8 %% and version 1.3 or later is part of all distributions of LaTeX
      9 %% version 2005/12/01 or later.
     10 %%
     11 %% This work has the LPPL maintenance status `maintained'.
     12 %%
     13 %% The Current Maintainer of this work is Andreas Habegger.
     14 %%
     15 %%
     16 \NeedsTeXFormat{LaTeX2e}[1994/06/01]
     17 \ProvidesPackage{bfh-graphicref}[%
     18     2018/08/07
     19     v1.0
     20     reference source and copyright authority
     21     ]
     22 \RequirePackage[absolute,overlay]{textpos}
     23 
     24 
     25 \newcommand\includegraphicscopyright[3][]{%
     26   \leavevmode\vbox{\vskip3pt\raggedright\setbox\mytempbox=\hbox{\includegraphics[#1]{#2}}%
     27     \mytempdimen=\wd\mytempbox\box\mytempbox\par\vskip1pt%
     28     \fontsize{3}{3.5}\selectfont{\color{black!25}{\vbox{\hsize=\mytempdimen#3}}}\vskip3pt%
     29 }}
     30 
     31 
     32 \setbeamercolor{framesource}{fg=gray}
     33 \setbeamerfont{framesource}{size=\tiny}
     34 
     35 \newcommand{\source}[2][]{\begin{textblock*}{4cm}(.05\textwidth, .95\textheight)
     36     \begin{beamercolorbox}[left]{framesource}
     37         \usebeamerfont{framesource}\usebeamercolor[fg]{framesource} Credit: #1~{\cite{#2}}
     38     \end{beamercolorbox}
     39 \end{textblock*}}