From 81ee5e54df53e5bb20be20bfefae95dd1e9815ef Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 31 Aug 2016 22:47:28 +0000 Subject: ijsra (31aug16) git-svn-id: svn://tug.org/texlive/trunk@41964 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/ijsra/README.md | 4 +- Master/texmf-dist/doc/latex/ijsra/ijsra.pdf | Bin 347249 -> 424041 bytes Master/texmf-dist/doc/latex/ijsra/ijsra.tex | 9 ++++ Master/texmf-dist/tex/latex/ijsra/ijsra.cls | 64 ++++++++++++++++++----- Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg | Bin 233253 -> 0 bytes Master/texmf-dist/tex/latex/ijsra/ijsra_logo.png | Bin 0 -> 329827 bytes 6 files changed, 63 insertions(+), 14 deletions(-) delete mode 100644 Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg create mode 100644 Master/texmf-dist/tex/latex/ijsra/ijsra_logo.png diff --git a/Master/texmf-dist/doc/latex/ijsra/README.md b/Master/texmf-dist/doc/latex/ijsra/README.md index 8ad4a99efb8..727984e3742 100644 --- a/Master/texmf-dist/doc/latex/ijsra/README.md +++ b/Master/texmf-dist/doc/latex/ijsra/README.md @@ -1,7 +1,7 @@ document class __ijsra__ ======= -_2016/08/18 v0.2_ +_2016/09/01 v0.3_ Copyright (c) 2016 Lukas C. Bossert @@ -24,7 +24,7 @@ and its style: and the required logo: -* ijsra_logo.jpg +* ijsra_logo.png This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf b/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf index 3f625ac9bba..ab7d3574db7 100644 Binary files a/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf and b/Master/texmf-dist/doc/latex/ijsra/ijsra.pdf differ diff --git a/Master/texmf-dist/doc/latex/ijsra/ijsra.tex b/Master/texmf-dist/doc/latex/ijsra/ijsra.tex index d49014fb4b6..661fa895c9a 100644 --- a/Master/texmf-dist/doc/latex/ijsra/ijsra.tex +++ b/Master/texmf-dist/doc/latex/ijsra/ijsra.tex @@ -342,6 +342,15 @@ Abstract\marginnote{Abstract (French)} in French: Copy and paste the abstract in %\end{lstlisting} +\IJSRAseparator +Global options: These options can be used and set to the current number: +|month|, +|year|, +|volume|, +|number|. + +Furthermore you can set the document to |draft| or give the name of the title figure with |titlefigure|. +The title figure has to be within the folder |figures| and be in a ratio of \SIrange{1000}{400}{pt}. \IJSRAseparator Some general information: diff --git a/Master/texmf-dist/tex/latex/ijsra/ijsra.cls b/Master/texmf-dist/tex/latex/ijsra/ijsra.cls index 957a94eaec6..cd3f61aebe6 100644 --- a/Master/texmf-dist/tex/latex/ijsra/ijsra.cls +++ b/Master/texmf-dist/tex/latex/ijsra/ijsra.cls @@ -20,8 +20,8 @@ \RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex} \RequirePackage{xkeyval} -\def\IJSRAversion{0.2} -\def\IJSRAversiondate{2016/08/18} +\def\IJSRAversion{0.3} +\def\IJSRAversiondate{2016/09/01} @@ -29,6 +29,7 @@ \newcommand*\IJSRAyear{\scshape proof}% \edef\issueyear{\the\year} \newcommand*\IJSRAvolume{\scshape proof} \newcommand*\IJSRAnumber{\scshape proof} +\newcommand*\IJSRAtitlefigure{\color{mygold}\rule{\linewidth}{410pt}} \newcommand*\IJSRAidentifier{\jobname} @@ -38,6 +39,7 @@ \DeclareOptionX{year}{\def\IJSRAyear{#1}} \DeclareOptionX{volume}{\def\IJSRAvolume{Vol.\addspace #1}} \DeclareOptionX{number}{\def\IJSRAnumber{No.\addspace #1}} +\DeclareOptionX{titlefigure}{\def\IJSRAtitlefigure{\includegraphics[width=\linewidth]{figures/#1}}} \DeclareOptionX*{\OptionNotUsed} \ProcessOptionsX\relax @@ -61,17 +63,16 @@ \RequirePackage{libertine} \renewcommand*\ttdefault{lmvtt} \RequirePackage[french, ngerman, spanish, italian, main=english]{babel} - \ifxetex\else - \RequirePackage[% - ,protrusion=true - ,expansion=true - ,verbose=true - ,final=true - ,letterspace=100 - ,babel=true - ]{microtype} - \fi +\RequirePackage[% +,protrusion=true +,expansion=true +,verbose=true +,final=true +,letterspace=100 +,babel=true +]{microtype} +\fi \RequirePackage{colortbl} \RequirePackage{abbrevs} \RequirePackage{alertmessage} @@ -113,6 +114,7 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \RequirePackage{hologo} \definecolor{myblue}{rgb}{0,0,51} \definecolor{mygold}{RGB}{204,153,51} +\definecolor{mybluetitle}{RGB}{28,40,65} % HEX 1c2841 \definecolor{codeblue}{RGB}{0,65,137} \definecolor{codegreen}{RGB}{147,193,26} @@ -300,6 +302,44 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \label{lastpage\IJSRAidentifier} } +\def\Put(#1,#2)#3{\makebox(0,0){\put(#1,#2){#3}}} + +\def\IJSRAtitlepage{% +\definecolor{mybluetitle}{RGB}{28,40,65} % HEX 1c2841 +\newgeometry{% + head=0cm, % - no header + foot =0cm, + bindingoffset=0cm, % - binding correction + top=0cm, % - total body: top margin + left=0cm, % - total body: left margin (odd pages) + right=0cm, % - total body: right margin (odd pages) + bottom=0cm, % - total body: bottom margin + marginparwidth=0cm, % - width for side note +} +\thispagestyle{empty} +\pagecolor{mybluetitle} +\Put(-11,-450){\IJSRAtitlefigure}\\ +\Put(-11,-450){\color{white}\rule{1.5\linewidth}{15pt}} +\Put(.5\linewidth-3.5cm,-1.1\linewidth){\includegraphics[width=7cm]{ijsra_logo.png}}\\ + +\vspace{.6\linewidth} +\begin{center}\color{white} +\fontsize{40}{40}\selectfont +International Journal of \\ +Student Research in \\ +Archaeology + +\vfill +\fontsize{15}{15}\selectfont +\IJSRAnumber\ \IJSRAvolume\\ +\IJSRAmonth\ \IJSRAyear + +\vspace{2em} +{ijsra.org} +\end{center} +\clearpage\restoregeometry\pagecolor{white}} + + \DeclareCaptionFormat{listing}{#1#2#3} \captionsetup[lstlisting]{format=listing,% singlelinecheck=false, diff --git a/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg b/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg deleted file mode 100644 index 4f5f6b89cb2..00000000000 Binary files a/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.jpg and /dev/null differ diff --git a/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.png b/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.png new file mode 100644 index 00000000000..6a01af992fb Binary files /dev/null and b/Master/texmf-dist/tex/latex/ijsra/ijsra_logo.png differ -- cgit v1.2.3