texlive[63513] Master: xebaposter (8jun22)

commits+karl at tug.org commits+karl at tug.org
Wed Jun 8 22:37:30 CEST 2022


Revision: 63513
          http://tug.org/svn/texlive?view=revision&revision=63513
Author:   karl
Date:     2022-06-08 22:37:30 +0200 (Wed, 08 Jun 2022)
Log Message:
-----------
xebaposter (8jun22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/xebaposter/README
    trunk/Master/texmf-dist/doc/latex/xebaposter/poster-fa.pdf
    trunk/Master/texmf-dist/doc/latex/xebaposter/poster-fa.tex
    trunk/Master/texmf-dist/doc/latex/xebaposter/xebaposter-doc.pdf
    trunk/Master/texmf-dist/doc/latex/xebaposter/xebaposter-doc.tex
    trunk/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls
    trunk/Master/tlpkg/libexec/ctan2tds

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig1.pdf
    trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig2.png
    trunk/Master/texmf-dist/doc/latex/xebaposter/poster.pdf
    trunk/Master/texmf-dist/doc/latex/xebaposter/poster.tex

Modified: trunk/Master/texmf-dist/doc/latex/xebaposter/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/README	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/README	2022-06-08 20:37:30 UTC (rev 63513)
@@ -1,6 +1,6 @@
 _____________________
 The xebaposter class
-v2.51
+v2.53
 
 The class is designed for making an academic poster. This work is a fork of 
 baposter by Brian Amberg and Reinhold Kainhofer available at 
@@ -9,12 +9,12 @@
 The class could be used with both latin and persian posters.
 For more information, please see the documentation.
 
-Current version release date: 2016/09/12
+Current version release date: 2022/06/08
 ___________________
 Seiied-Mohammad-Javad Razvian
 javadr at gmail.com
 
-Copyright © 2015-2016
+Copyright © 2015-2022
 It may be distributed and/or modified under the LaTeX Project Public License,
 version 1.3c or higher (your choice). The latest version of
 this license is at: http://www.latex-project.org/lppl.txt

Added: trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig1.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig1.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig1.pdf	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig1.pdf	2022-06-08 20:37:30 UTC (rev 63513)

Property changes on: trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig1.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig2.png
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig2.png
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig2.png	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig2.png	2022-06-08 20:37:30 UTC (rev 63513)

Property changes on: trunk/Master/texmf-dist/doc/latex/xebaposter/images/fig2.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/xebaposter/poster-fa.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/xebaposter/poster-fa.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/poster-fa.tex	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/poster-fa.tex	2022-06-08 20:37:30 UTC (rev 63513)
@@ -98,9 +98,7 @@
  {\normalsize\texttt{\lr{name1 at mail.org, name2 at mail.edu, name3 at mail.com}}}}
  % University logo
  {
-\begin{tabular}{r}
-    \includegraphics[height=0.07 \textheight]{shariflogo}\\
-\end{tabular}
+    \includegraphics[height=0.07 \textheight]{shariflogo}
  }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Added: trunk/Master/texmf-dist/doc/latex/xebaposter/poster.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/xebaposter/poster.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/poster.pdf	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/poster.pdf	2022-06-08 20:37:30 UTC (rev 63513)

