Debian Codegraph @

texmf-dist/doc/latex/pressrelease/samples/sample-pressrelease3.tex

raw
1 % arara: pdflatex
2 % arara: pdflatex
3 \documentclass[a4paper,11pt]{pressrelease}
4
5 \usepackage[british]{babel}
6 \usepackage{graphicx}
7
8 \usepackage{lipsum}% dummy text
9
10 \PRlogo{\includegraphics[height=2cm]{example-image}}
11
12 \PRcompany{Some Company}
13 \PRdepartment{Some Department}
14 \PRcontact{Ann Other}
15 \PRlocation{Some City}
16 \PRaddress{1 The Street\\The Town\\AB1 2YZ}
17 \PRphone{01234 56789}
18 \PRmobile{07123456789}
19 \PRfax{01234 56788}
20 \PRurl{http://www.some-company.com/}
21 \PRemail{[email protected]}
22 \PRhours{9:00--17:30 Mon--Fri}
23
24 \PRheadline{Some amazing news}
25 \PRsubheadline{subheading}
26
27 \renewcommand*{\PRheaderfont}[1]{\textsc{#1}}
28 \renewcommand*{\PRnOfm}[2]{\ifnum#1<#2\relax--More--\fi}
29
30 \begin{document}
31
32 \begin{pressrelease}
33
34 This is a bad example of a press release as it's not generally a
35 good idea to have more than one page of text, but perhaps you have
36 some amazing world-changing news. This sample file uses the
37 \textsf{lipsum}
38 package to insert some dummy text to pad out the document.
39 The image is from the \textsf{mwe} package.
40
41 \lipsum[1-4]
42
43 \begin{about}
44 \lipsum[5]
45 \end{about}
46
47 \end{pressrelease}
48
49 \end{document}