summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex
blob: 5775ab7106ec0c0b7591a4d10d9f124c6be8332f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
% arara: pdflatex
% arara: pdflatex
\documentclass[a4paper,11pt]{pressrelease}

\usepackage[british]{babel}
\usepackage{graphicx}

\usepackage{lipsum}% dummy text

\PRlogo{\includegraphics[height=2cm]{example-image}}

\PRcompany{Some Company}
\PRdepartment{Some Department}
\PRcontact{Ann Other}
\PRlocation{Some City}
\PRaddress{1 The Street\\The Town\\AB1 2YZ}
\PRphone{01234 56789}
\PRmobile{07123456789}
\PRfax{01234 56788}
\PRurl{http://www.some-company.com/}
\PRemail{ann.other@some-company.com}
\PRhours{9:00--17:30 Mon--Fri}

\PRheadline{Some amazing news}
\PRsubheadline{subheading}

\renewcommand*{\PRheaderfont}[1]{\textsc{#1}}
\renewcommand*{\PRnOfm}[2]{\ifnum#1<#2\relax--More--\fi}

\begin{document}

\begin{pressrelease}

This is a bad example of a press release as it's not generally a
good idea to have more than one page of text, but perhaps you have
some amazing world-changing news. This sample file uses the
\textsf{lipsum}
package to insert some dummy text to pad out the document.
The image is from the \textsf{mwe} package.

\lipsum[1-4]

\begin{about}
\lipsum[5]
\end{about}

\end{pressrelease}

\end{document}