From 111684e467e80f07f342c651e7649ba1fe5aeee1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 12 Sep 2016 21:56:34 +0000 Subject: xebaposter (12sep16) git-svn-id: svn://tug.org/texlive/trunk@42046 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/xebaposter/xebaposter.cls | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls b/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls index 0c97572a23e..2ffed6a0720 100644 --- a/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls +++ b/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls @@ -1,7 +1,7 @@ %% %% This is file `xebaposter.cls' %% -%%% Copyright © 2015 by Seiied-Mohammad-Javad Razavian +%% Copyright © 2015-2016 by Seiied-Mohammad-Javad Razavian %% 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. @@ -25,6 +25,11 @@ %% Copyright (C) 2011 Reinhold Kainhofer %% Copyright (C) 2015-2016 Seiied-Mohammad-Javad Razavian %% +%% 12. September 2016: ver 2.51 +%% - typo in package inf. +%% 1. September 2016: ver 2.5 +%% - In persian mode with gird enabled option, grid numbers set on left side of the sheet. +%% -There is no need to set \setLTR before \shade or \fill command, it fixed in new version of bidi. %% 11. February 2015: ver 2.42 %% - Correcting some other typos in the package's documentaion. %% 10. February 2015: ver 2.41 @@ -131,7 +136,7 @@ %% %% %% Licence: GPL -\ProvidesClass{xebaposter}[2016/02/11 v2.42 xebaposter class] +\ProvidesClass{xebaposter}[2016/09/12 v2.51 xebaposter class] \NeedsTeXFormat{LaTeX2e}[1995/06/01] \LoadClass{article} \typeout{baposter: Brian Amberg, 2007, 2008, 2009, 2010, 2011 | http://www.brian-amberg.de/uni/poster/} @@ -567,28 +572,28 @@ \newcommand{\xebaposter@background@shaderl}[2]{% \debug{xebaposter: Using shade right left background.}% \begin{tikzpicture}[remember picture,overlay]% - \setLTR\shade [shading=axis,left color=#2,right color=#1] (current page.north east)% + \shade [shading=axis,left color=#2,right color=#1] (current page.north east)% rectangle(current page.south west);% \end{tikzpicture}% }% \newcommand{\xebaposter@background@shadelr}[2]{% \debug{xebaposter: Using shade left right background.}% \begin{tikzpicture}[remember picture,overlay]% - \setLTR\shade [shading=axis,left color=#1,right color=#2] (current page.north west)% + \shade [shading=axis,left color=#1,right color=#2] (current page.north west)% rectangle(current page.south east);% \end{tikzpicture}% }% \newcommand{\xebaposter@background@shadetb}[2]{% \debug{xebaposter: Using shade top to bottom background.}% \begin{tikzpicture}[remember picture,overlay]% - \setLTR\shade [shading=axis,top color=#1,bottom color=#2] (current page.north west)% + \shade [shading=axis,top color=#1,bottom color=#2] (current page.north west)% rectangle(current page.south east);% \end{tikzpicture}% }% \newcommand{\xebaposter@background@plain}[2]{% \debug{xebaposter: Using plain background.}% \begin{tikzpicture}[remember picture,overlay]% - \setLTR\fill [#1] {(current page.north west) rectangle (current page.south east)};% + \fill [#1] {(current page.north west) rectangle (current page.south east)};% \end{tikzpicture}% }% \newcommand{\xebaposter@background@user}[2]{% @@ -1207,8 +1212,13 @@ %% Explicitly list all percentages, because with {0.0, 0.1, ..., 1.0} we %% get rounding errors in the displayed numbers! \foreach \y in {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0}% - \draw[draw=green,draw opacity=0.7] (0pt,\colheight-\y\colheight) --% - (\textwidth,\colheight-\y\colheight) node[anchor=west] {\y};% + {\if@xebaposter@persian + \draw[draw=green,draw opacity=0.7] (\textwidth,\colheight-\y\colheight) --% + (0pt,\colheight-\y\colheight) node[anchor=east] {\y};% + \else + \draw[draw=green,draw opacity=0.7] (0pt,\colheight-\y\colheight) --% + (\textwidth,\colheight-\y\colheight) node[anchor=west] {\y};% + \fi|}% \fi% \end{tikzpicture}% % \xkvview{} -- cgit v1.2.3