Property changes on: trunk/Master/texmf-dist/doc/latex/xebaposter/poster.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/xebaposter/poster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/poster.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/poster.tex	2022-06-08 20:37:30 UTC (rev 63513)
@@ -0,0 +1,349 @@
+\documentclass[portrait]{xebaposter}
+
+%\usepackage[vlined]{algorithm2e}
+\usepackage{times}
+\usepackage{calc}
+\usepackage{url}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{relsize}
+\usepackage{multirow}
+\usepackage{booktabs}
+\usepackage{graphicx}
+\usepackage{multicol}
+%\usepackage[T1]{fontenc}
+\usepackage{ae}
+\usepackage{wrapfig}
+\graphicspath{{images/}}
+
+%\usepackage{geometry}
+%\geometry{papersize={90cm,170cm},verbose=ture,reset}
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %%%% Some math symbols used in the text
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % Format 
+% \newcommand{\RotUP}[1]{\begin{sideways}#1\end{sideways}}
+
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % Multicol Settings
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \setlength{\columnsep}{0.7em}
+% \setlength{\columnseprule}{0mm}
+
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % Save space in lists. Use this after the opening of the list
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \newcommand{\compresslist}{%
+ \setlength{\itemsep}{1pt}%
+ \setlength{\parskip}{0pt}%
+ \setlength{\parsep}{0pt}%
+ }
+
+%% Begin of Document
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Here starts the poster
+%%---------------------------------------------------------------------------
+%% Format it to your taste with the options
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+      \definecolor{silver}{cmyk}{0,0,0,0.3}
+      \definecolor{yellow}{cmyk}{0,0,0.9,0.0}
+      \definecolor{reddishyellow}{cmyk}{0,0.22,1.0,0.0}
+      \definecolor{black}{cmyk}{0,0,0.0,1.0}
+      \definecolor{darkYellow}{cmyk}{0,0,1.0,0.5}
+      \definecolor{darkSilver}{cmyk}{0,0,0,0.1}
+
+      \definecolor{lightyellow}{cmyk}{0,0,0.3,0.0}
+      \definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
+      \definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
+      \definecolor{lightestyellow}{cmyk}{0,0,0.05,0.0}
+
+      \begin{poster}%
+      % Poster Options
+      {
+      eyecatcher=false,
+      % Color style
+      bgColorOne=darkSilver,
+      bgColorTwo=lighteryellow,
+      borderColor=reddishyellow,
+      headerColorOne=yellow,
+      headerColorTwo=reddishyellow,
+      headerFontColor=black,
+      boxColorOne=lightyellow,
+      boxColorTwo=darkSilver,
+      % Format of textbox
+      textborder=faded,
+      % Format of text header
+      headerborder=open,
+      headerheight=0.1\textheight,
+      headershape=rectangle,
+      headershade=shadetb,
+%      headerfont=\Large, %Sans Serif
+      boxshade=shadeLR,
+%      background=plain,
+      linewidth=2pt,
+%      grid=true,
+      }
+ % Eye Catcher
+ {
+      \includegraphics[width=0.08\linewidth]{logo}
+%      \includegraphics[width=0.08\linewidth]{track_frame_00450_06}
+%      \includegraphics[width=0.08\linewidth]{track_frame_04999_06}
+ }
+ % Title
+ {Parallel Nonlinear Analysis of Weighted Brain's Gray and White Matter Images for Alzheimer's Dementia Diagnosis}
+ % Authors
+ {\large Seiied-Mohammad-Javad~Razavian, Meysam Torabi, and Kio Kim \\%[1em]
+ {\normalsize\texttt{javad at cs.sharif.edu, torabi at berkeley.edu, kio.kim at ucsf.edu}}}
+ % University logo
+ {
+\begin{tabular}{r}
+    \includegraphics[height=0.07 \textheight]{shariflogo}\\
+\end{tabular}
+ }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Now define the boxes that make up the poster
+%%%---------------------------------------------------------------------------
+%%% Each box has a name and can be placed absolutely or relatively.
+%%% The only inconvenience is that you can only specify a relative position 
+%%% towards an already declared box. So if you have a box attached to the 
+%%% bottom, one to the top and a third one which should be inbetween, you 
+%%% have to specify the top and bottom boxes before you specify the middle 
+%%% box.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  \headerbox{Abstract}{name=abstract,column=0,row=0,span=1}{
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%We are proposing a novel approach using T1-weighted and T2-weighted Magnetic Resonance Images (MRI's) of brain. Since T1-weighted images and T2-weighted images have inherent physical differences, we extracted some specific features from each. Then the variations of the relevant eigenvalues of the extracted features were tracked to pick up the most informative ones. The final features were assigned to two parallel systems to be nonlinearly categorized. The dataset includes 60 T1-weighted images and 60 T2-weighted images of normal and abnormal cases.
+%  }
+ 
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Introduction}{name=introduction,column=0,row=0}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%AD disease destroys the nervous system and defects the temporal lobe and parietal lobe of the brain. 
+
+%\begin{wrapfigure}[10]{r}{.72\textwidth}
+%\centering
+%{\includegraphics[scale=.9]{Maghz}}
+%\end{wrapfigure}
+We introduce a novel method for Alzheimer's dementia diagnosis.
+Our focus is on analysis of MRI because of its high resolution in brain tissues.% which includes normal and abnormal cases.
+We believe that the tissue analysis can be a reliable tool to diagnose various diseases. The novelty of this work is using both T1 and T2 images simultaneously after they are optimally weighted.
+   }
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Phase II: core processing}{name=phase2,column=1,span=1}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+We extracted features which can capture the properties of the brain tissue using Gray-Level Co-occurrence Matrix (GLCM) which helps scan the tissue in order to give a sense of how the relationship between different pixels of an image is.% \cite{BeDeTo}, 
+%\textbf{Neighborhood definition and calculating GLC matrix}%
+
+\begin{wrapfigure}{r}{.6\textwidth}
+\centering
+  \vspace{-10pt}
+{\includegraphics[scale=.5]{fig3}}
+  \vspace{-20pt}
+%\caption{\scriptsize Right figure shows the definition of neighborhood for the central point in T1 images while the left figure shows the definition of the neighborhood for T2. As it can be obviously seen in the figure, the neighborhood defined for T1 covers more detail.} 
+\label{fig3}
+\end{wrapfigure}
+
+Considering the fact that AD defects the white and gray regions of brain more than its black and marginal regions, and also since T1-weighted has more medical data of white and gray regions than T2-weighted images, we believe that T1 images have more data than T2 images, thus we define neighborhood of T1 and T2 differently.
+
+%\textbf{Extraction of statistical features from GLC matrices}
+The desired Statistical features are as follows:
+1) Energy,
+2) Contrast,
+3) Homogeneity, and
+4) Correlation
+
+%To calculate correlation, two following parameters initially are calculated:
+%in which elements of GLC matrix are shown with the symbol C(i, j) and the number of gray-levels with N.
+
+Correlation in the GLC matrix:
+\begin{align*}
+f_1 &= \frac{HXY-HXY1}{max\{HX,HY\}}\\
+f_2 &= \sqrt{1-\exp\{-2(HXY2-HXY)\}} 
+\end{align*}
+%in which, $HX$ and $HY$ are entropy of $C_x$ and $C_y$ respectively, and $HXY$, $HXY1$ and $HXY2$ are defined as follows, respectively:
+{\scriptsize 
+\centerline{\begin{minipage}{.95\textwidth}
+C(i, j) is an element of GLC matrix and N is number of gray-levels.
+\end{minipage}}
+\vspace{-.5mm}
+$$\begin{array}{l}
+ C_x(i) =\sum_{j=1}^N C(i,j), \quad C_y(i)=\sum_{i=1}^N C(i,j)\\
+  HXY = -\sum_{i=1}^N\sum_{j=1}^N C(i,j) \log\{C(i,j)\}\\
+  HXY1 = -\sum_{i=1}^N\sum_{j=1}^N C(i,j) \log\{C_x(i)\times C_y(j)\}\\
+  HXY2 = -\sum_{i=1}^N\sum_{j=1}^N C_x(i)\times C_y(j) \log\{C_x(i)\times C_y(j)\}\\
+\end{array}$$
+}
+
+4*16 features from T1 and 4*8 features from T2 are extracted.
+}
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%   \headerbox{Phase III: Feature Analysis}{name=phase3,column=2,span=1,row=0}{
+   \headerbox{Feature Extraction}{name=phase3,column=2,span=1,row=0}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+We reduce two vectors, one for T1 images and another one for T2 images that using PCA. % for extracting the main components.
+%Our simulation results are demonstrated in Figure~\ref{fig4}, showing the last 20 eigenvalues of both T1 images and T2 images. Other eigenvalues are not displayed, since, as the figure implies, they are almost zero. Thus, 
+We chose 19 first eigenvalues with the largest values for T1 image, and also 17 eigenvalues with the largest values  for T2 images.
+
+%\centering
+\centerline{\includegraphics[scale=1.1,height=7cm]{fig4}}
+%\caption{Trends of changes in eigenvalues of two input vectors.} 
+%\label{fig4}
+%\end{figure}
+ }
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%   \headerbox{Phase IV:  Discrimination }{name=phase4,column=2,span=1,below=phase3}{
+   \headerbox{Discrimination }{name=phase4,column=2,span=1,below=phase3}{   
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Two feed-forward neural networks are tuned and used with 19 and 17 inputs for analysis of T1 and T2 images respectively. Both networks have a hidden layer with 10 nodes equipped with Sigmoid transfer function.
+
+We multiply the first neural network's output by weighting factor 0.63, and also multiply the second neural network's output by weighting factor 0.37, that were initialized and determined during the training of the classifier system. 
+
+
+}
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Results }{name=results,column=1,span=2,below=phase2}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{multicols}{2}
+In order to give a more clear measure of the performance of the classifier system, consisting of two parallel neural networks, the right-top figure illustrates an ROC graph. 
+
+However, higher accuracies in separation of training data can cause a better result in our database, but this increases the number of layers and nodes of the neural networks which may lead to overtraining of the system and thus, it may reduce the classification accuracy of test images. Therefore, we believe that the response shown here is an optimal one.
+
+%We aware of similar works of other researchers (e.g. \cite{WaRoCoSpBaGaDoChSe,FrFo}) in which they obtained better results, but We try to increase the speed of process to have a real-time classifier system.
+
+In the future research, we try to, in addition
+to improving the diagnosis of AD, produce initially independent features in
+order to increase the speed of process to have a real-time
+classifier system.
+
+\centerline{\includegraphics[scale=.7]{fig6}}
+%\caption{An ROC graph corresponding to classifier's responses shows the accuracy of the proposed AD diagnosis system.} 
+\centerline{\includegraphics[scale=.7]{fig5}}
+%\caption{The final result of the AD diagnosis system.} 
+
+\end{multicols}
+}
+
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%   \headerbox{Related Works}{name=relatedworks,column=0,below=introduction}{
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%A review of the works done during the last 20 years :
+%\begin{itemize}
+%\compresslist
+%	\item brain atrophy %\cite{WaRoCoSpBaGaDoChSe}
+%	\item number and size of senile plaques in the brain %\cite{HaHoDe}
+%	\item deformation of the brain structure %\cite{MaPe}
+%	\item bio-signal processing  %\cite{HaPeGaMo}.
+%	\item medical image processing and analysis
+%\begin{itemize}
+%	\compresslist
+%		\item 	microscopic methods
+%		\item 	macroscopic methods
+%	\end{itemize}
+%\end{itemize}
+%{\scriptsize (see paper for references.)}
+%}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Brain Images Dataset}{name=imagedataset,column=0,span=1,below=introduction}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{itemize}
+\compresslist
+	\item 120 MRI's (including T1 and T2 images) for different cross-sections of the brain
+	\item 52 images belong to the normal control group while the rest belongs to AD patients. 
+	\item Half of the images is T1 and the other half is T2.
+	\item 60 percent of the images is used for training, and the rest is reserved to test and control the algorithm. 
+	\item Images dataset: The Whole Brain Atlas. Available on \url{http://www.med.harvard.edu/AANLIB/home.html}
+\end{itemize}
+  }
+
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Disease Diagnosis Method}{name=ddm,column=0,span=1,below=imagedataset}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\centerline{\includegraphics[scale=.7,width=.9\textwidth,height=6cm]{fig1}}
+    }
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Phase I: preprocessing}{name=phase1,column=0,span=1,below=ddm}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Removing irrelevant information:% that does not help the algorithm detect AD:
+\begin{enumerate}
+\compresslist
+	\item marginal parts of the images.
+	\item background.
+	\item other parts of brain, e.g. parts of eyes.
+\end{enumerate}
+%\subsubsection*{Registration}
+We registered each image on its corresponding image as precisely as possible using 10 landmarks. The landmarks are located and placed on those points of the brain which are geometrically and anatomically more important. %\cite{YuXiBeLiZhGuDeJuWo}. 
+%\cite{ToMoVaRaDeRaTaFa}.
+%(Figure~\ref{fig2}). 
+Registration includes %two stages of interpolation: 
+1) pixel position interpolation and 2) gray-level interpolation. For performing interpolation process, radial basis function $r^2 \log r^2$ is used. %\cite{ToMoVaRaDeRaTaFa}. 
+The affine terms have not been used in the proposed algorithm, since the results were already satisfactory.
+
+\centerline{\includegraphics[scale=.34]{fig2}}
+\centerline{\begin{minipage}{.8\textwidth}
+\scriptsize Two samples of cross-sections of brain which are marked with 10 landmarks.
+\end{minipage}}
+%{\scriptsize Two samples of cross-sections of brain which are marked with 10 landmarks.} 
+%\label{fig2}
+
+}
+    
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%   \headerbox{Funding}{name=funding,column=1,span=2,above=bottom}{
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%	This work is entirely done at Sharif University of Technology, Tehran, Iran.
+%  }
+ 
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{References}{name=references,column=1,span=2,below=results}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+     \smaller
+     
+     \bibliographystyle{ieee}
+     \renewcommand{\section}[2]{\vskip 0.05em}
+       \begin{thebibliography}{1}\itemsep=-0.01em
+       \setlength{\baselineskip}{0.4em}
+
+%       \bibitem{amberg07:nicp}
+%       B.~Amberg, A.~Blake, T.~Vetter
+%       \newblock On Compositional Image Alignment with an Application to Activce Appearance Models
+%       \newblock In {\em CVPR'09}, 2009.
+       \bibitem{}
+       M. Torabi, H. Moradzadeh, R. Vaziri, S. M. J. Razavian, R. Dehestani
+	Ardekani, M. Rahmandoost, A. Taalimi, and E. Fatemizadeh, ``Development 
+	of Alzheimer's Disease Recognition Using Semiautomatic
+	Analysis of Statistical Parameters Based on Frequency Characteristics
+	of Medical Images,'' in \emph{Proc. of IEEE Int. Conf. Signal Proc. \&
+	Communication}, Nov 2007, pp. 868--871.
+       \bibitem{}
+	 M. Torabi, R. Dehestani Ardekani, and E. Fatemizadeh, ``Discriminationnation 
+	 between Alzheimer's Disease and Control Group in MR-Images Based 
+	 on Texture Analysis Using Artificial Neural Network,''
+	 in \emph{Proc. of Int. Conf. Bio. \& Pharm. Eng.}, Dec 2006, pp. 79--83.
+
+       \end{thebibliography}
+   }
+ 
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   \headerbox{Acknowledgment}{name=ack,column=1,span=2,below=references}{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ The main concept of this work is inspired by the ideas of the philosopher Majid Jafari-Tabar.
+}
+
+\end{poster}%
+%
+\end{document}


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

Modified: trunk/Master/texmf-dist/doc/latex/xebaposter/xebaposter-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xebaposter/xebaposter-doc.tex	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/doc/latex/xebaposter/xebaposter-doc.tex	2022-06-08 20:37:30 UTC (rev 63513)
@@ -28,7 +28,7 @@
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%% Some math symbols used in the text
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Format 
+ % Format
 % \newcommand{\RotUP}[1]{\begin{sideways}#1\end{sideways}}
 
 
@@ -61,7 +61,7 @@
 %%  \end{bidi at tikzpicture}%
 %  \end{tikzpicture}%
 %  \makeatother
-%} 
+%}
 %\AtBeginShipoutInit
 %\AtBeginShipout{\AtBeginShipoutAddToBox{\back}}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -92,7 +92,7 @@
       headerColorOne=yellow,
       headerColorTwo=reddishyellow,
       headerFontColor=cyan,
-      boxColorOne=lightyellow,      
+      boxColorOne=lightyellow,
       boxColorTwo=lighteryellow,
       % Format of textbox
       textborder=rounded,
@@ -120,13 +120,11 @@
  \\%[1em]
  {\normalsize\texttt{\lr{javadr at parsilatex.com, reinhold at kainhofer.com, baposter at brian-amberg.de}}
  \\
-نسخه $2.51$، $22$ شهریور $1395$، $12$ سپتامبر $2016$
+نسخه $2.53$، $18$ خرداد $1401$، $8$ ژوئن $2022$
  }}
  % University logo
  {
-\begin{tabular}{r}
-    \includegraphics[height=0.05 \textheight]{logo}\\
-\end{tabular}
+    \includegraphics[height=0.05\textheight]{logo}
  }
 % \end{poster}
 % \end{document}
