texlive[46193] Master: modernposter (2jan18)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 3 00:19:40 CET 2018


Revision: 46193
          http://tug.org/svn/texlive?view=revision&revision=46193
Author:   karl
Date:     2018-01-03 00:19:40 +0100 (Wed, 03 Jan 2018)
Log Message:
-----------
modernposter (2jan18)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/modernposter/
    trunk/Master/texmf-dist/doc/latex/modernposter/README.md
    trunk/Master/texmf-dist/doc/latex/modernposter/demo.pdf
    trunk/Master/texmf-dist/doc/latex/modernposter/demo.tex
    trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.pdf
    trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.tex
    trunk/Master/texmf-dist/tex/latex/modernposter/
    trunk/Master/texmf-dist/tex/latex/modernposter/modernposter.cls
    trunk/Master/tlpkg/tlpsrc/modernposter.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/modernposter/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/modernposter/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/modernposter/README.md	2018-01-02 23:19:40 UTC (rev 46193)
@@ -0,0 +1,44 @@
+## modernposter - A modern LaTeX poster theme (2018/01/02 v1.01.2)
+
+This class extends the a0poster class in that it adds support to easily create posters without the need for taking care of the layout at all. It allows to use \maketitle to generate a fancy header containing the title information and also provides macros to position various different types of text boxes in a two-column layout. The color scheme and some parts of the Makefile are inspired by the [metropolis beamer theme](https://github.com/matze/mtheme). 
+
+Below you can find a preview of the demo:
+
+![Preview](https://i.imgur.com/XUr9a5U.jpg)
+
+## Usage
+
+Below you can find a toy example, demonstrating how to use modernposter
+
+```latex
+\documentclass{modernposter}
+
+\title{This is a Modernposter Demo}
+\author{Firstname Lastname}
+\email{firstname.lastname at domain.com} 
+
+\begin{document}
+  \maketitle  
+
+  \begin{postercolumn}
+    \posterbox{Introduction}{ 
+      $\dots$
+    }
+  \end{postercolumn} 
+  \begin{postercolumn}
+    \doubleposterbox[0.6]
+      {Problem Statement}{
+        $\dots$
+      }
+      {\highlight{Results}}{ 
+        $\dots$
+      }
+  \end{postercolumn}
+\end{document}
+```
+
+## Authors
+The code was written by David Derler. He can be contacted via [modernposter at derler.info](mailto:modernposter at derler.info).
+
+## License
+The code is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International license](https://creativecommons.org/licenses/by-sa/4.0/).


Property changes on: trunk/Master/texmf-dist/doc/latex/modernposter/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/modernposter/demo.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/modernposter/demo.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/modernposter/demo.pdf	2018-01-02 23:18:54 UTC (rev 46192)
+++ trunk/Master/texmf-dist/doc/latex/modernposter/demo.pdf	2018-01-02 23:19:40 UTC (rev 46193)

Property changes on: trunk/Master/texmf-dist/doc/latex/modernposter/demo.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/modernposter/demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/modernposter/demo.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/modernposter/demo.tex	2018-01-02 23:19:40 UTC (rev 46193)
@@ -0,0 +1,84 @@
+% demo.tex
+%
+% This file is part of the modernposter LaTeX template
+%
+% Version 1.01.2 2018/01/02
+%
+% Copyright 2018 David Derler
+%
+% This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 
+% International license (cf. https://creativecommons.org/licenses/by-sa/4.0/)  
+\documentclass{modernposter}
+%
+% You may use the hlcolor option to pass a custom highlight color
+% in HTML format.
+% 
+% \documentclass[logo=logo.png,hlcolor=F70146]{modernposter}
+
+\title{This is a Modernposter Demo}
+\author{Firstname Lastname}
+\email{firstname.lastname at domain.com} 
+
+\begin{document}
+\maketitle  
+
+\begin{postercolumn}
+  \posterbox{Introduction}{ 
+    {\bf Lorem ipsum dolor} sit amet, {\bf consectetur adipiscing elit}. Nullam eu dolor et purus malesuada dictum. Sed maximus vulputate pharetra. Phasellus sed dolor laoreet, vestibulum elit ut, posuere tortor. {\bf In vel faucibus leo.} Maecenas massa orci, interdum in tempor at, ultricies et magna. Fusce placerat lectus vitae leo viverra ullamcorper auctor at libero. Nam in iaculis massa, et pellentesque dui. Duis eget sapien ut mi lacinia vulputate sed ut ante. Nulla nisi sapien, feugiat in imperdiet quis, mollis in tellus. Vestibulum tincidunt eget diam sit amet vestibulum. Proin velit est, maximus vitae sem vitae, maximus condimentum felis. Morbi et hendrerit leo. Nam efficitur diam est. Nunc maximus mauris eu massa accumsan, id convallis diam dapibus. Nam malesuada hendrerit enim non eleifend. Sed finibus \highlight{\bf eros mauris}, nec sagittis libero condimentum non. Morbi justo enim, varius at sagittis fermentum, luctus in leo. Vivamus quis urna efficitur, venenatis tellus non, placerat tortor. Proin non tortor neque. Pellentesque dictum lorem sit amet orci feugiat, 
+  }
+  \posterbox{Motivation}{
+    {\bf vel sollicitudin turpis aliquet}
+    \begin{itemize}
+      \item Aenean leo lacus, 
+      \item luctus eget arcu et, 
+      \begin{itemize} 
+        \item auctor viverra diam. 
+        \item Quisque molestie mauris 
+        \item vel nisl tincidunt accumsan. 
+      \end{itemize} 
+      \item Etiam sollicitudin nunc velit, 
+    \end{itemize}
+    Curabitur sagittis consequat diam. Quisque eleifend nibh ac velit tempor sodales. Sed ac aliquet mauris. Cras viverra dui erat, eget viverra lacus rhoncus quis. Aliquam mollis faucibus risus, nec imperdiet elit tristique ut. Proin pharetra leo at gravida fringilla. Suspendisse potenti.    
+  } 
+  \posterbox{Contribution}{
+    Sed a consequat erat. Maecenas vel consequat dolor, sed pretium lorem. Maecenas quam sapien, facilisis vel elit non, eleifend consectetur nulla. Duis sit amet neque hendrerit, pellentesque leo eu, commodo dui. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec consequat tristique nulla, ut ultricies dolor aliquet ac. Maecenas in maximus lorem.
+
+    Vivamus vitae lacus vehicula, commodo lorem non, tincidunt risus. Suspendisse quis tortor at est aliquet porta. Nulla et nisi nibh. Praesent ac pulvinar massa, vitae tincidunt lorem. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut convallis fermentum ligula, at porttitor lorem semper at. Sed at ligula ex. Pellentesque vestibulum tortor a sem euismod, vel vulputate velit facilisis.
+
+  }
+
+\end{postercolumn} 
+
+\begin{postercolumn}
+  \posterbox{Construction}{
+    Donec eget blandit orci. Etiam ut ante et sem pulvinar mattis nec nec risus. Nullam lacinia auctor urna, finibus tempor quam facilisis eget. Proin vestibulum ligula ac nisl tempor luctus. Donec ut lectus vulputate, aliquet tellus id, convallis purus. Donec luctus ante vitae tellus blandit, vel commodo enim venenatis. 
+
+    Sed egestas arcu ex, nec dictum augue lacinia ac. In pharetra tincidunt elementum. Curabitur malesuada mi risus, a mollis mauris condimentum ut. Pellentesque vel felis laoreet, convallis nunc quis, condimentum purus. Morbi auctor lacinia turpis, ac faucibus dui lacinia lacinia. Aliquam faucibus mauris sed erat semper rhoncus.
+
+    {\bf Phasellus bibendum dolor ligula, ut ultricies lectus sagittis eu. Fusce sit amet lorem aliquam, tincidunt justo eu, fringilla libero.}
+  }
+  \doubleposterbox[0.6]
+    {Implementation}{
+      Donec in leo eleifend, fermentum sapien et, tempor ipsum. Mauris fringilla ipsum ut nibh fringilla iaculis. Morbi ut purus facilisis, consequat turpis vitae, auctor magna. Donec tempor enim venenatis nisl sagittis, eget congue erat volutpat. 
+      \begin{itemize}
+        \item Aliquam erat volutpat. Pellentesque non tincidunt justo. 
+        \item Sed volutpat odio et elit dictum eleifend.
+      \end{itemize} 
+    }
+    {\highlight{Results}}{ 
+      Interdum et malesuada fames ac ante ipsum primis in faucibus. Suspendisse potenti. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. 
+    }
+  \posterbox{Conclusions}{ 
+      Aliquam venenatis magna lectus, vitae viverra lacus placerat sit amet. Curabitur libero metus, semper et sem eget, fermentum porta nibh. Cras quis velit sit amet diam aliquam vestibulum. Quisque a tincidunt elit, mattis commodo magna. Mauris nunc mauris, finibus at aliquet id, elementum sit amet lacus. In hac habitasse platea dictumst. Nam ac arcu vel nulla tempor tristique nec quis neque.
+
+      {\bf References}
+      \begin{description}
+        \item[XY18.] Praesent risus orci, imperdiet a nunc a, semper bibendum augue. 
+        \item[YZ17.] Sed sit amet arcu et sapien ullamcorper pretium vitae eget turpis.
+        \item[VW16.] Praesent tristique diam a malesuada rutrum. 
+        \item[AB15.] Ut placerat consequat turpis in tincidunt.
+      \end{description}
+    }
+\end{postercolumn}
+ 
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/modernposter/demo.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.pdf	2018-01-02 23:18:54 UTC (rev 46192)
+++ trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.pdf	2018-01-02 23:19:40 UTC (rev 46193)

Property changes on: trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.tex	2018-01-02 23:19:40 UTC (rev 46193)
@@ -0,0 +1,89 @@
+% modernposter.tex
+%
+% This file is part of the modernposter LaTeX template
+%
+% Version 1.01.2 2018/01/02
+%
+% Copyright 2018 David Derler
+%
+% This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 
+% International license (cf. https://creativecommons.org/licenses/by-sa/4.0/)  
+\documentclass{article}
+
+\usepackage{xcolor}
+\usepackage[hidelinks=true]{hyperref}
+\usepackage{listings}
+\lstset{
+  basicstyle=\footnotesize\ttfamily,
+  breaklines=true,
+  language=TeX,
+  numbers=left,
+  numbersep=5pt,
+  numberstyle=\tiny\color{lightgray},
+  stepnumber=2,
+  tabsize=2,
+  backgroundcolor=\color{black!4}
+}
+
+\title{modernposter - A modern \LaTeX~poster theme}
+\author{David Derler}
+\date{Version 1.01.2 2018/01/02}
+
+\begin{document}
+  \maketitle
+
+  \begin{abstract}
+\noindent This class extends the a0poster class in that it adds support to easily create posters without the need for taking care of the layout at all. It allows to use {\tt $\backslash$maketitle} to generate a fancy header containing the title information and also provides macros to position various different types of text boxes in a two-column layout. The color scheme  is inspired by the metropolis beamer theme.
+  \end{abstract}
+  \section{Installation}
+  The package can be installed by copying the {\tt modernposter.cls} file to the folder of your \LaTeX~distribution, which contains the manually installed packages.\footnote{For TeXLive distributions this should be {\tt $\sim$/texmf/tex/latex/modernposter/}.} Alternatively, you may choose to clone the github repository\footnote{\url{https://github.com/derlerd/modernposter}} containing the development version of this package and use the {\tt install} target of the Makefile contained in this repository. This target will automatically install the package at {\tt $\sim$/texmf/tex/latex/modern\-poster/} and the documentation at {\tt $\sim$/texmf/doc/latex/modernposter/}.
+  \section{Usage}
+  This package is intended to save time whenever a poster needs to be created. Thus we have tried to keep the package as easy to use as possible. Below, we describe the available options followed by a toy example which should illustrate the usage of the package. For more details also refer to the {\tt demo.tex} file in the package.
+  \subsection{Options}
+  The following options can be set. All option keys allow to optionally supply an explicit value.  
+  \begin{description}
+  	\item[{\tt logo=[logo]}] This option allows to provide a path to a logo which is then included on the top right of the page. For example, {\tt logo=img.png}.
+  	\item[{\tt hlcolor=[color]}] This option allows to override the highlight color. The color needs to be supplied in HTML format. For example, {\tt hlcolor=F70146}. 
+  \end{description}
+  \subsection{Toy Example}
+  The following listing demonstrates the basic usage of the package.
+  \begin{lstlisting}
+\documentclass{modernposter}
+
+\title{This is a Modernposter Demo}
+\author{Firstname Lastname}
+\email{firstname.lastname at domain.com} 
+
+\begin{document}
+  \maketitle  
+
+  \begin{postercolumn}
+    \posterbox{Introduction}{ 
+      $\dots$
+    }
+  \end{postercolumn} 
+  \begin{postercolumn}
+    \doubleposterbox[0.6]
+      {Problem Statement}{
+        $\dots$
+      }
+      {\highlight{Results}}{ 
+        $\dots$
+      }
+  \end{postercolumn}
+\end{document}
+
+  \end{lstlisting}
+
+  \section{Getting Involved}
+  We are pretty sure that there is quite some potential for improvements. Please send feedback to \href{mailto:modernposter at derler.info}{\tt modernposter at derler.info} or consider getting involved - the development repository is hosted on GitHub and can be found at \url{https://github.com/derlerd/modernposter}. 
+
+  \section{License}
+  The code is licensed under the \href{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International license}.
+
+  \section{Version History}
+  \begin{description}
+  	\item[1.0] Initial release.
+  	\item[1.01.2] Improved versioning; added explicit version numbers to every file.
+  \end{description}
+\end{document}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/modernposter/modernposter.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/modernposter/modernposter.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/modernposter/modernposter.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/modernposter/modernposter.cls	2018-01-02 23:19:40 UTC (rev 46193)
@@ -0,0 +1,234 @@
+% modernposter.cls
+%
+% This file is part of the modernposter LaTeX template
+%
+% Version 1.01.2 2018/01/02
+%
+% Copyright 2018 David Derler
+%
+% This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 
+% International license (cf. https://creativecommons.org/licenses/by-sa/4.0/)  
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{modernposter}[2018/01/02 v1.01.2 Modern poster template. Inspired by metropolis beamer template.]
+
+\LoadClass[portrait]{a0poster}
+
+%------------------------------------------------------------------------------
+% Color definitions
+%------------------------------------------------------------------------------
+\RequirePackage{xcolor}
+
+\definecolor{c1}{HTML}{CB4B16}
+\definecolor{c2}{HTML}{586E75}
+\definecolor{c3}{HTML}{6C71C4}
+\definecolor{c4}{HTML}{D33682}
+\definecolor{c5}{HTML}{268BD2}
+\definecolor{c6}{HTML}{B58900}
+\definecolor{c7}{HTML}{859900}
+\definecolor{c8}{HTML}{DC322F}
+\definecolor{c9}{HTML}{002B36}
+\definecolor{c10}{HTML}{FF8000}
+
+\definecolor{mDarkTeal}{HTML}{23373b}
+\definecolor{mDarkBrown}{HTML}{604c38}
+
+\newcommand{\orange}[1]{\textcolor{c10}{#1}}
+\newcommand{\gray}[1]{\textcolor{c2}{#1}}
+\newcommand{\purple}[1]{\textcolor{c3}{#1}}
+\newcommand{\pink}[1]{\textcolor{c4}{#1}}
+\newcommand{\blue}[1]{\textcolor{c5}{#1}}
+\newcommand{\yellow}[1]{\textcolor{c6}{#1}}
+\newcommand{\green}[1]{\textcolor{c7}{#1}}
+\newcommand{\red}[1]{\textcolor{c8}{#1}}
+\newcommand{\black}[1]{\textcolor{c9}{#1}
+
+}
+
+%------------------------------------------------------------------------------
+% Options
+%------------------------------------------------------------------------------
+\RequirePackage{pgfkeys}
+\RequirePackage{pgfopts}
+
+
+\pgfkeys{/modernposter/.cd,
+  hlcolor/.store in=\modernposter at hlcolor,
+  logo/.store in=\modernposter at logo,
+  hlcolor=FF8000,
+  logo=none}
+
+\ProcessPgfOptions{/modernposter}
+
+\definecolor{hlcol}{HTML}{\modernposter at hlcolor}
+
+\newcommand{\highlight}[1]{\textcolor{hlcol}{#1}}
+
+%------------------------------------------------------------------------------
+% Lengths and sizes
+%------------------------------------------------------------------------------
+\RequirePackage{relsize}
+
+\newlength{\colheight}
+\newlength{\colwidth}
+\newlength{\coltextwidth}
+\newlength{\colsep}
+\newlength{\boxheight}
+\newlength{\boxlinewidth}
+
+%------------------------------------------------------------------------------
+% Tikz stuff
+%------------------------------------------------------------------------------
+\RequirePackage{tikz}
+\usetikzlibrary{positioning, backgrounds, shapes.misc}
+
+%------------------------------------------------------------------------------
+% Style
+%------------------------------------------------------------------------------
+\RequirePackage{enumitem}
+\RequirePackage{fontawesome}
+\RequirePackage{sfmath}
+\setlength{\itemindent}{10in}
+\setlist[itemize]{leftmargin=1in}
+\setlist[enumerate]{leftmargin=1in}
+
+\let\oldparboxrestore\@arrayparboxrestore
+\renewcommand{\@arrayparboxrestore}{
+  \oldparboxrestore
+  \makeatletter
+  \parskip0.4em
+  \makeatother
+  }
+
+\let\faiconold\faicon
+\renewcommand{\faicon}[1]{{\rmfamily \faiconold{#1}}}
+
+\renewcommand{\labelitemi}{$\bullet$~~}
+\renewcommand{\labelitemii}{\faicon{angle-right}~~}
+
+\RequirePackage[light,sfdefault]{FiraSans}
+
+%------------------------------------------------------------------------------
+% Begin/End Document commands
+%------------------------------------------------------------------------------
+\RequirePackage{etoolbox}
+\AfterEndPreamble{
+  \setlength{\colheight}{111.6em}
+  \setlength{\colwidth}{\dimexpr0.4525\linewidth\relax}
+  \setlength{\coltextwidth}{\dimexpr\colwidth-2em\relax}
+  \setlength{\colsep}{\dimexpr0.01\linewidth\relax}
+  \setlength{\boxheight}{\dimexpr0.33\colheight\relax}
+  \setlength{\boxlinewidth}{1mm}
+  \begin{tikzpicture}[remember picture, 
+                      overlay, 
+                      every node/.style={inner sep=0,outer sep=0}]
+}
+
+\AtBeginDocument{
+  \makeatletter
+    \def\bfseries at sf{m}
+    \SetSymbolFont{operators}{normal}{\math at encoding}{\math at sfdefault}{l}{n}
+    \SetSymbolFont{operators}{bold}{\math at encoding}{\math at sfdefault}{m}{n}
+    \DeclareSymbolFont{SFMath}{\math at encoding}{\math at sfdefault}{l}{sl}
+    \SetSymbolFont{SFMath}{normal}{\math at encoding}{\math at sfdefault}{l}{sl}
+    \SetSymbolFont{SFMath}{bold}{\math at encoding}{\math at sfdefault}{m}{\mathnormal at bold@shape}
+  \makeatother   
+}
+
+\AtEndDocument{
+  \end{tikzpicture}
+}
+
+%------------------------------------------------------------------------------
+% Title commands
+%------------------------------------------------------------------------------
+\RequirePackage[hidelinks]{hyperref}
+\RequirePackage{xifthen,xstring}
+
+\def\@email{}
+\newcommand{\email}[1]{\def\@email{#1}}
+
+\renewcommand{\maketitle}{
+    \node[text height=\paperheight, 
+          text width=\paperwidth, 
+          fill=black!10, 
+          anchor=north west] at (current page.north west) 
+      {};
+    \node[text height=15em, 
+          text width=\paperwidth-15em, 
+          fill=mDarkTeal, 
+          anchor=north west] (header) at (current page.north west) 
+      {};
+    \node[text width=\paperwidth, 
+          text height=0.15em, 
+          fill=hlcol, 
+          yshift=-15em] (sep) at (current page.north) 
+      {};
+    \expandafter\ifstrequal\expandafter{\modernposter at logo}{none}{}{
+    \node[anchor=west, 
+          xshift=1em] (logo) at (header.east) 
+      {\includegraphics[width=13em]{\modernposter at logo}};
+    }
+    \node[anchor=east, 
+          yshift=3.4em, 
+          xshift=-2.5em] (title) at (header.east) 
+      {\veryHuge \color{white} \bf \@title};
+    \node[anchor=east, 
+          yshift=-0.8em, 
+          xshift=-2.5em] (authors) at (header.east) 
+      {\veryHuge\smaller\smaller \color{white} \bf \@author};
+    \node[anchor=east, 
+          yshift=-4.3em, 
+          xshift=-2.5em] (email) at (header.east) 
+      {\veryHuge\smaller\smaller \color{white} \bf\tt \href{mailto:\@email}{\@email}};
+}
+
+%------------------------------------------------------------------------------
+% Poster commands
+%------------------------------------------------------------------------------
+\RequirePackage{environ}
+
+\newcounter{numcols}
+\NewEnviron{postercolumn}{
+  \ifnum\value{numcols}=0
+    \node[text width=\colwidth, 
+          xshift=4em, 
+          below=3em of sep.west, 
+          anchor=north west] (col1) 
+      {~\\[\colsep]\BODY};
+  \else
+    \node[text width=\colwidth, 
+          xshift=\colsep, 
+          anchor=north west] at (col1.north east) 
+      {~\\[\colsep]\BODY};
+  \fi
+  \stepcounter{numcols}
+}
+
+\newcommand{\posterbox}[3][\boxheight]{
+  \begin{tikzpicture}
+    \node[text width=\colwidth, 
+          minimum height=#1, 
+          rounded corners, 
+          line width=\boxlinewidth, 
+          draw=mDarkTeal, 
+          fill=black!2] (content) 
+      {};
+    \node[anchor=north west, 
+          yshift=-6.2em, 
+          xshift=1em] at (content.north west) 
+      {\Large\parbox{\coltextwidth}{#3~}};
+    \node[text width=\colwidth, 
+          fill=mDarkTeal, 
+          text depth=1.4em, 
+          text height=4em, 
+          rounded corners, 
+          align=center, 
+          anchor=north west] (heading) at (content.north west) 
+      {\Huge{\color{white} ~~\bf #2}};
+  \end{tikzpicture}\\[\colsep]
+}
+
+\newcommand{\doubleposterbox}[5][0.6]{
+  \posterbox[#1\boxheight]{#2}{#3}
+  \posterbox[\boxheight-#1\boxheight-\colsep-1.33\boxlinewidth]{#4}{#5}
+}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/modernposter/modernposter.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-02 23:18:54 UTC (rev 46192)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-02 23:19:40 UTC (rev 46193)
@@ -425,7 +425,7 @@
     minted mintspirit minutes missaali
     mkgrkindex mkjobtexmf mkpattern mkpic
     mla-paper mlist mmap mnotes mnras mnsymbol
-    moderncv moderntimeline modiagram modref modroman modular
+    moderncv modernposter moderntimeline modiagram modref modroman modular
     mongolian-babel montserrat
     monofill montex moodle
     moreenum morefloats morehype moresize

Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2018-01-02 23:18:54 UTC (rev 46192)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2018-01-02 23:19:40 UTC (rev 46193)
@@ -689,6 +689,7 @@
 depend mmap
 depend mnotes
 depend moderncv
+depend modernposter
 depend moderntimeline
 depend modref
 depend modroman

Added: trunk/Master/tlpkg/tlpsrc/modernposter.tlpsrc
===================================================================


More information about the tex-live-commits mailing list