Debian Codegraph @

texmf-dist/doc/latex/jumplines/jumplines_example.tex

raw
1 %% jumplines_example.tex -- Example usage file
2 %%%
3 %% -------------------------------------------------------------------------------------------
4 %% Copyright (c) 2015 by Dr. Christian Hupfer <christian dot hupfer at yahoo dot de>
5 %% -------------------------------------------------------------------------------------------
6 %%
7 %% This work may be distributed and/or modified under the
8 %% conditions of the LaTeX Project Public License, either version 1.3
9 %% of this license or (at your option) any later version.
10 %% The latest version of this license is in
11 %% http://www.latex-project.org/lppl.txt
12 %% and version 1.3 or later is part of all distributions of LaTeX
13 %% version 2005/12/01 or later.
14 %%
15 %% This work has the LPPL maintenance status `maintained'.
16 %%
17 %% This work consists of all files listed in README
18 %%
19
20
21 \documentclass[12pt,a4paper,twocolumn,languages=english]{article}
22
23
24 \usepackage{graphicx}%
25 \usepackage{blindtext}%
26 \usepackage[languages=spanish,ngerman]{jumplines}
27
28 \usepackage{hyperref}
29 \usepackage{bookmark}
30 \usepackage[babel,style=english]{csquotes}
31
32 \newcommand{\myquotes}[1]{\enquote{#1}}%
33
34 \begin{document}
35
36
37 \listofarticle
38 \listofcontarticle
39
40
41 \clearpage
42
43
44 \JumplineArticle[TeaserHeight=2.25in,ArticleHeadline={Breaking News}]{%
45 \Large\textbf{Nothing special on the dark side of the moon}\par
46 \begin{center}\includegraphics[scale=0.3]{example-image-a}\end{center}\par
47 \blindtext[2]
48 }
49 %
50 \JumplineArticle[RightHere=true,TeaserHeight=2in,ArticleAuthor={Gandalf},ContinuedOnTopskip=0.5cm,ContinuedOnBottomskip=10cm,TeaserHeaderContent={A short article}]{\color{red}{\blindtext[10]}}%
51 \JumplineArticle[TeaserHeight=2in,ContinuedArticleHeaderContent={More information},TeaserHeaderColor={yellow}]{\textcolor{blue}{\blindtext[1]\textcolor{Green}{Showing}\blindtext[2]}}%
52 \JumplineArticle[TeaserHeight=3in,ArticleHeadline={\Huge Breaking News}][Breaking News]{\Huge \sffamily The World is a Globe\par\begin{center}\includegraphics[scale=0.3]{example-image-b}\end{center}\par
53 {\color{violet}{\( E = mc^2\)}}}%
54 \selectlanguage{spanish}
55 \JumplineArticle[TeaserHeight=2in][My Headline]{\color{brown}{\blindtext[10]}}%
56 \JumplineArticle[TeaserHeight=8in,emptyarticleinbookmarks=true]{\textcolor{blue}{\blindtext[10]}}%
57 \JumplineArticle[TeaserHeight=2in,ArticleHeadline={A golden rod text},BookmarkEntry={\textcolor{GoldenRod}{Golden rod}}]{\textcolor{Goldenrod}{\blindtext[10]}}%
58 \JumplineArticle[TeaserHeight=2in,emptyarticleintoc=true,emptyarticleinbookmarks=true,autobookmark=false,ArticleAuthor={\textcolor{violet}{Some guy from the LaTeX3 - team}}]{\Huge \begin{center}\includegraphics[scale=0.2]{example-image-c}\end{center} \centering ``I can't wait for \LaTeX3 -- it's so exciting''}
59
60
61
62
63 \clearpage
64
65
66 \ShipoutArticleTeasers%
67 \clearpage
68
69 \ShipoutArticleHangingArticles%
70
71 \end{document}