@@ -134,10 +132,10 @@
 %%% Now define the boxes that make up the poster
 %%%---------------------------------------------------------------------------
 %%% Each box has a name and can be placed absolutely or relatively.
-%%% The only inconvenience is that you can only specify a relative position 
-%%% towards an already declared box. So if you have a box attached to the 
-%%% bottom, one to the top and a third one which should be inbetween, you 
-%%% have to specify the top and bottom boxes before you specify the middle 
+%%% The only inconvenience is that you can only specify a relative position
+%%% towards an already declared box. So if you have a box attached to the
+%%% bottom, one to the top and a third one which should be inbetween, you
+%%% have to specify the top and bottom boxes before you specify the middle
 %%% box.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -146,27 +144,27 @@
 headershade=plain]%
 {\textxecolor{red}{مقدمه}}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-همانطوری که می‌دانید یکی از نیازهای جامعه علمی طراحی پوستر است زیرا که در برخی کنفرانس‌ها نویسنده مقاله تنها مجاز به ارائه پوستر 
+همانطوری که می‌دانید یکی از نیازهای جامعه علمی طراحی پوستر است زیرا که در برخی کنفرانس‌ها نویسنده مقاله تنها مجاز به ارائه پوستر
 می‌گردد. در این راستا یک کلاس بسیار ساده به نام \texttt{a0poster} وجود دارد که در عین سادگی کار با آن، قابلیت‌های زیادی ندارد.
