[GRASS-SVN] r64800 - in grass-promo/grassposter/2015_EGU_Python: . listings

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 4 14:39:14 PST 2015


Author: wenzeslaus
Date: 2015-03-04 14:39:14 -0800 (Wed, 04 Mar 2015)
New Revision: 64800

Modified:
   grass-promo/grassposter/2015_EGU_Python/listings/grass_module_cli.tex
   grass-promo/grassposter/2015_EGU_Python/main.tex
Log:
change style for block titles, make cli listing show whole lines

Modified: grass-promo/grassposter/2015_EGU_Python/listings/grass_module_cli.tex
===================================================================
--- grass-promo/grassposter/2015_EGU_Python/listings/grass_module_cli.tex	2015-03-04 21:48:06 UTC (rev 64799)
+++ grass-promo/grassposter/2015_EGU_Python/listings/grass_module_cli.tex	2015-03-04 22:39:14 UTC (rev 64800)
@@ -21,8 +21,8 @@
  raster, algebra, sum
 
 Usage:
- r.plus araster=name braster=name output=name [--overwrite] [--help]
-   [--verbose] [--quiet] [--ui]
+ r.plus araster=name braster=name output=name
+    [--overwrite] [--help] [--verbose]
 
 Flags:
  --o   Allow output files to overwrite existing files

Modified: grass-promo/grassposter/2015_EGU_Python/main.tex
===================================================================
--- grass-promo/grassposter/2015_EGU_Python/main.tex	2015-03-04 21:48:06 UTC (rev 64799)
+++ grass-promo/grassposter/2015_EGU_Python/main.tex	2015-03-04 22:39:14 UTC (rev 64800)
@@ -1,3 +1,6 @@
+% License: CC0
+% The license is CC0 but you can acknowledge the authors if you want to. See their names bellow.
+
 \documentclass[innermargin=10mm]{tikzposter}
 \usepackage{enumitem}
 \geometry{paperwidth=197cm,paperheight=100cm}
@@ -123,6 +126,10 @@
 \newcommand{\partitle}[1]{\bigskip \textbf{#1}\\[1ex]}
 \newcommand{\parinlinetitle}[1]{\bigskip \textbf{#1}\ }
 \newcommand{\textfontsize}{\LARGE}
+\newcommand{\blocktitlewrap}[1]{\textsf{\textbf{\LARGE#1}}}
+% it is not possible (?) to change block title in the class, using wrapper
+% the command introduced using:
+%   sed -i 's/\\block{\([^}]*\)}/\\block{\\blocktitlewrap{\1}}/g' main.tex
 
 % GRASS module
 \newcommand{\gmodule}[1]{\emph{#1}}
@@ -178,7 +185,7 @@
 % TODO: the two blocks below are just taken from testing poster
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Highlights}{
+\block{\blocktitlewrap{Highlights}}{
 % \setlength{\parskip}{1em}
 \textfontsize
 % \begin{itemize}
@@ -188,7 +195,7 @@
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Description}{
+\block{\blocktitlewrap{Description}}{
 % \textfontsize
 \Large
 \newcommand{\intropartitle}[1]{\parinlinetitle{#1}}
@@ -212,7 +219,7 @@
 \intropartitle{Scientific impact}
 }
 
-\block{More information}{
+\block{\blocktitlewrap{More information}}{
 \newcommand{\qrcodewidth}{1\linewidth}
 \hspace{-0.02\linewidth}
 \begin{tabular}{lll}
@@ -250,7 +257,7 @@
 \column{0.25}
 
 
-\block{GRASS Scripting library interface to GRASS GIS modules}{
+\block{\blocktitlewrap{GRASS Scripting library interface to GRASS GIS modules}}{
 
 The same applies to \pkg{grass.pygrass} syntax:
 
@@ -259,7 +266,7 @@
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{PyGRASS interface to GRASS GIS modules}{
+\block{\blocktitlewrap{PyGRASS interface to GRASS GIS modules}}{
 
 The same applies to \pkg{grass.pygrass} syntax:
 
@@ -268,7 +275,7 @@
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Using documentation for GRASS GIS modules}{
+\block{\blocktitlewrap{Using documentation for GRASS GIS modules}}{
 
 Documentation of GRASS GIS modules usually use Bash syntax for examples:
 
@@ -287,17 +294,17 @@
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{\pkg{ctypes} interface to C libraries}{
+\block{\blocktitlewrap{ctypes interface to C libraries}}{
 
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Using NumPy}{
+\block{\blocktitlewrap{Using NumPy}}{
 
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Using IPython Notebook}{
+\block{\blocktitlewrap{Using IPython Notebook}}{
 
 }
 
@@ -308,7 +315,7 @@
 \column{0.25}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Automatic creation of GUI and CLI}{
+\block{\blocktitlewrap{Automatic creation of GUI and CLI}}{
 
 \includegraphics[width=\linewidth, clip, trim=0 0 0 0]{grass_module}
 
@@ -318,12 +325,12 @@
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{PyGRASS interface to C libraries}{
+\block{\blocktitlewrap{PyGRASS interface to C libraries}}{
 
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Python script versus GRASS GIS module}{
+\block{\blocktitlewrap{Python script versus GRASS GIS module}}{
 and running code from IDE
 }
 
@@ -335,23 +342,23 @@
 \column{0.25}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Temporal framework}{
+\block{\blocktitlewrap{Temporal framework}}{
 
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Testing the code}{
+\block{\blocktitlewrap{Testing the code}}{
 
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{GRASS GIS Addons}{
+\block{\blocktitlewrap{GRASS GIS Addons}}{
 The GRASS GIS Addons ensures long-term preservation of the code.
 Well maintained modules in Addons can be moved to GRASS GIS itself.
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Alternatives to Python}{
+\block{\blocktitlewrap{Alternatives to Python}}{
 GRASS GIS modules are command line tools, so they can be used in shell scripting (e.g. Bash)
 and as subprocesses virtually any language as long as proper environment is set.
 
@@ -361,23 +368,34 @@
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{Acknowledgements}{
-\begin{tabular}{cp{0.75\linewidth}}
-\raisebox{-.4\height}{
-\includegraphics[width=0.2\linewidth]{osgeo}
+\block{\blocktitlewrap{Acknowledgements}}{
+
+\newcommand{\listhspace}{\hspace{0.005\linewidth}}
+\newcommand{\listlogowidth}{0.22\linewidth}
+\newcommand{\listtextwidth}{0.76\linewidth}
+
+\begin{minipage}{\listlogowidth}
+\includegraphics[width=\linewidth]{osgeo}
+\end{minipage}
+\listhspace
+\begin{minipage}{\listtextwidth}
+GRASS GIS is a OSGeo project. OSGeo provides infrastructure for websites and source code management.
+\end{minipage}
+
+\bigskip
+
+\begin{minipage}{\listlogowidth}
+\includegraphics[width=\linewidth]{google}
+\end{minipage}
+\listhspace
+\begin{minipage}{\listtextwidth}
+Initial development of \pkg{pygrass} and \pkg{gunittest} packages was done during Google Summer of Code.
+\end{minipage}
 }
-& GRASS GIS is a OSGeo project. OSGeo provides infrastructure for websites and source code management.
-\\
-\raisebox{-.8\height}{
-\includegraphics[width=0.2\linewidth]{google}
-}
-& Initial development of \pkg{pygrass} and \pkg{gunittest} packages was done during Google Summer of Code.
-\end{tabular}
-}
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{References}{
+\block{\blocktitlewrap{References}}{
 
 % disable the title
 \renewcommand{\section}[2]{}



More information about the grass-commit mailing list