summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex')
-rw-r--r--macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex49
1 files changed, 49 insertions, 0 deletions
diff --git a/macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex b/macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex
new file mode 100644
index 0000000000..5775ab7106
--- /dev/null
+++ b/macros/latex/contrib/pressrelease/samples/sample-pressrelease3.tex
@@ -0,0 +1,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}