-از طرفی دیگر کلاس‌های زیبایی برای تولید پوستر توسط افرادی دیگر طراحی شده است 
+از طرفی دیگر کلاس‌های زیبایی برای تولید پوستر توسط افرادی دیگر طراحی شده است
 از جمله \texttt{baposter}\footnote{\url{http://www.brian-amberg.de/uni/poster/}}،
 \texttt{beamerposter} و \texttt{tikzposter}.
-متاسفانه این کلاس‌ها با متون راست به چپ، خصوصاً فارسی کار نمی‌کنند لذا نیاز به کلاسی که بتوان با آن پوستر فارسی تولید کرد 
+متاسفانه این کلاس‌ها با متون راست به چپ، خصوصاً فارسی کار نمی‌کنند لذا نیاز به کلاسی که بتوان با آن پوستر فارسی تولید کرد
 ضروری می‌نمود. کلاس \texttt{xebaposter}% --بخوانید زیباپوستر--%
-%از آنجایی که کلاس \texttt{baposter} 
-%بر پایهٔ \texttt{tikz} طراحی شده است و جناب آقای دکتر وفا خلیقی خالق 
-%بسته‌های \texttt{bidi} و \texttt{xepersian} امکان پشتیبانی از متون 
-%راست به چپ را در تصاویر تولیدی بسته \texttt{tikz} فراهم آورده‌اند پس بدین سبب به سراغ این کلاس رفته و با تغییراتی در آن، 
+%از آنجایی که کلاس \texttt{baposter}
+%بر پایهٔ \texttt{tikz} طراحی شده است و جناب آقای دکتر وفا خلیقی خالق
+%بسته‌های \texttt{bidi} و \texttt{xepersian} امکان پشتیبانی از متون
+%راست به چپ را در تصاویر تولیدی بسته \texttt{tikz} فراهم آورده‌اند پس بدین سبب به سراغ این کلاس رفته و با تغییراتی در آن،
 %این کلاس را با متون راست به چپ خصوصا فارسی سازگار نموده و نام \texttt{xebaposter} را بر آن برگزیدیم%
 %\footnote{نگارنده ابتدا نام \lr{baposterRL} را انتخاب کرده بود لکن با پیشنهاد دکتر محمود امین‌طوسی نام فعلی را برگزید.}
 --بخوانید زیباپوستر--
- بر پایهٔ کلاس \texttt{baposter} با افزودن 
-امکاناتی بدین منظور بنا نهاده شده است. 
-%البته ناگفته نماند که پوسترهای تولیدی با بسته \texttt{beamerposter} زیبایی زاید الوصوفی دارند لکن به سبب اینکه بسته‌های 
-%بایدی و زی‌پرشین فعلا از بسته \texttt{beamer} پشتیبانی نمی‌کنند --آنهم به سبب وجود باگ‌هایی در موتور زی‌تک-- امکان 
+ بر پایهٔ کلاس \texttt{baposter} با افزودن
+امکاناتی بدین منظور بنا نهاده شده است.
+%البته ناگفته نماند که پوسترهای تولیدی با بسته \texttt{beamerposter} زیبایی زاید الوصوفی دارند لکن به سبب اینکه بسته‌های
+%بایدی و زی‌پرشین فعلا از بسته \texttt{beamer} پشتیبانی نمی‌کنند --آنهم به سبب وجود باگ‌هایی در موتور زی‌تک-- امکان
 %فارسی‌سازی این بسته وجود نداشت پس بدین سبب تنها انتخابمان همان بسته اولیه \texttt{baposter} شد.
-متاسفانه به سبب وجود باگ‌\footnote{گزارش شده در \url{http://qa.parsilatex.com/10715} 
-و \url{http://tex.stackexchange.com/questions/262877}} در موتور زی‌لاتک فعلاً ویژگی محوشدگی رنگ را 
+متاسفانه به سبب وجود باگ‌\footnote{گزارش شده در \url{http://qa.parsilatex.com/10715}
+و \url{http://tex.stackexchange.com/questions/262877}} در موتور زی‌لاتک فعلاً ویژگی محوشدگی رنگ را
 در حالت فارسی نخواهیم داشت.%
 %\footnote{برای مشاهده
 %نمونه‌هایی از این بسته‌ها می‌توانید به \url{http://www.latextemplates.com/cat/conference-posters} مراجعه نمایید.}
@@ -175,16 +173,16 @@
 \begin{posterbox}[name=posterparts,column=0,span=1,below=introduction,textborder=roundedleft]
 {\textxecolor{blue}{اجزاء تشکیل دهنده زیباپوستر}}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-زیباپوستر صفحه پوستر را به دو بخش سرآمد  و محتوی تقسیم می‌کند. خود سرآمد نیز از سه بخش آی‌کچر، عنوان و لوگوی موسسه تشکیل 
-شده است که بهمین ترتیب نمایش داده می‌شود. بخش آی‌کچر اختیاری است و می‌توان با گزینه \texttt{eyecatcher} آن را فعال یا غیرفعال 
-نمود(\texttt{true,false}). در صورت عدم وجود آی‌کچر، عنوان و نام نویسنده‌(ها) راست چین خواهد شد و در صورت وجود آن به صورت 
+زیباپوستر صفحه پوستر را به دو بخش سرآمد  و محتوی تقسیم می‌کند. خود سرآمد نیز از سه بخش آی‌کچر، عنوان و لوگوی موسسه تشکیل
+شده است که بهمین ترتیب نمایش داده می‌شود. بخش آی‌کچر اختیاری است و می‌توان با گزینه \texttt{eyecatcher} آن را فعال یا غیرفعال
+نمود(\texttt{true,false}). در صورت عدم وجود آی‌کچر، عنوان و نام نویسنده‌(ها) راست چین خواهد شد و در صورت وجود آن به صورت
 وسط‌چین در خواهند آمد.
 
-بخش محتوای پوستر شامل تعدادی جعبه \texttt{tikz} است که حاوی مطالب پوستر خواهند بود. این جعبه‌ها از طریق 
-محیط \texttt{posterbox} تعریف می‌شوند. تمامی این جعبه‌ها باید درون محیط \lr{poster} تعریف شده باشند. 
-هر جعبه نیز از دو بخش عنوان و محتوی تشکیل شده است. و نهایتا پشت زمینه پوستر است که در حال حاضر تنها می‌تواند یک رنگ ساده 
-باشد و یا اصلا چیزی نباشد و یا به اختیار کاربر قرار گیرد تا برای مثال در صورت تمایل یک تصویر پشت زمینه قرار دهد --البته همانطور که 
-در بالا اشاره گردید برخی قابلیت‌های محیط \lr{tikz} از جمله محوشدگی قابل استفاده نمی‌باشند--. 
+بخش محتوای پوستر شامل تعدادی جعبه \texttt{tikz} است که حاوی مطالب پوستر خواهند بود. این جعبه‌ها از طریق
+محیط \texttt{posterbox} تعریف می‌شوند. تمامی این جعبه‌ها باید درون محیط \lr{poster} تعریف شده باشند.
+هر جعبه نیز از دو بخش عنوان و محتوی تشکیل شده است. و نهایتا پشت زمینه پوستر است که در حال حاضر تنها می‌تواند یک رنگ ساده
+باشد و یا اصلا چیزی نباشد و یا به اختیار کاربر قرار گیرد تا برای مثال در صورت تمایل یک تصویر پشت زمینه قرار دهد --البته همانطور که
+در بالا اشاره گردید برخی قابلیت‌های محیط \lr{tikz} از جمله محوشدگی قابل استفاده نمی‌باشند--.
 \end{posterbox}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \begin{posterbox}[name=setting,column=0,span=1,below=posterparts%
@@ -192,9 +190,9 @@
 {\textxecolor{brown}{تنظیمـــــــــات (عمومی یا محلی؟!)}}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 کاربر می‌توانید تنظیماتی را که برای رنگ و حالت جعبه‌ها تعریف شده است را به کلی یا جزئی تغییر دهد. بدین معنی که برای یکبار همان
-ابتدای تعریف محیط \lr{poster} که این تنظیمات تعریف می‌شوند بر تمامی جعبه‌ها قابل اعمال هستند لکن این امکان نیز وجود دارد 
-که هر جعبه را به طور خاص شخصی‌سازی نمود. در این پوستر سعی شده تا با اتخاذ 
-شخصی‌سازی هر جعبه گزینه‌های مختلف موجود تا آنجا که ممکن است نشان داده شود. 
+ابتدای تعریف محیط \lr{poster} که این تنظیمات تعریف می‌شوند بر تمامی جعبه‌ها قابل اعمال هستند لکن این امکان نیز وجود دارد
+که هر جعبه را به طور خاص شخصی‌سازی نمود. در این پوستر سعی شده تا با اتخاذ
+شخصی‌سازی هر جعبه گزینه‌های مختلف موجود تا آنجا که ممکن است نشان داده شود.
 \end{posterbox}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \begin{posterbox}[name=usage,column=1,span=1,headershape=rounded,textborder=rectangle
@@ -206,12 +204,12 @@
 %\begin{poster}
 
 %    { key=value options }
-%    { Eye Catcher, empty 
+%    { Eye Catcher, empty
 %       if option eyecatcher=false}
 %    { Poster Title }
 %    { Poster Authors }
 %    { University Logo}
-%    
+%
 %    Definition of the boxes
 %\end{poster}
 %\end{verbatim}
@@ -244,19 +242,19 @@
     \item \texttt{persian/latin}:
      چینش پوستر فارسی/لاتین.% پیش‌فرض پوستر لاتین است.
     \item \texttt{portrait/landscape}: طرح‌بندی صفحه
-    \item \lr{\texttt{a0paper, a1paper, a2paper, a3paper, a4paper, archE, ...}}: 
-    سایز صفحات از پیش تعریف‌شده‌؛ تمامی اندازه‌های قابل پیشتیبانی توسط کلاس را در جدول زیر مشاهد نمایید. 
-    \item \lr{\small\texttt{paperwidth=length, paperheight=length}}: تنظیم عرض/ارتفاع صفحه. 
+    \item \lr{\texttt{a0paper, a1paper, a2paper, a3paper, a4paper, archE, ...}}:
+    سایز صفحات از پیش تعریف‌شده‌؛ تمامی اندازه‌های قابل پیشتیبانی توسط کلاس را در جدول زیر مشاهد نمایید.
+    \item \lr{\small\texttt{paperwidth=length, paperheight=length}}: تنظیم عرض/ارتفاع صفحه.
     این گزینه‌ها را بهیچوجه با اندازه‌های از پیش‌تعریف شده بکار نبرید.
     \item \texttt{margin=length}: حاشیه صفحه
     \item \lr{\texttt{fontscale=real number}}:
-    مقیاس‌پذیری پوستر. پوستر با اندازه فونت‌های استاندارد روی یک کاغذ 
+    مقیاس‌پذیری پوستر. پوستر با اندازه فونت‌های استاندارد روی یک کاغذ
     \lr{\Verb|fontscale| $\times$ \Verb|papersize|}
-    حروفچینی می‌شود و سپس به مقدار  \lr{1/\Verb|fontscale|} نسبت به اندازه صفحه‌ٔ انتخاب شده تغییر اندازه می‌دهد. 
-    این کار سبب می‌شود تا اندازه فونت‌ها ظاهری مناسب داشته باشد لذا اگر نیاز دارید تا حجم بیشتری را در یک صفحه جا دهید 
-    اندازه \Verb|fontscale| را افزایش دهید تا فونت کوچکتری بدست آورید.% لکن مطمئن شوید که اندازه‌های خیلی کوچکی 
-%    را بکار نمی‌برید زیرا که در این صورت پوستر ظاهر نازیبایی خواهد داشت. 
-    مقدار پیش‌فرض \lr{\Verb|2.92|}. 
+    حروفچینی می‌شود و سپس به مقدار  \lr{1/\Verb|fontscale|} نسبت به اندازه صفحه‌ٔ انتخاب شده تغییر اندازه می‌دهد.
+    این کار سبب می‌شود تا اندازه فونت‌ها ظاهری مناسب داشته باشد لذا اگر نیاز دارید تا حجم بیشتری را در یک صفحه جا دهید
+    اندازه \Verb|fontscale| را افزایش دهید تا فونت کوچکتری بدست آورید.% لکن مطمئن شوید که اندازه‌های خیلی کوچکی
+%    را بکار نمی‌برید زیرا که در این صورت پوستر ظاهر نازیبایی خواهد داشت.
+    مقدار پیش‌فرض \lr{\Verb|2.92|}.
     \item \texttt{debug}: چاپ اطلاعات مرتبط با جعبه‌ها در خروجی. این گزینه‌ در اشکال‌زدایی بکار می‌آید.
 \end{itemize}
 
@@ -289,7 +287,7 @@
             b4paper &  250mm & 353mm \\\hline
             b5paper &  176mm & 250mm \\\hline
             b6paper &  125mm & 176mm \\\hline
-            ansiapaper &  8.5in & 11in \\\hline                                                                                                                     
+            ansiapaper &  8.5in & 11in \\\hline
             ansibpaper &  11in & 17in \\\hline
             ansicpaper &  17in & 22in \\\hline
             ansidpaper &  22in & 34in \\\hline
@@ -309,9 +307,9 @@
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %\begin{multicols}{2}
 \begin{itemize}
-    \item \texttt{grid={true,false}}: 
+    \item \texttt{grid={true,false}}:
          نمایش یک شبکه در پس‌زمینهٔ پوستر. این گزینه در فاز طرح‌بندی پوستر خیلی کاربردی و مفید است با مقدار پیش‌فرض \Verb|no|.
-    \item \texttt{columns=4}:  تعداد ستون‌ها. 
+    \item \texttt{columns=4}:  تعداد ستون‌ها.
      (در حالت افقی ۴ و در حالت عمودی مقدار پیش‌فرض ۳ است و حداکثر تعداد ستون‌ها ۶ است.)
     \item \texttt{colspacing=length}: فاصله بین‌ستون‌های پوستر.
     \item \texttt{headerheight=length}: ارتفاع بخش سرآمد پوستر. مقدار پیش‌فرض آن {\verb|0.1\textheight|} است.
@@ -328,16 +326,16 @@
         \item \lr{\Verb|shadeLR|}:
         پس‌زمینه با رنگ مدرج افقی (از \lr{\Verb|bgColorOne|} به \lr{\Verb|bgColorTwo|}).
         \item \lr{\Verb|shadeTB|}:
-        پس‌زمینه با رنگ مدرج عمودی (از \lr{\Verb|bgColorOne|} به \lr{\Verb|bgColorTwo|}).        
-        \item \lr{\Verb|user|}: 
-        با دستور 
+        پس‌زمینه با رنگ مدرج عمودی (از \lr{\Verb|bgColorOne|} به \lr{\Verb|bgColorTwo|}).
+        \item \lr{\Verb|user|}:
+        با دستور
         \lr{\Verb|\textbackslash{}background\{...\}|} پس‌زمینهٔ شخصی خودتان را می‌توانید طراحی نمایید.
-        \item \lr{\Verb|none|}: 
+        \item \lr{\Verb|none|}:
         بدون هیچ پس‌زمینه‌ای.
     \end{enumerate}
     \item \lr{\texttt{bgColorOne=pgf color name}}: رنگ اول پس‌زمینه. در حالت \texttt{plain} تنها همین رنگ بکار می‌رود.
     \item \lr{\texttt{bgColorTwo=pgf color name}}: رنگ دوم پس‌زمینه.
-    \item \lr{\texttt{eyecatcher={true,false}}}: تعیین می‌کند که آیا آی‌کچر در سرآمد پوستر به نمایش درآید یا نه. 
+    \item \lr{\texttt{eyecatcher={true,false}}}: تعیین می‌کند که آیا آی‌کچر در سرآمد پوستر به نمایش درآید یا نه.
     این تصویر در سمت راست عنوان قرار خواهد گرفت.
 \end{itemize}
 %\end{multicols}
@@ -364,15 +362,15 @@
 \vspace{-4mm}
 \begin{itemize}
     \item \lr{\texttt{name=box name}}: نام جعبه را مشخص می‌کند. این نام در تعیین موقعیت دیگر جعبه‌ها نسبت به آن بکار آید.
-    \item \lr{\texttt{column=column number}}: مشخص می‌کند که جعبه در کدام ستون قرار گیرد 
+    \item \lr{\texttt{column=column number}}: مشخص می‌کند که جعبه در کدام ستون قرار گیرد
     --شماره ستون‌ها از صفر شروع می‌شود--.
     \item \lr{\Verb|row=row position|}:
-     مشخص می‌کند که جعبه در کدام ردیف از مختصات صفحه قرار گیرد؛ این مختصات عددی در بازهٔ صفر تا یک است که شماره گذاری 
-     آن از زیر عنوان پوستر آغاز شده و در پایان صفحه یک خواهد شد.% این گزینه برای آدرس دهی دقیق یک جعبه در صفحه بکار می‌رود.    
-    \item \lr{\texttt{span=column span}}:    
-    مشخص می‌کند که جعبه شامل چند ستون از پوستر خواهد بود --مقدار پیش‌فرض عدد یک است--. 
+     مشخص می‌کند که جعبه در کدام ردیف از مختصات صفحه قرار گیرد؛ این مختصات عددی در بازهٔ صفر تا یک است که شماره گذاری
+     آن از زیر عنوان پوستر آغاز شده و در پایان صفحه یک خواهد شد.% این گزینه برای آدرس دهی دقیق یک جعبه در صفحه بکار می‌رود.
+    \item \lr{\texttt{span=column span}}:
+    مشخص می‌کند که جعبه شامل چند ستون از پوستر خواهد بود --مقدار پیش‌فرض عدد یک است--.
     \item \lr{\texttt{borderColor=pgf color name}}:
-    رنگ مورد استفاده در حاشیه جعبه‌ها. 
+    رنگ مورد استفاده در حاشیه جعبه‌ها.
     \item \lr{\texttt{headerColorOne=pgf color}}:
     رنگ اول عنوان جعبه.
     \item \lr{\texttt{headerColorTwo=pgf color name}}:
@@ -380,7 +378,7 @@
     \item \lr{\texttt{textborder=border type}}:
     نوع حاشیه پایین جعبه را تعیین می‌کند که خود شامل انواع زیر است:
 %        \begin{enumerate*}[label=\arabic*)]
-%            \item\Verb|none| 
+%            \item\Verb|none|
 %            \item\Verb|bars|
 %            \item\Verb|faded|
 %            \item\Verb|rectangle|
@@ -390,43 +388,43 @@
 %            \item\Verb|roundedright|
 %            \item\Verb|triangles|
 %            \item\Verb|coils|
-%        \end{enumerate*}    
-    
+%        \end{enumerate*}
+
     \centerline{\includegraphics[width=.8\textwidth, ]{docs-boxshape}}
     \item \lr{\texttt{headerborder=header border type}}:
     آن بخشی از جعبه که پیرامون عنوان قرار می گیرد را تعیین می‌کند:
-    
+
     \centerline{\includegraphics[width=.8\textwidth, ]{docs-headerborder}}
     \item \lr{\texttt{headershape=header border shape}}:
     نوع آرایش عنوان جعبه را مشخص می‌کند:
-    
+
     \centerline{\includegraphics[width=.8\textwidth, ]{docs-headershape}}
     \item \lr{\texttt{headershade=type of header shading}}:
-    
+
 %        \begin{enumerate*}[label=\arabic*)]
-%            \item\texttt{plain} 
-%            \item\texttt{shadelr} 
-%            \item\texttt{shaderl} 
+%            \item\texttt{plain}
+%            \item\texttt{shadelr}
+%            \item\texttt{shaderl}
 %            \item\texttt{shadetb}
 %            \item\texttt{shadetbinverse}
 %        \end{enumerate*}
-        
-    \centerline{\includegraphics[width=.82\textwidth, 
+
+    \centerline{\includegraphics[width=.82\textwidth,
     trim={.4cm 5.1cm .4cm .6cm}, clip=true]{docs-shade.pdf}}
-            
+
     \item \lr{\texttt{boxshade}}:
-    
+
 %        \begin{enumerate*}[label=\arabic*)]
-%            \item\texttt{plain} 
-%            \item\texttt{shadelr} 
+%            \item\texttt{plain}
+%            \item\texttt{shadelr}
 %            \item\texttt{shaderl}
-%            \item\texttt{shadetb}            
+%            \item\texttt{shadetb}
 %            \item\texttt{none}
 %        \end{enumerate*}
-        
-    \centerline{\includegraphics[width=.82\textwidth, 
+
+    \centerline{\includegraphics[width=.82\textwidth,
     trim={.4cm .1cm .4cm 5.5cm}, clip=true]{docs-shade.pdf}}
-            
+
     \item \lr{\texttt{headerfont=font definition}}:
     دستوری که قبل از حروفچینی عنوان جعبه قرار داده می‌شود.
     \item \lr{\texttt{headerFontColor=pgf color name}}:
@@ -433,13 +431,13 @@
     رنگ قلم عنوان جعبه.
     \item \lr{\texttt{linewidth=length}}:
     عرض خطوط مورد استفاده در ترسیم پوستر
-    \item \lr{\Verb|above=box name|}: 
+    \item \lr{\Verb|above=box name|}:
     نام جعبه‌ای را مشخص می‌کند که این جعبه باید در بالای جعبه مذکور ترازبندی شود.
-    \item \lr{\Verb|below=box name|}: 
+    \item \lr{\Verb|below=box name|}:
     نام جعبه‌ای را مشخص می‌کند که این جعبه باید در پایین جعبه مذکور ترازبندی شود.
-    \item \lr{\Verb|aligned=box name|}: 
-    نام جعبه‌ای را مشخص می‌کند که این جعبه باید به محاذات آن جعبه ترازبندی شود.        
-    \item \lr{\Verb|bottomaligned=box name|}: 
+    \item \lr{\Verb|aligned=box name|}:
+    نام جعبه‌ای را مشخص می‌کند که این جعبه باید به محاذات آن جعبه ترازبندی شود.
+    \item \lr{\Verb|bottomaligned=box name|}:
     نام جعبه‌ای را مشخص می‌کند که این جعبه باید نسبت به آن جعبه از پایین ترازبندی شود.
 \end{itemize}
 \end{posterbox}
@@ -447,25 +445,25 @@
 \begin{posterbox}[name=absolute,column=0,span=2,below=setting,
 ,textborder=rectangle,headershape=rectangle,]{چینش جعبه‌ها}
 %\small
-    نکته‌ای که باید در چینش جعبه‌ها در نظر داشته باشید این است که مکان جعبه‌ها می‌توانند به صورت نسبی یا دقیق تعیین شود. 
-    اگر برای مثال جعبه ب قرار است دقیقاً بین جعبه‌های الف و ج قرار گیرد 
-    آنگاه این دو جعبه اخیر حتماً باید پیش از جعبه ب تعریف شوند، در غیر اینصورت سبب تولید خطا می‌گردد. ضمناً می‌توانید بدون 
+    نکته‌ای که باید در چینش جعبه‌ها در نظر داشته باشید این است که مکان جعبه‌ها می‌توانند به صورت نسبی یا دقیق تعیین شود.
+    اگر برای مثال جعبه ب قرار است دقیقاً بین جعبه‌های الف و ج قرار گیرد
+    آنگاه این دو جعبه اخیر حتماً باید پیش از جعبه ب تعریف شوند، در غیر اینصورت سبب تولید خطا می‌گردد. ضمناً می‌توانید بدون
     تعیین این پارامترها چینش جعبه‌ها را به صورت خودکار و بهمان ترتیب تعریف به خود بسته واگذار نمایید.
-    
-    برای آدرس‌دهی دقیق یک جعبه، جایگاه دقیق آن‌ را با کمک \Verb|row| و \Verb|column| 
-    در تنظیمات جعبه‌پوستر مشخص نمایید. 
+
+    برای آدرس‌دهی دقیق یک جعبه، جایگاه دقیق آن‌ را با کمک \Verb|row| و \Verb|column|
+    در تنظیمات جعبه‌پوستر مشخص نمایید.
 \end{posterbox}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{posterbox}[name=ack,column=3,span=2,below=posterboxoption, bottomaligned=absolute, 
+\begin{posterbox}[name=ack,column=3,span=2,below=posterboxoption, bottomaligned=absolute,
 ,textborder=triangles]{قدردانی}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 با تشکر از دکتر \lr{Brian} خالق کلاس پوستر و تشکر ویژه از جناب آقای دکتر وفا خلیقی بخاطر زحماتی که برای فارسی‌نویسی در
-محیط زی‌لاتک انجام‌ داده‌اند %\footnote{بدون پشتیبانی زی‌پرشین از محیط \lr{tikzpicture} فارسی سازی این کلاس ممکن نبود.} 
+محیط زی‌لاتک انجام‌ داده‌اند %\footnote{بدون پشتیبانی زی‌پرشین از محیط \lr{tikzpicture} فارسی سازی این کلاس ممکن نبود.}
  و دکتر محمود امین‌طوسی به سبب پیشنهاد نام زیباپوستر و گروه پارسی‌لاتک برای تست این کلاس.
 
 \footnotetext{
 زیباپوستر از نسخهٔ $2.2$ به بعد بر خلاف نسخه اولیّه هر دو نوع پوستر پارسی و لاتین را پشتیبانی می‌کند. }
-\end{posterbox} 
+\end{posterbox}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \end{poster}
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/texmf-dist/tex/latex/xebaposter/xebaposter.cls	2022-06-08 20:37:30 UTC (rev 63513)
@@ -1,7 +1,7 @@
 %%
 %% This is file `xebaposter.cls'
-%% 
-%% Copyright © 2015-2016 by Seiied-Mohammad-Javad Razavian <javadr at gmail.com>
+%%
+%% Copyright © 2015-2022 by Seiied-Mohammad-Javad Razavian <javadr at gmail.com>
 %% 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.
@@ -11,11 +11,11 @@
 %% version 2005/12/01 or later.
 %%
 %% This work has the LPPL maintenance status `maintained'.
-%% 
+%%
 %% This work is “author-maintained” (as per LPPL maintenance status)
 %% by Seiied-Mohammad-Javad Razavian.
 %% The Current Maintainer of this work is Seiied-Mohammad-Javad Razavian
-%% 
+%%
 %% A relatively comfortable latex class to produce posters with a grid based
 %% layout. It comes with a number of combinable styles and is (maybe only for
 %% the writer) easy to extend, as all the graphics is based on pgf.
@@ -23,120 +23,9 @@
 %%
 %% Copyright (C) 2007-2011 Brian Amberg
 %% Copyright (C) 2011      Reinhold Kainhofer <reinhold at kainhofer.com>
-%% Copyright (C) 2015-2016      Seiied-Mohammad-Javad Razavian <javadr at gmail.com>
+%% Copyright (C) 2015-2022      Seiied-Mohammad-Javad Razavian <javadr at gmail.com>
 %%
-%% 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
-%%     - Correcting two typos in the package's documentaion.
-%% 9. February 2015: ver 2.4
-%%     - bidi ver 18.2 and later has not provice bidi at tikzpicture environment anymore, istead Vafa Khalighi the creator and maintainer of xepersian have improved the tikzpicture environment in RTL mode, so the package just use tikzpicture in both ltr and rtl poster. 
-%% 30. September 2015: ver 2.3
-%%     - 
-%% 1. September 2015: ver 2.21
-%%     - if xebaposter's user didn't set persian/latin option, by default it will be set latin but in case xepersian package is being loaded the default will be persian unless the user set latin explicitly. 
-%% 1. September 2015: ver 2.2
-%%     - persian/latin options added to the class and default is latin. From now on, this class can be used for both latin and persian poster.  The only thing that should be mentioned is the persian one must be compiled with xelatex but the latin one should be compiled with pdflatex or xelatex. For latin poster pdflatex is preferred because shading feature of tikz doesn't work properly with xelatex from TeXLive2013! the bug reported in http://tex.stackexchange.com/questions/262877.
-%% 28. August 2015:
-%%     - A bidi at tikzpicture is used instead of tikzpicture because it causes some unwanted extra spaces in the poster.
-%% 21. August 2015: 
-%%     - The xebaposter is named after changing the baposter style to adapt with right to left text like persian.
-%% 29. September 2011: 
-%%     - Finally fixed confusion with paper size handling and landscape. This required seperate handling of papersizes 
-%%       known to the geometry package and other packages.
-%% 26. September 2011:
-%%     - Reverted drawing of faded borders to manual method, as the current result does not work with evince, 
-%%       and produced spurious colored boxes with okular and acroread.
-%%     - Added one more example due to popular request
-%% 16. September 2011:
-%%     - Removed nag package, such that it compiles on older systems
-%%     - Added more examples
-%% 15. September 2011:
-%%     - Merged fork by (rk) back into mainline, essentially taking over all the great improvements that Reinhold Kainhofer coded.
-%%       We call this version 2, as it breaks the interface in some small points. Essentially watch out for this:
-%%       - no/yes keys are now false/true
-%%       - the shade-lr etc. keys have the hypen removed, and are now called shadelr etc.
-%      - Added more examples, which are all adapted to work with the current version
-%% 27. August 2011 (rk):
-%%     - Completely factored out all drawing commands to handler functions, assigned via choice keys
-%%     - Added cornerradius, boxheaderheight, boxpadding options
-%%     - Added missing roundedright
-%% 26. August 2011 (rk):
-%%     - Turned headerbox cmd into posterbox environment (allows verbatim)
-%%     - pass several options to packages
-%%     - added debug cls option to reduce default output
-%%     - rewrote several loops and ifthenelse
-%%     - Use boolean and choice keys for all options
-%%     - Changed all choice options to set a global function to
-%%       \baposter at OPTION@OPTIONVALUE, which are a functions that execute the
-%%       option's setting (drawing routine, color setting for tikz, etc.)
-%%     - Add a5paper
-%% 07. April 2011: Fixed paper size handling
-%%     - Fixed Paper Size handling, you can now specify all page sizes using paperwidth=, paperheight= class options.
-%%     - Added rudimentary documentation of the available keys.
-%% 11. December 2010: Fixed "Empty Second Page" bug
-%%     - A second empty page was introduced when a document ended with
-%%           \end{poster}
-%%         \end{document}
-%%       This was fixed thanks to a suggestion by Martin Aulbach
-%%     - Added
-%%         \thispagestyle{empty}%%       to suppress page numbers, which became visible when the margins are large.
-%%       The underlying problem of page-size handling has not yet been solved.
-%% 30. September 2010: Border Bugfixes
-%%     - Correct background color with textborder=rounded-small, Thanks to Ke Chen for the bugreport and patch
-%%     - Correctly draw rectangular text boxes, Thanks to abenkst for the bugreport and fix
-%% 10. June 2010: Added option to set the number of columns
-%%     - added a class option to set the number of columns
-%%         - columns=5: sets the number of columns to 5, possible values are 1..6, default is 3 in portrait and 4 in landscape format
-%% 29. April 2009: Incorporated Patches by Arne Henningsen
-%%     - added some class options
-%%        - a4shrink: shrink the paper to A4 size (for printing drafts or handouts)
-%%        - movebody=Xpt: move the text/poster body Xpt to the right
-%%                    (or to the left if Xpt is negative),
-%%                    e.g. for manually centering the poster on the page
-%%        - showframe: use the "showframe" option of the "geometry" package
-%%        - a0paper (default): set paper size to A0
-%%        - archE: set paper size to Arch E
-%%     - setting "background" can be "none" now (otherwise the "showframe"
-%%          option has no effect)
-%%     - the page number has been removed (it was mostly not visible before)
-%%     - the "margin=" option works now
-%% 04. December 2008
-%%     - Mainly an update to the landscape example
-%% 14. November 2008
-%%     - Actually center the title when eyecatcher is used.
-%% 04. November 2008
-%%     - Fixed bug with eyecatcher not working.
-%% 26. June 2008
-%%     - Fixed bug with plain background mode.
-%% 14. June 2008
-%%     - Support for portrait/landscape switching.
-%%     - Some smaller bugfixes.
-%% 01. June 2007
-%%     - First version released.
-%%
-%% Use this class with xelatex
-%%
-%% I have confirmed that this package works with
-%%   - texlive 2015 
-%%
-%%
-%% TODO:
-%% -) Rename backgrounds back to shaded-tb shade-lr
-%% -) Rename textborder back to rounded-small (consistent naming needed!)
-%% -) Rename headershade back to shade-lr, shade-tb, shade-tb-inverse
-%% -) Rename headershape back to small-rounded
-%% -) Option value consistency (small-rounded vs. rounded-small; missing ones)
-%% -) Rename \xebaposterHeaderSetShade, \xebaposterHeaderDrawText to include @ and verb
-%%
-%%
-%% Licence: GPL
-\ProvidesClass{xebaposter}[2016/09/12 v2.51 xebaposter class]
+\ProvidesClass{xebaposter}[2022/06/08 v2.53 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/}
@@ -183,7 +72,7 @@
 %\ifxetex
 %    \def\pdftexversion{140}%
 %    \def\pgfsysdriver{pgfsys-dvipdfm.def}%
-%\fi  
+%\fi
 \RequirePackage{tikz}%
 \RequirePackage{pgf}%
 %\makeatletter
@@ -220,24 +109,25 @@
 \DeclareOptionX{portrait}{}%
 %
 \newcommand{\xebaposter at setfinalpapersize}[2]{%
-\if at geometryKnowsThisSize
+\if at geometryKnowsThisSize%
   \setlength{\xebaposter at finalpaperwidth}{#1}%
   \setlength{\xebaposter at finalpaperheight}{#2}%
-\else
-\if at landscape
+\else%
+\if at landscape%
 % Transpose length, if geometry does not handle the papersize based on the key
   \setlength{\xebaposter at finalpaperwidth}{#2}%
   \setlength{\xebaposter at finalpaperheight}{#1}%
-\else
+\else%
   \setlength{\xebaposter at finalpaperwidth}{#1}%
   \setlength{\xebaposter at finalpaperheight}{#2}%
-\fi
-\fi
-}
+\fi%
+\fi%
+}%
 %
 % Default paperwidth and paperheight = a0paper
 \DeclareOptionX{paperwidth}[841mm]{\setlength{\xebaposter at finalpaperwidth}{#1}}%
 \DeclareOptionX{paperheight}[1189mm]{\setlength{\xebaposter at finalpaperheight}{#1}}%
+\xebaposter at setfinalpapersize{841mm}{1189mm}
 \DeclareOptionX{archA}         {                           \xebaposter at setfinalpapersize{9in}{12in}}%
 \DeclareOptionX{archB}         {                           \xebaposter at setfinalpapersize{12in}{18in}}%
 \DeclareOptionX{archC}         {                           \xebaposter at setfinalpapersize{18in}{24in}}%
@@ -287,31 +177,36 @@
 \DeclareOptionX{table}{}%
 \DeclareOptionX{showframe}{}%
 %
-\newif\if at xebaposter@persian
-\newif\if at xebaposter@latin
-\DeclareOptionX{persian}{\@xebaposter at persiantrue}
-\DeclareOptionX{latin}{\@xebaposter at latintrue}
+\newif\if at xebaposter@persian%
+\newif\if at xebaposter@latin%
+\DeclareOptionX{persian}{\@xebaposter at persiantrue}%
+\DeclareOptionX{latin}{\@xebaposter at latintrue}%
 %
+%\ExecuteOptionsX{
+%    portrait,
+%    a0paper,
+%}
+%
 \ProcessOptionsX%
 %
-\if at debug
+\if at debug%
 \newcommand{\debug}[1]{\typeout{#1}}%
-\else
+\else%
 \newcommand{\debug}[1]{}%
-\fi
+\fi%
 %
-%%% when user didn't set persian/latin option, if he/she uses xepersian the default will be persian, otherwise default will be latin. 
-\if at xebaposter@latin
-    \relax
-\else
-    \if at xebaposter@persian
-        \relax
-    \else
-        \AtBeginDocument{\@ifpackageloaded{xepersian}{\@xebaposter at persiantrue}{}}
-    \fi
-\fi
+%%% when user didn't set persian/latin option, if he/she uses xepersian the default will be persian, otherwise default will be latin.
+\if at xebaposter@latin%
+    \relax%
+\else%
+    \if at xebaposter@persian%
+        \relax%
+    \else%
+        \AtBeginDocument{\@ifpackageloaded{xepersian}{\@xebaposter at persiantrue}{}}%
+    \fi%
+\fi%
 %
-\setlength{\xebaposter at basepaperwidth} {\xebaposter at fontscale\xebaposter at finalpaperwidth }%
+\setlength{\xebaposter at basepaperwidth} {\xebaposter at fontscale\xebaposter at finalpaperwidth}%
 \setlength{\xebaposter at basepaperheight}{\xebaposter at fontscale\xebaposter at finalpaperheight}%
 \setlength{\xebaposter at basemargin}     {\xebaposter at fontscale\xebaposter at finalmargin}%
 \newlength{\xebaposter at basemarginright}%
@@ -325,7 +220,7 @@
 \typeout{Paperheight=\the\xebaposter at finalpaperheight}%
 \typeout{BasePaperwidth=\the\xebaposter at basepaperwidth}%
 \typeout{BasePaperheight=\the\xebaposter at basepaperheight}%
-\RequirePackage[
+\RequirePackage[%
    paperwidth=\xebaposter at basepaperwidth,%
    paperheight=\xebaposter at basepaperheight,%
    tmargin=\xebaposter at basemargin,%
@@ -334,16 +229,16 @@
    rmargin=\xebaposter at basemarginright,%
    ]{geometry}%
 %
-\RequirePackage{pgfpages}
-\if at landscape
-\if at geometryKnowsThisSize
+\RequirePackage{pgfpages}%
+\if at landscape%
+\if at geometryKnowsThisSize%
 \pgfpagesuselayout{resize to}[physical paper width=\xebaposter at finalpaperheight,physical paper height=\xebaposter at finalpaperwidth]%
-\else
+\else%
 \pgfpagesuselayout{resize to}[physical paper width=\xebaposter at finalpaperwidth,physical paper height=\xebaposter at finalpaperheight]%
-\fi
-\else
+\fi%
+\else%
 \pgfpagesuselayout{resize to}[physical paper width=\xebaposter at finalpaperwidth,physical paper height=\xebaposter at finalpaperheight]%
-\fi
+\fi%
 %
 %
 %
@@ -355,19 +250,19 @@
 %% particular, they will be set to \xebaposter at optionname@optionvalue, which
 %% should do the actual work / setting for that particular optionvalue.
 %
-\newcommand{\xebaposterPosterDrawBackground}[2]{} % Draw poster background
+\newcommand{\xebaposterPosterDrawBackground}[2]{}% % Draw poster background
 %
-\newcommand{\xebaposterBoxGetShape}{}             % Returns path of text box shape
-\newcommand{\xebaposterBoxDrawBackground}[2]{}    % Draw bg of boxes
-\newcommand{\xebaposterBoxDrawBorder}[1]{}        % Draw border of individual boxes
+\newcommand{\xebaposterBoxGetShape}{}%             % Returns path of text box shape
+\newcommand{\xebaposterBoxDrawBackground}[2]{}%    % Draw bg of boxes
+\newcommand{\xebaposterBoxDrawBorder}[1]{}%        % Draw border of individual boxes
 %
-\newcommand{\xebaposterHeaderGetShape}{}          % Returns path of text box shape
-\newcommand{\xebaposterHeaderSetShade}[3]{}       % Set bg style for box headers
-\newcommand{\xebaposterHeaderDrawBackground}[3]{} % Draw background of box header
-\newcommand{\xebaposterHeaderDrawBorder}[1]{}     % Draw border of box header
-\newcommand{\xebaposterHeaderDrawText}[1]{}       % Draw text inside box header
+\newcommand{\xebaposterHeaderGetShape}{}%          % Returns path of text box shape
+\newcommand{\xebaposterHeaderSetShade}[3]{}%       % Set bg style for box headers
+\newcommand{\xebaposterHeaderDrawBackground}[3]{}% % Draw background of box header
+\newcommand{\xebaposterHeaderDrawBorder}[1]{}%     % Draw border of box header
+\newcommand{\xebaposterHeaderDrawText}[1]{}%       % Draw text inside box header
 %
-\newcommand{\@@previousbox}{notset}             % stores the previously processed box for below=auto
+\newcommand{\@@previousbox}{notset}%             % stores the previously processed box for below=auto
 %
 % Function to set a user-defined background
 \newcommand{\xebaposter at backgroundCmd}{\error{No background command defined. Use \background{...} to define background}}%
@@ -407,7 +302,7 @@
   \PackageWarning{xebaposter}{Unknown background `\xebaposter at background' (use
       shadeLR, shadeTB, plain, none, or user). If user is used, you also
       have to define \background{...}.}%
-  \renewcommand{\xebaposterPosterDrawBackground}[2]{\xebaposter at background@none{##1}{##2}}
+  \renewcommand{\xebaposterPosterDrawBackground}[2]{\xebaposter at background@none{##1}{##2}}%
 }%
 %
 %
@@ -747,7 +642,7 @@
   \path (\xebaposter at box@name ne) +(0em,-0.5\xebaposter at box@@boxheaderheight) node[anchor=east,inner sep=0.4em] {#1};%
 \else
   \path (\xebaposter at box@name nw) +(0em,-0.5\xebaposter at box@@boxheaderheight) node[anchor=west,inner sep=0.4em] {#1};%
-\fi  
+\fi
 }%
 \newcommand{\xebaposter at box@headerdrawtext at smallrounded}[1]{%
   \path (\xebaposter at box@name nw) +(0.5\boxwidth,-0.5\xebaposter at box@@boxheaderheight) node[anchor=center] {#1};%
@@ -759,16 +654,16 @@
 \else
   \path (\xebaposter at box@name nw) +(0em,-0.5\xebaposter at box@@boxheaderheight)%
         node[anchor=west,inner sep=0.4em,text depth=0.4em] {#1};%
-\fi 
+\fi
 }%
 \newcommand{\xebaposter at box@headerdrawtext at roundedleft}[1]{%
 \if at xebaposter@persian
   \path (\xebaposter at box@name ne) +(0em,-0.5\xebaposter at box@@boxheaderheight)%
-        node[anchor=east,inner sep=0.4em] {#1};
-\else 
+        node[anchor=east,inner sep=0.4em] {#1};%
+\else
   \path (\xebaposter at box@name nw) +(0em,-0.5\xebaposter at box@@boxheaderheight)%
-        node[anchor=west,inner sep=0.4em] {#1};
-\fi 
+        node[anchor=west,inner sep=0.4em] {#1};%
+\fi
 }%
 \newcommand{\xebaposter at box@headerdrawtext at rounded}[1]{%
     \path (\xebaposter at box@name nw) +(0.5\boxwidth,-0.5\xebaposter at box@@boxheaderheight) node[anchor=center] {#1};%
@@ -935,9 +830,9 @@
 %
 \if at xebaposter@persian
     \def\xebaposter at box@title{\rl{##2}}%
-\else    
+\else
     \def\xebaposter at box@title{{##2}}%
-\fi    
+\fi
 %
     \colorlet{borderColor}{\xebaposter at box@borderColor}%
     \colorlet{headerColorOne}{\xebaposter at box@headerColorOne}%
@@ -953,8 +848,8 @@
 %
     %% The columns is always given absolute
 \if at xebaposter@persian
-    % boxstartx = (columns-column-span) * colwidth + (columns-column-span) * colspacing    
-%    \setlength{\boxstartx}{(\xebaposter at columns+-\xebaposter at box@column+-\xebaposter at box@span)*\colwidth+(\xebaposter at columns+-\xebaposter at box@column+-\xebaposter at box@span)*\xebaposter@@colspacing}%   
+    % boxstartx = (columns-column-span) * colwidth + (columns-column-span) * colspacing
+%    \setlength{\boxstartx}{(\xebaposter at columns+-\xebaposter at box@column+-\xebaposter at box@span)*\colwidth+(\xebaposter at columns+-\xebaposter at box@column+-\xebaposter at box@span)*\xebaposter@@colspacing}%
    \setlength{\boxstartx}{\xebaposter at columns\colwidth}%
     \addtolength{\boxstartx}{-\xebaposter at box@column\colwidth}%
     \addtolength{\boxstartx}{-\xebaposter at box@span\colwidth}%
@@ -964,18 +859,18 @@
 \else
     % boxstartx = column * colwidth + column * colspacing
     \setlength{\boxstartx}{(\colwidth+\xebaposter@@colspacing)*\xebaposter at box@column}%
-\fi 
+\fi
 %
     %% The width is gvien absolute
     % Box Width = span * colwidth + (span-1) * colspacing
-    \setlength{\boxwidth}{\xebaposter at box@span\colwidth} %
+    \setlength{\boxwidth}{\xebaposter at box@span\colwidth}%
     \addtolength{\boxwidth}{\xebaposter@@colspacing*(\xebaposter at box@span-1)}%
 %
     %% Measure the content of the box%
     \setbox\xebaposter at box@content=\hbox\bgroup%
       \begin{pgfinterruptpicture}%
-        \begin{minipage}[t]{\boxwidth-\xebaposter at box@@boxpadding*2}
-\if at xebaposter@persian
+        \begin{minipage}[t]{\boxwidth-\xebaposter at box@@boxpadding*2}%
+\if at xebaposter@persian%
         \persian%
 \fi
           \xebaposter at box@textfont\bgroup%
@@ -988,8 +883,8 @@
     \egroup%
     \setlength{\boxheight}{\ht\xebaposter at box@content}%
     \addtolength{\boxheight}{\dp\xebaposter at box@content}%
-    \addtolength{\boxheight}{\xebaposter at box@@boxheaderheight} % Header%
-    \addtolength{\boxheight}{2\xebaposter at box@@boxpadding} % Inner Sep
+    \addtolength{\boxheight}{\xebaposter at box@@boxheaderheight}% Header%
+    \addtolength{\boxheight}{2\xebaposter at box@@boxpadding}% Inner Sep
 %
     \ifthenelse{\equal{\xebaposter at box@height}{bottom}}{%
     }{\ifthenelse{\equal{\xebaposter at box@height}{auto}}{%
@@ -1012,12 +907,12 @@
     }{}%
     \xdef\@@previousbox{\xebaposter at box@name}%
 %
-    \ifthenelse{\not\equal{\xebaposter at box@below}{notset} }{%
+    \ifthenelse{\not\equal{\xebaposter at box@below}{notset}}{%
       %% Below%
       \debug{Below}%
       \path[shape=coordinate] (\boxstartx,0pt |- \xebaposter at box@below se) ++(0pt,-\xebaposter@@colspacing) coordinate(\xebaposter at box@name nw);%
     }{%
-      \ifthenelse{\not\equal{\xebaposter at box@aligned}{notset} }{%
+      \ifthenelse{\not\equal{\xebaposter at box@aligned}{notset}}{%
         %% Aligned%
         \debug{Aligned: \xebaposter at box@aligned}%
         \path[shape=coordinate] (\boxstartx,0pt |- \xebaposter at box@aligned nw) coordinate(\xebaposter at box@name nw);%
@@ -1025,7 +920,7 @@
         %% Fixed%
         \debug{Fixed}%
         \setlength{\boxstarty}{\xebaposter at box@row\colheight}%
-        \path[shape=coordinate] (\boxstartx,\colheight-\boxstarty) coordinate(\xebaposter at box@name nw);%
+        \path[shape=coordinate] (\boxstartx,\colheight-\boxstarty) coordinate (\xebaposter at box@name nw);%
     }}%
 %
     %% Lower Left Corner%
@@ -1034,11 +929,11 @@
       %% Above = Bottom%
       \debug{Above bottom}%
       \ifthenelse{\equal{\xebaposter at box@below}{notset} \and \equal{\xebaposter at box@aligned}{notset}}{%
-      \path[shape=coordinate] (\boxstartx,\boxheight) coordinate(\xebaposter at box@name nw);%
+      \path[shape=coordinate] (\boxstartx,\boxheight) coordinate (\xebaposter at box@name nw);%
       }{}%
-      \path[shape=coordinate] (\boxstartx+\boxwidth,0pt)                                                           coordinate(\xebaposter at box@name se);%
+      \path[shape=coordinate] (\boxstartx+\boxwidth,0pt) coordinate (\xebaposter at box@name se);%
       }{\ifthenelse{\not \equal{\xebaposter at box@bottomaligned}{notset}}{%
-        \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \xebaposter at box@bottomaligned se)                       coordinate(\xebaposter at box@name se);%
+        \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \xebaposter at box@bottomaligned se) coordinate (\xebaposter at box@name se);%
       }{{\ifthenelse{\not \equal{\xebaposter at box@above}{notset}}{%
         %% Above = Node%
         \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \xebaposter at box@above nw)  +(0pt,\xebaposter@@colspacing) coordinate(\xebaposter at box@name se);%
@@ -1048,10 +943,10 @@
         \ifthenelse{\equal{\xebaposter at box@height}{bottom}}{%
           %% height=bottom%
           \debug{height=bottom}%
-          \path[shape=coordinate] (\boxstartx+\boxwidth,0pt)                                                       coordinate(\xebaposter at box@name se);%
+          \path[shape=coordinate] (\boxstartx+\boxwidth,0pt) coordinate(\xebaposter at box@name se);%
         }{ %% height=auto or fixed%
           \debug{height=auto or fixed}%
-          \path[shape=coordinate] (\xebaposter at box@name nw) ++(\boxwidth,-\boxheight)                                coordinate(\xebaposter at box@name se);%
+          \path[shape=coordinate] (\xebaposter at box@name nw) ++(\boxwidth,-\boxheight) coordinate (\xebaposter at box@name se);%
 	  }}}}}%
 %
         %
@@ -1058,26 +953,25 @@
     % Set coordinates relative to nw,se%
     \debug{Fixing Coordinates}%
     \path[shape=coordinate]%
-      (\xebaposter at box@name nw) +(0pt,-\xebaposter at box@@boxheaderheight)    coordinate(\xebaposter at box@name tnw)%
-      (\xebaposter at box@name nw |- \xebaposter at box@name se)                  coordinate(\xebaposter at box@name sw)%
-      (\xebaposter at box@name se |- \xebaposter at box@name nw)                  coordinate(\xebaposter at box@name ne)%
-      (\xebaposter at box@name ne) +(0pt,-\xebaposter at box@@boxheaderheight)    coordinate(\xebaposter at box@name tne)%
+      (\xebaposter at box@name nw) +(0pt,-\xebaposter at box@@boxheaderheight) coordinate(\xebaposter at box@name tnw)%
+      (\xebaposter at box@name nw |- \xebaposter at box@name se) coordinate(\xebaposter at box@name sw)%
+      (\xebaposter at box@name se |- \xebaposter at box@name nw) coordinate(\xebaposter at box@name ne)%
+      (\xebaposter at box@name ne) +(0pt,-\xebaposter at box@@boxheaderheight) coordinate(\xebaposter at box@name tne)%
 %
-      (\xebaposter at box@name nw)  +(-0.025em,0pt)                          coordinate(\xebaposter at box@name outer nw)%
-      (\xebaposter at box@name tnw) +(-0.025em,0pt)                          coordinate(\xebaposter at box@name outer tnw)%
-      (\xebaposter at box@name sw)  +(-0.025em,0pt)                          coordinate(\xebaposter at box@name outer sw)%
+      (\xebaposter at box@name nw)  +(-0.025em,0pt) coordinate(\xebaposter at box@name outer nw)%
+      (\xebaposter at box@name tnw) +(-0.025em,0pt) coordinate(\xebaposter at box@name outer tnw)%
+      (\xebaposter at box@name sw)  +(-0.025em,0pt) coordinate(\xebaposter at box@name outer sw)%
 %
-      (\xebaposter at box@name ne)  +( 0.025em,0pt)                          coordinate(\xebaposter at box@name outer ne)%
-      (\xebaposter at box@name tne) +( 0.025em,0pt)                          coordinate(\xebaposter at box@name outer tne)%
-      (\xebaposter at box@name se)  +( 0.025em,0pt)                          coordinate(\xebaposter at box@name outer se);%
+      (\xebaposter at box@name ne)  +( 0.025em,0pt) coordinate(\xebaposter at box@name outer ne)%
+      (\xebaposter at box@name tne) +( 0.025em,0pt) coordinate(\xebaposter at box@name outer tne)%
+      (\xebaposter at box@name se)  +( 0.025em,0pt) coordinate(\xebaposter at box@name outer se);%
 %
       %% Setting the bg colors of the box header
       \xebaposterHeaderSetShade{headerColorOne}{headerColorTwo}{borderColor}%
 %
-      \tikzstyle{rc}=[rounded corners=\xebaposter at box@@cornerradius];%
-      \tikzstyle{src}=[rounded corners=0.5em];%
+      \tikzstyle{rc}=[rounded corners=\xebaposter at box@@cornerradius]%
+      \tikzstyle{src}=[rounded corners=0.5em]%
 %
-
     %% Now that everything is set up, draw the actual box, with bg and header
     \begin{scope}[line width=\xebaposter at box@linewidth]%
       %% Header%
@@ -1085,8 +979,8 @@
       \debug{Header-Shape: \xebaposter at box@headershape, header-border: \xebaposter at box@headerborder (\xebaposter at box@headerbordernr)}%
       % TODO: Also turn this last ifcase construct into a handler function
       %       We only need to determine (fill|shade)(draw|)...
-       \xebaposterHeaderDrawBackground{bgColorOne}{bgColorTwo}{borderColor}
-       \xebaposterHeaderDrawBorder{borderColor}
+      \xebaposterHeaderDrawBackground{bgColorOne}{bgColorTwo}{borderColor}%
+      \xebaposterHeaderDrawBorder{}%{borderColor}%
       \ifcase\xebaposter at box@headerbordernr\relax%
         % open
         \ifthenelse{\equal{\xebaposter at box@headershade}{plain}}{%
@@ -1094,7 +988,7 @@
         }{%
           \shadedraw [style=header colors] \xebaposterHeaderGetShape;%
         }%
-      \or
+      \or%
         % closed
         \ifthenelse{\equal{\xebaposter at box@headershade}{plain}}{%
           \filldraw  [style=header colors] \xebaposterHeaderGetShape -- cycle;%
@@ -1101,7 +995,7 @@
         }{%
           \shadedraw [style=header colors] \xebaposterHeaderGetShape -- cycle;%
         }%
-      \or
+      \or%
         % none
         \ifthenelse{\equal{\xebaposter at box@headershade}{plain}}{%
           \fill      [style=header colors] \xebaposterHeaderGetShape;%
@@ -1108,12 +1002,12 @@
         }{%
           \shade     [style=header colors] \xebaposterHeaderGetShape;%
         }%
-      \fi
+      \fi%
       %
       %% Draw the text inside the box header:
-    %%% %%% %%% %%% %%% buggy part because of color!! %%% %%% %%% %%% %%% %%% 
+    %%% %%% %%% %%% %%% buggy part because of color!! %%% %%% %%% %%% %%% %%%
       \xebaposterHeaderDrawText{\hbox{{\color{headerFontColor}\xebaposter at box@headerfont%
-      {\xebaposter at box@title}}}};%
+      {\xebaposter at box@title}}}}%
       %
       %% Text borders (border around boxes)
       \debug{Poster boxes}%
@@ -1159,47 +1053,47 @@
     %
     %
     %      % Draw Header%
-    \draw (north west) +(0em,1em+0.5\headerheight) node(image)[anchor=west]   { {\usebox{
-\if at xebaposter@persian
-    \xebaposter at titleimage@right
-\else
-    \xebaposter at titleimage@left
-\fi     }} };%
-    \draw (north east) +(0em,1em+0.5\headerheight) node(logo) [anchor=east]   { {\usebox{
-\if at xebaposter@persian
-    \xebaposter at titleimage@left
-\else 
-    \xebaposter at titleimage@right
-\fi     }} };%
+    \draw (north west) +(0em,1em+0.5\headerheight) node(image)[anchor=west]  {{\usebox{%
+\if at xebaposter@persian%
+    \xebaposter at titleimage@right%
+\else%
+    \xebaposter at titleimage@left%
+\fi}}};%
+    \draw (north east) +(0em,1em+0.5\headerheight) node(logo) [anchor=east]   {{\usebox{%
+\if at xebaposter@persian%
+    \xebaposter at titleimage@left%
+\else%
+    \xebaposter at titleimage@right%
+\fi}}};%
     %
     \ifxebaposter at eyecatcher% Has eye catcher%
       \draw (image.east) node(title)[anchor=west,text width=\xebaposter at titleimage@textwidth]{%
         \begin{minipage}{\xebaposter at titleimage@textwidth}%
           \begin{center}%
-\if at xebaposter@persian
-          \textbf{\Huge \rl{#3}}\\%
-          {\Large \rl{#4}}%
-\else
+\if at xebaposter@persian%
+          \textbf{\Huge\rl{#3}}\\%
+          {\Large\rl{#4}}%
+\else%
           \textbf{\Huge #3}\\%
           {\Large #4}%
-\fi          
+\fi%
           \end{center}%
         \end{minipage}%
       };%
     \else% Has no eye catcher
-      \draw (image.east) node(title)[anchor=west]  { {\begin{minipage}{\xebaposter at titleimage@textwidth}
-\if at xebaposter@persian      
-      \persian{\bfseries\Huge\rl{#3}}\\{\Large\rl{#4}}
-\else
-      {\bfseries\Huge #3}\\{\Large #4}
-\fi      
-      \end{minipage}} };%
-    \fi
+      \draw (image.east) node(title)[anchor=west]  {{\begin{minipage}{\xebaposter at titleimage@textwidth}
+\if at xebaposter@persian%
+      \persian{\bfseries\Huge\rl{#3}}\\{\Large\rl{#4}}%
+\else%
+      {\bfseries\Huge #3}\\{\Large #4}%
+\fi%
+      \end{minipage}}};%
+    \fi%
   }% END poster begin
 % The body
   {% BEGIN poster end
     % The end, draw gridlines if neccesary
-    \ifxebaposter at grid
+    \ifxebaposter at grid%
       \newdimen{\gridpos}%
       \pgfmathsetmacro{\z}{\xebaposter at columns-1}%
       \foreach \y in {0,...,\z}%
@@ -1212,15 +1106,15 @@
       %% 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}%
-        {\if at xebaposter@persian
+        {\if at xebaposter@persian%
             \draw[draw=green,draw opacity=0.7]  (\textwidth,\colheight-\y\colheight) --%
-                (0pt,\colheight-\y\colheight) node[anchor=east] {\y};%        
-        \else
+                (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|}%
     \fi%
   \end{tikzpicture}%
 %  \xkvview{}
- \par
+  \par%
   }% END poster end

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2022-06-08 17:34:24 UTC (rev 63512)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2022-06-08 20:37:30 UTC (rev 63513)
@@ -1606,6 +1606,7 @@
  'wsuipa'               => '&PREHOOK_wsuipa',
  'xecyr'	       	=> '&PREHOOK_flatten1',
  'yathesis'		=> '&PREHOOK_flatten1',
+ 'xebaposter'           => '&PREHOOK_flatten1',
  'xepersian'            => '&PREHOOK_flatten1',
  'xindex'               => '&PREHOOK_flatten1',
  'xsim'                 => '&PREHOOK_xsim',



More information about the tex-live-commits mailing list.