summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jumplines/jumplines_example.tex
blob: feb9af63df81c19dfe40f99f7b67fe04a16077a9 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
%% jumplines_example.tex -- Example usage file
%%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2015 by Dr. Christian Hupfer <christian dot hupfer at yahoo dot de>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% This work consists of all files listed in README
%%


\documentclass[12pt,a4paper,twocolumn,languages=english]{article}


\usepackage{graphicx}%
\usepackage{blindtext}%
\usepackage[languages=spanish,ngerman]{jumplines}

\usepackage{hyperref}
\usepackage{bookmark}
\usepackage[babel,style=english]{csquotes}

\newcommand{\myquotes}[1]{\enquote{#1}}%

\begin{document}


\listofarticle
\listofcontarticle


\clearpage


\JumplineArticle[TeaserHeight=2.25in,ArticleHeadline={Breaking News}]{%
  \Large\textbf{Nothing special on the dark side of the moon}\par
  \begin{center}\includegraphics[scale=0.3]{example-image-a}\end{center}\par
  \blindtext[2]
}
%
\JumplineArticle[RightHere=true,TeaserHeight=2in,ArticleAuthor={Gandalf},ContinuedOnTopskip=0.5cm,ContinuedOnBottomskip=10cm,TeaserHeaderContent={A short article}]{\color{red}{\blindtext[10]}}%
\JumplineArticle[TeaserHeight=2in,ContinuedArticleHeaderContent={More information},TeaserHeaderColor={yellow}]{\textcolor{blue}{\blindtext[1]\textcolor{Green}{Showing}\blindtext[2]}}%
\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
  {\color{violet}{\( E = mc^2\)}}}%
\selectlanguage{spanish}
\JumplineArticle[TeaserHeight=2in][My Headline]{\color{brown}{\blindtext[10]}}%
\JumplineArticle[TeaserHeight=8in,emptyarticleinbookmarks=true]{\textcolor{blue}{\blindtext[10]}}%
\JumplineArticle[TeaserHeight=2in,ArticleHeadline={A golden rod text},BookmarkEntry={\textcolor{GoldenRod}{Golden rod}}]{\textcolor{Goldenrod}{\blindtext[10]}}%
\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''}




\clearpage


\ShipoutArticleTeasers%
\clearpage

\ShipoutArticleHangingArticles%

\end{document}