| 1 |
%% fancymag.sty |
| 2 |
%% ------------------------------------------------------------------- |
| 3 |
%% A LaTeX package for designing elegant author profiles and content |
| 4 |
%% blocks, perfect for academic magazines, scientific books, and |
| 5 |
%% editorial publications. |
| 6 |
%% |
| 7 |
%% Author : Ashadul Halder; Soumik Ghosh |
| 8 |
%% Version : 1.0 |
| 9 |
%% Date : 2025-07-07 |
| 10 |
%% License : LaTeX Project Public License (LPPL) v1.3c or later |
| 11 |
%% |
| 12 |
%% This package may be distributed and/or modified under the |
| 13 |
%% conditions of the LaTeX Project Public License, either version 1.3c |
| 14 |
%% of this license or (at your option) any later version. |
| 15 |
%% |
| 16 |
%% The latest version of this license is available at: |
| 17 |
%% http://www.latex-project.org/lppl.txt |
| 18 |
%% |
| 19 |
%% To use the package, compilation must be done with lualatex |
| 20 |
%% and a few required folders (as outlined in the documentation) must be present |
| 21 |
%% in the working directory. These folders contain necessary font and style |
| 22 |
%% resources that the package depends on. |
| 23 |
%% ------------------------------------------------------------------- |
| 24 |
\ProvidesPackage{fancymag}[2025/07/07 v1.0 Modern, stylish typography for academic magazines and scientific publications] |
| 25 |
\RequirePackage{babel} |
| 26 |
\RequirePackage{fontspec} |
| 27 |
|
| 28 |
\babelfont{tt}[Path = fonts/,]{FiraMono-Regular.ttf} |
| 29 |
\babelfont{sf}[Path = fonts/,]{Montserrat-Bold.ttf} |
| 30 |
\RequirePackage{amsfonts} |
| 31 |
\RequirePackage{amsmath} |
| 32 |
\RequirePackage{amssymb} |
| 33 |
%\RequirePackage{chancery} |
| 34 |
%\RequirePackage{pbsi} |
| 35 |
\RequirePackage{fontspec} |
| 36 |
%\RequirePackage{fourier} |
| 37 |
%\RequirePackage{gillius} |
| 38 |
%\RequirePackage[defaultmono, scale=.90]{droidsansmono} |
| 39 |
\RequirePackage{calligra} |
| 40 |
%\RequirePackage[protrusion=true,expansion=true,final,tracking]{microtype} |
| 41 |
\RequirePackage{xcolor} |
| 42 |
\RequirePackage{graphicx} |
| 43 |
\RequirePackage{tikz} |
| 44 |
\RequirePackage{adjustbox} |
| 45 |
\RequirePackage{wrapfig} |
| 46 |
\RequirePackage{eso-pic} |
| 47 |
\RequirePackage{geometry} |
| 48 |
\RequirePackage{titlesec} |
| 49 |
\RequirePackage{caption} |
| 50 |
\RequirePackage{fancyhdr} |
| 51 |
%\RequirePackage{scrextend} |
| 52 |
\RequirePackage{balance} |
| 53 |
\RequirePackage{multicol} |
| 54 |
\RequirePackage{afterpage} |
| 55 |
\RequirePackage{lettrine} |
| 56 |
\RequirePackage{xstring} |
| 57 |
\RequirePackage{shadowtext} |
| 58 |
\RequirePackage{lipsum} |
| 59 |
\RequirePackage{pdfrender} |
| 60 |
\RequirePackage{shadowtext} |
| 61 |
\RequirePackage{fix-cm} |
| 62 |
\RequirePackage{textpos} |
| 63 |
\RequirePackage{everypage-1x} |
| 64 |
|
| 65 |
%\font\beng = {name:kalpurush.ttf:mode=harf;script=beng} at 10pt |
| 66 |
\newfontfamily\customfontone[Path=fonts/,]{Audiowide-Regular.ttf}[] |
| 67 |
\newfontfamily\customfonttwo[Path=fonts/,]{ImperialScript-Regular.ttf}[] |
| 68 |
\newfontfamily\customfontthree[Path=fonts/,]{Rationale-Regular.ttf}[] |
| 69 |
\newfontfamily\customfontfour[Path=fonts/,]{Orbitron-VariableFont_wght.ttf}[] |
| 70 |
\newfontfamily\headrf[Path=fonts/,]{OleoScriptSwashCaps-Regular.ttf}[] |
| 71 |
|
| 72 |
%\RequirePackage[banglamainfont=Kalpurush, |
| 73 |
% banglattfont=Kalpurush |
| 74 |
% ]{latexbangla} |
| 75 |
|
| 76 |
%\geometry{includehead,top=2cm,bottom=2cm} |
| 77 |
\BeforeBeginEnvironment{wrapfigure}{\setlength{\intextsep}{0pt}} |
| 78 |
\newcommand{\fakebold}[1]{\textpdfrender{TextRenderingMode=FillStroke,LineWidth=0.5pt}{#1}} |
| 79 |
\usetikzlibrary{shadows.blur} |
| 80 |
\usetikzlibrary{patterns} |
| 81 |
|
| 82 |
%\geometry{includehead,top=1.5cm,bottom=2cm} |
| 83 |
\geometry{includehead,left=2.2cm, right=2.2cm, % Left and right margins for odd/even pages |
| 84 |
top=1.5cm, bottom=2cm, % Top and bottom margins |
| 85 |
bindingoffset=1.5cm % Space for binding on the inner margin |
| 86 |
} |
| 87 |
\setlength{\headheight}{14.16103pt} |
| 88 |
%\BeforeBeginEnvironment{wrapfigure}{\setlength{\intextsep}{0pt}} |
| 89 |
|
| 90 |
\pagestyle{fancy} |
| 91 |
\fancyhf{} |
| 92 |
\renewcommand{\headrulewidth}{1.5pt} |
| 93 |
\fancypagestyle{firstpage}{ |
| 94 |
\fancyhf{} % Clear all headers and footers |
| 95 |
\renewcommand{\headrulewidth}{0pt} |
| 96 |
\fancyfoot[c]{\fontsize{15}{15}\selectfont\textcolor{accent}{\headrf {\textbf{\thepage}}}} |
| 97 |
\fancyhead[R]{} |
| 98 |
\fancyhead[L]{} |
| 99 |
} |
| 100 |
|
| 101 |
\setlength\parindent{0pt} |
| 102 |
\setlength\parskip{0pt} |
| 103 |
\renewcommand{\baselinestretch}{1.1} |
| 104 |
\setlength\columnsep{18pt} |
| 105 |
\definecolor{accent}{HTML}{0080EE} |
| 106 |
\definecolor{accentlight}{HTML}{77eeff} |
| 107 |
\definecolor{grc}{HTML}{999999} |
| 108 |
\definecolor{mt}{HTML}{007777} |
| 109 |
\definecolor{ttl}{HTML}{0077aa} |
| 110 |
\definecolor{ttl1}{HTML}{005599} |
| 111 |
\renewcommand{\LettrineFontHook}{\color{accent}\Huge\bfseries} |
| 112 |
\setcounter{DefaultLines}{3} |
| 113 |
|
| 114 |
\fancyfoot[RE]{\fontsize{14}{14}\selectfont\textcolor{ttl}{\headrf{\thepage}}} |
| 115 |
\fancyfoot[LO]{\fontsize{14}{14}\selectfont\textcolor{ttl}{\headrf{\thepage}}} |
| 116 |
|
| 117 |
\newcommand{\bgchange}[1]{% |
| 118 |
\AddEverypageHook{% Hook for every page |
| 119 |
\AddToShipoutPictureBG*{ |
| 120 |
\AtPageLowerLeft{ |
| 121 |
\includegraphics[width=\paperwidth,height=\paperheight]{#1}% Background image |
| 122 |
} |
| 123 |
} |
| 124 |
} |
| 125 |
} |
| 126 |
|
| 127 |
\newcommand{\titlepg}[1]{% |
| 128 |
\newpage |
| 129 |
\begingroup |
| 130 |
\onecolumn |
| 131 |
\shadowoffset{0pt} |
| 132 |
\shadowrgb{0,0,0} |
| 133 |
\begin{tikzpicture}[remember picture, overlay] |
| 134 |
\node[anchor=south west, inner sep=0] at (current page.south west) { |
| 135 |
\includegraphics[width=\paperwidth, height=\paperheight]{img/fancymag-msg_bg.jpg} |
| 136 |
}; |
| 137 |
%\node[align=center] at (current page.center) |
| 138 |
%{{\fontsize{40}{40}\selectfont \textbf{#1}}}; |
| 139 |
\end{tikzpicture} |
| 140 |
\begin{center} |
| 141 |
\baselineskip=20pt |
| 142 |
\vfill |
| 143 |
{\noindent\fontsize{40}{40}\selectfont \customfontthree{\textcolor{accent}{#1}}} |
| 144 |
\vfill |
| 145 |
\end{center} |
| 146 |
|
| 147 |
|
| 148 |
\clearpage |
| 149 |
\endgroup |
| 150 |
} |
| 151 |
|
| 152 |
\newenvironment{photoenv}{ |
| 153 |
\clearpage |
| 154 |
\begingroup |
| 155 |
\onecolumn |
| 156 |
}{ |
| 157 |
\clearpage |
| 158 |
\endgroup |
| 159 |
} |
| 160 |
|
| 161 |
\newcommand{\albumphoto}[3]{ |
| 162 |
\begin{minipage}[t]{0.99\textwidth} |
| 163 |
\begin{tikzpicture} |
| 164 |
\node[draw=white, line width=3mm, inner sep=0pt, outer sep=0pt, blur shadow={shadow xshift=0mm, shadow yshift=0mm, shadow scale=1.04, shadow blur steps=15}] |
| 165 |
(image) at (0,0){\includegraphics[height=8cm, width=12cm]{#3}}; |
| 166 |
\shade[shading=axis, |
| 167 |
left color={rgb,255:red,0; green,55; blue,255}, |
| 168 |
right color={rgb,255:red,0; green,255; blue,255}, blur shadow={shadow yshift=-2mm, shadow blur steps=8}] |
| 169 |
(-\textwidth*0.5, -0.175\textheight) rectangle (\textwidth*0.5, -0.25\textheight); |
| 170 |
\node[align=center, text width=10cm] at (0.01,-0.212\textheight) {\fontsize{25}{25}\selectfont{\fakebold{\textcolor{black}{#1}}}\\ |
| 171 |
[5em] |
| 172 |
%\fontsize{15}{15}\selectfont {#2} |
| 173 |
}; |
| 174 |
\node[align=center, text width=10cm] at (-0.01,-0.208\textheight) {\fontsize{25}{25}\selectfont{\fakebold{\textcolor{black}{#1}}}\\ |
| 175 |
[5em] |
| 176 |
%\fontsize{15}{15}\selectfont {#2} |
| 177 |
}; |
| 178 |
\node[align=center, text width=10cm] at (0,-0.21\textheight) {\fontsize{25}{25}\selectfont{\fakebold{\textcolor{white}{#1}}}\\ |
| 179 |
[5em] |
| 180 |
%\fontsize{15}{15}\selectfont {#2} |
| 181 |
}; |
| 182 |
\end{tikzpicture} |
| 183 |
\end{minipage} |
| 184 |
|
| 185 |
\vskip 1 cm |
| 186 |
} |
| 187 |
|
| 188 |
\newcommand\SectionBackgroundlold[5]{% |
| 189 |
\AddThispageHook{% |
| 190 |
\AddToShipoutPictureBG*{% |
| 191 |
\put(0,0){% |
| 192 |
\begin{tikzpicture}[remember picture, overlay] |
| 193 |
% Background images |
| 194 |
\node[anchor=north west] at (current page.north west) {\includegraphics[width=0.42\paperwidth,height=\paperheight]{#5}}; |
| 195 |
\node[anchor=north east] at (current page.north east) {\includegraphics[width=0.56\paperwidth,height=\paperheight]{img/fancymag-blank.png}}; |
| 196 |
|
| 197 |
% Shaded background rectangle |
| 198 |
\shade[shading=axis, |
| 199 |
left color={rgb,255:red,0; green,255; blue,255}, |
| 200 |
right color={rgb,255:red,0; green,55; blue,255}, blur shadow={shadow yshift=-2mm, shadow blur steps=10}] |
| 201 |
(0, 0.30\textheight) rectangle (\paperwidth, 0.17\textheight); |
| 202 |
|
| 203 |
% Main image with frame |
| 204 |
\node[anchor=center] at (5, 0.33\textheight) { |
| 205 |
\includegraphics[width=3.5cm, height=4.5cm]{#4} |
| 206 |
}; |
| 207 |
\draw[line width=2mm, color=white] (5, 0.33\textheight) rectangle (5+3.5cm, 0.33\textheight + 4.5cm); % Frame around image |
| 208 |
|
| 209 |
% Text nodes with shadow effect |
| 210 |
\node [anchor=west, font=\LARGE, color={rgb,255:red,255; green,255; blue,255}] at (9, 6.2) {\shadowtext{\fontsize{30}{30}\selectfont {\customfonttwo #1}}}; |
| 211 |
\node [anchor=west, font=\LARGE, color={rgb,255:red,255; green,255; blue,0}] at (9, 5) {\shadowtext{\fontsize{15}{15}\selectfont \textbf{#2}}}; |
| 212 |
\node [anchor=west, font=\LARGE, color={rgb,255:red,255; green,255; blue,0}] at (9, 4.5) {\shadowtext{\fontsize{15}{15}\selectfont \textbf{#3}}}; |
| 213 |
\end{tikzpicture} |
| 214 |
}% |
| 215 |
}% |
| 216 |
}% |
| 217 |
} |
| 218 |
|
| 219 |
\newcommand\SectionBackgroundl[5]{% |
| 220 |
\AddThispageHook{% |
| 221 |
\AddToShipoutPictureBG*{% |
| 222 |
\put(0,0){ |
| 223 |
\begin{tikzpicture} |
| 224 |
% Background images on the left and right |
| 225 |
\node[anchor=north west] at (current page.north west) { |
| 226 |
\includegraphics[width=0.42\paperwidth, height=\paperheight]{#5}}; |
| 227 |
\node[anchor=north east] at (current page.north east) { |
| 228 |
\includegraphics[width=0.56\paperwidth, height=\paperheight]{img/fancymag-blank.png}}; |
| 229 |
% Gradient shading |
| 230 |
\shade[shading=axis, |
| 231 |
left color={rgb,255:red,0; green,255; blue,255}, |
| 232 |
right color={rgb,255:red,0; green,55; blue,255}, |
| 233 |
blur shadow={shadow yshift=-2mm, shadow blur steps=8}] |
| 234 |
(0, 0.30\textheight) rectangle (\paperwidth, 0.17\textheight); |
| 235 |
% Central image with border and shadow |
| 236 |
\node[anchor=center, blur shadow={shadow xshift=-2mm, shadow yshift=-2mm, shadow blur steps=8}] at (5, 0.33\textheight) { |
| 237 |
\includegraphics[width=3.5cm, height=4.5cm]{#4}}; |
| 238 |
\draw[line width=2mm, color=white] |
| 239 |
([xshift=-1.75cm, yshift=-2.25cm]5, 0.33\textheight) |
| 240 |
rectangle ([xshift=1.75cm, yshift=2.25cm]5, 0.33\textheight); |
| 241 |
% Text content |
| 242 |
\shadowoffset{0pt} |
| 243 |
\shadowrgb{0,0,0} |
| 244 |
\node[anchor=west, font=\LARGE, color=white] at (9, 6) { |
| 245 |
\shadowtext{\fontsize{25}{25}\selectfont {\textsf{\textit{\textbf{#1}}}}}}; |
| 246 |
\node[anchor=west, font=\LARGE, color={rgb,255:red,255; green,255; blue,0}] at (9, 5) { |
| 247 |
\shadowtext{\fontsize{15}{15}\selectfont \textbf{#2}}}; |
| 248 |
\node[anchor=west, font=\LARGE, color={rgb,255:red,255; green,255; blue,0}] at (9, 4.5) { |
| 249 |
\shadowtext{\fontsize{15}{15}\selectfont \textbf{#3}}}; |
| 250 |
\end{tikzpicture} |
| 251 |
} |
| 252 |
} |
| 253 |
} |
| 254 |
} |
| 255 |
|
| 256 |
\newcommand\SectionBackgroundr[5]{% |
| 257 |
\AddThispageHook{% |
| 258 |
\AddToShipoutPictureBG*{% |
| 259 |
\put(0,0){ |
| 260 |
\begin{tikzpicture} |
| 261 |
% Background images on the left and right |
| 262 |
\node[anchor=north west] at (current page.north west) { |
| 263 |
\includegraphics[width=0.56\paperwidth, height=\paperheight]{img/fancymag-blank.png}}; |
| 264 |
\node[anchor=north east] at (current page.north east) { |
| 265 |
\includegraphics[width=0.42\paperwidth, height=\paperheight]{#5}}; |
| 266 |
% Gradient shading |
| 267 |
\shade[shading=axis, |
| 268 |
left color={rgb,255:red,0; green,55; blue,255}, |
| 269 |
right color={rgb,255:red,0; green,255; blue,255}, |
| 270 |
blur shadow={shadow yshift=-2mm, shadow blur steps=8}] |
| 271 |
(0, 0.30\textheight) rectangle (\paperwidth, 0.17\textheight); |
| 272 |
% Central image with border and shadow |
| 273 |
\node[anchor=center, blur shadow={shadow xshift=-2mm, shadow yshift=-2mm, shadow blur steps=8}] at (16.5, 0.33\textheight) { |
| 274 |
\includegraphics[width=3.5cm, height=4.5cm]{#4}}; |
| 275 |
\draw[line width=2mm, color=white] |
| 276 |
([xshift=-1.75cm, yshift=-2.25cm]16.5, 0.33\textheight) |
| 277 |
rectangle ([xshift=1.75cm, yshift=2.25cm]16.5, 0.33\textheight); |
| 278 |
% Text content |
| 279 |
\shadowoffset{0pt} |
| 280 |
\shadowrgb{0,0,0} |
| 281 |
\node[anchor=east, font=\LARGE, color=white] at (12, 6) { |
| 282 |
\shadowtext{\fontsize{25}{25}\selectfont {\textsf{\textit{\textbf{#1}}}}}}; |
| 283 |
\node[anchor=east, font=\LARGE, color={rgb,255:red,255; green,255; blue,0}] at (12, 5) { |
| 284 |
\shadowtext{\fontsize{15}{15}\selectfont \textbf{#2}}}; |
| 285 |
\node[anchor=east, font=\LARGE, color={rgb,255:red,255; green,255; blue,0}] at (12, 4.5) { |
| 286 |
\shadowtext{\fontsize{15}{15}\selectfont \textbf{#3}}}; |
| 287 |
\end{tikzpicture} |
| 288 |
} |
| 289 |
} |
| 290 |
} |
| 291 |
} |
| 292 |
|
| 293 |
|
| 294 |
\newenvironment{particle2}[6]{ |
| 295 |
\clearpage |
| 296 |
\twocolumn |
| 297 |
\balance |
| 298 |
% \newpage |
| 299 |
\thispagestyle{firstpage} |
| 300 |
%\twocolumn |
| 301 |
\fancyhf{} |
| 302 |
\fancyhead[LO]{\textcolor{accent}{\large\textbf{#2}}} |
| 303 |
\fancyhead[RE]{\textcolor{accent}{\textbf{#1}}} |
| 304 |
\fancyhead[RO]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 305 |
\fancyhead[LE]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 306 |
\begingroup |
| 307 |
\ifodd\value{page} |
| 308 |
\SectionBackgroundr{#2}{#3}{#4}{#5}{#6} |
| 309 |
\begin{figure}[b] |
| 310 |
\centering |
| 311 |
\begin{tikzpicture} |
| 312 |
\draw[fill=none, draw=none] (0, 0) rectangle (\linewidth*0.3, \textheight*0.19); |
| 313 |
\end{tikzpicture} |
| 314 |
\end{figure} |
| 315 |
\columnbreak |
| 316 |
|
| 317 |
\begin{figure}[b!] |
| 318 |
\centering |
| 319 |
\begin{tikzpicture} |
| 320 |
\draw[fill=none, draw=none] (0, 0) rectangle (0.4*\linewidth, 0.98*\textheight); |
| 321 |
\end{tikzpicture} |
| 322 |
\end{figure} |
| 323 |
\else |
| 324 |
\SectionBackgroundl{#2}{#3}{#4}{#5}{#6} |
| 325 |
\vskip 6.9 cm |
| 326 |
\begin{figure}[t!] |
| 327 |
\centering |
| 328 |
\begin{tikzpicture} |
| 329 |
\draw[fill=none, draw=none] (0, 0) rectangle (\linewidth*0.4, \textheight*0.99); |
| 330 |
\end{tikzpicture} |
| 331 |
\end{figure} |
| 332 |
\columnbreak |
| 333 |
\begin{figure}[b!] % Place figure at the bottom of the page |
| 334 |
\centering |
| 335 |
\begin{tikzpicture} |
| 336 |
\draw[fill=none, draw=none] (0, 0) rectangle (\linewidth*0.4, \textheight*0.21); |
| 337 |
\end{tikzpicture} |
| 338 |
\end{figure} |
| 339 |
\fi |
| 340 |
{\fontsize{15.5}{16.5} \selectfont \textcolor{ttl}{\textsf{\textbf{#1}}}} |
| 341 |
\vskip 1.5 cm |
| 342 |
\setcounter{figure}{0} |
| 343 |
}{ |
| 344 |
\endgroup |
| 345 |
\balance |
| 346 |
\clearpage |
| 347 |
} |
| 348 |
|
| 349 |
\newcommand{\heading}[1]{% |
| 350 |
\vspace{1.5em} % Space before |
| 351 |
\noindent\textbf{\textcolor{blue}{\Large #1}}\par |
| 352 |
\vspace{1em} % Space after |
| 353 |
} |
| 354 |
|
| 355 |
\newcommand{\msgfigurel}[6]{ |
| 356 |
\begin{tikzpicture} |
| 357 |
\pgfmathsetmacro{\xx}{3} |
| 358 |
\pgfmathsetmacro{\yy}{-6} |
| 359 |
\shade[bottom color={rgb,255:red,240; green,250; blue,255},top color={rgb,255:red,255; green,255; blue,255}](-5,7) rectangle (0.78*\linewidth, -0.98*\textheight); |
| 360 |
\node[anchor=east] at (17,7) { |
| 361 |
\includegraphics[width=21.9cm,height=25cm]{img/fancymag-msg_bg.jpg} |
| 362 |
}; |
| 363 |
%\draw[fill=none, draw=none] (5,7) rectangle (0.76*\linewidth, -0.93*\textheight); |
| 364 |
\draw[thick, pattern=north east lines, pattern color=accentlight, draw=none] |
| 365 |
(0+\xx, 3+\yy) -- (2.61+\xx, 1.5+\yy) -- (2.61+\xx, -1.5+\yy) -- |
| 366 |
(0+\xx, -3+\yy) -- (-2.61+\xx, -1.5+\yy) -- (-2.61+\xx, 1.5+\yy) -- cycle; |
| 367 |
\draw[thick, fill=grc, draw=none] |
| 368 |
(0, 4.35) -- (3.77, 2.17) -- (3.77, -2.17) -- |
| 369 |
(0, -4.35) -- (-3.77, -2.17) -- (-3.77, 2.17) -- cycle; |
| 370 |
\draw[thick, fill=white, draw=none] |
| 371 |
(0, 4.3) -- (3.74, 2.15) -- (3.74, -2.15) -- |
| 372 |
(0, -4.3) -- (-3.74, -2.15) -- (-3.74, 2.15) -- cycle; |
| 373 |
\node[anchor=west,text=mt] at (-3.6,-8.5) {\fontsize{15}{15}\selectfont \textit{#1}}; |
| 374 |
\node[anchor=west, text=black] at (-3.6,-9.5) {\fontsize{15}{15}\selectfont {#2}}; |
| 375 |
\node[anchor=west, text=black] at (-3.6,-10) {\fontsize{11}{11}\selectfont \textit{#3}}; |
| 376 |
\node[anchor=center] at (-1,-6.7) {\includegraphics[width=#6]{#5}}; |
| 377 |
\clip |
| 378 |
(0, 4) -- (3.48, 2) -- (3.48, -2) -- |
| 379 |
(0, -4) -- (-3.48, -2) -- (-3.48, 2) -- cycle; |
| 380 |
\node[anchor=center] at (0, 0) { |
| 381 |
\includegraphics[width=8cm, height=8cm]{#4} |
| 382 |
}; |
| 383 |
|
| 384 |
\end{tikzpicture} |
| 385 |
} |
| 386 |
|
| 387 |
\newcommand{\msgfigurer}[6]{ |
| 388 |
\begin{tikzpicture} |
| 389 |
\pgfmathsetmacro{\xx}{-3} % Width of the hexagon |
| 390 |
\pgfmathsetmacro{\yy}{-6} % Width of the hexagon |
| 391 |
\draw[fill=none, draw=none] (5,7) rectangle (-0.76*\linewidth, -0.98*\textheight); |
| 392 |
\shade[anchor=center,bottom color={rgb,255:red,240; green,250; blue,255}, top color={rgb,255:red,255; green,255; blue,255}](-16.5,7) rectangle (0.78*\linewidth, -\textheight); |
| 393 |
\node[anchor=east] at (5.5,7) { |
| 394 |
\includegraphics[width=21.9cm,height=25cm]{img/fancymag-msg_bg.jpg} |
| 395 |
}; |
| 396 |
\draw[thick, pattern=north east lines, pattern color=accentlight, draw=none] |
| 397 |
(0+\xx, 3+\yy) -- (2.61+\xx, 1.5+\yy) -- (2.61+\xx, -1.5+\yy) -- |
| 398 |
(0+\xx, -3+\yy) -- (-2.61+\xx, -1.5+\yy) -- (-2.61+\xx, 1.5+\yy) -- cycle; |
| 399 |
\draw[thick, fill=grc, draw=none] |
| 400 |
(0, 4.35) -- (3.77, 2.17) -- (3.77, -2.17) -- |
| 401 |
(0, -4.35) -- (-3.77, -2.17) -- (-3.77, 2.17) -- cycle; |
| 402 |
\draw[thick, fill=white, draw=none] |
| 403 |
(0, 4.3) -- (3.74, 2.15) -- (3.74, -2.15) -- |
| 404 |
(0, -4.3) -- (-3.74, -2.15) -- (-3.74, 2.15) -- cycle; |
| 405 |
\node[anchor=east, text=mt] at (4,-8.5) {\fontsize{15}{15}\selectfont \textit{#1}}; |
| 406 |
\node[anchor=east, text=black] at (4,-9.5) {\fontsize{15}{15}\selectfont {#2}}; |
| 407 |
\node[anchor=east, text=black] at (4,-10) {\fontsize{11}{11}\selectfont \textit{#3}}; |
| 408 |
\node[anchor=center] at (1,-7) {\includegraphics[width=#6]{#5}}; |
| 409 |
\clip |
| 410 |
(0, 4) -- (3.48, 2) -- (3.48, -2) -- |
| 411 |
(0, -4) -- (-3.48, -2) -- (-3.48, 2) -- cycle; |
| 412 |
\node[anchor=center] at (0, 0) { |
| 413 |
\includegraphics[width=8cm,height=8cm]{#4} |
| 414 |
}; |
| 415 |
\end{tikzpicture} |
| 416 |
} |
| 417 |
|
| 418 |
\newcommand\msg[8]{% |
| 419 |
\newpage |
| 420 |
\thispagestyle{firstpage} |
| 421 |
\onecolumn |
| 422 |
\fancyhf{} |
| 423 |
\fancyhead[LO]{} |
| 424 |
\fancyhead[RE]{} |
| 425 |
\fancyhead[RO]{} |
| 426 |
\fancyhead[LE]{} |
| 427 |
\AddThispageHook{% |
| 428 |
\AddToShipoutPictureBG*{% |
| 429 |
\put(0,0){ |
| 430 |
\parbox[b][\paperheight]{\paperwidth}{ |
| 431 |
\vfill |
| 432 |
\centering |
| 433 |
\ifodd\value{page} |
| 434 |
\msgfigurer{#1}{#2}{#4}{#5}{#6}{#7} |
| 435 |
\else |
| 436 |
\msgfigurel{#1}{#2}{#4}{#5}{#6}{#7} |
| 437 |
\fi |
| 438 |
\vfill |
| 439 |
} |
| 440 |
} |
| 441 |
} |
| 442 |
} |
| 443 |
\ifodd\value{page} |
| 444 |
\newgeometry{left=1.2in, right=2.5in, top=1.5in, bottom=1in} |
| 445 |
{\fontsize{15}{15}\selectfont \textbf{\textcolor{accent}{\textsf{{#3}}}}}\\ |
| 446 |
\begin{tikzpicture} |
| 447 |
\draw[fill={rgb,1:red,0;green,0;blue,0.7}, draw=none] (0, 0) rectangle (5cm, 0.15cm); |
| 448 |
\end{tikzpicture} |
| 449 |
\vskip 0.5cm |
| 450 |
\begin{wrapfigure}[24]{r}{0.3\textwidth} |
| 451 |
\centering |
| 452 |
\begin{tikzpicture} |
| 453 |
\draw[fill=none, draw=none] (0, 0) rectangle (1cm, 1cm); |
| 454 |
\end{tikzpicture} |
| 455 |
\end{wrapfigure} |
| 456 |
\else |
| 457 |
\newgeometry{left=1.2in, right=2.5in, top=1.5in, bottom=1in} |
| 458 |
\noindent\hspace*{\fill} |
| 459 |
{\fontsize{15}{15}\selectfont \textbf{\textcolor{accent}{\textsf{{#3}}}}}\\ |
| 460 |
\noindent\hspace*{\fill} |
| 461 |
\begin{tikzpicture} |
| 462 |
\draw[fill={rgb,1:red,0;green,0;blue,0.7}, draw=none] (0, 0) rectangle (5cm, 0.15cm); |
| 463 |
\end{tikzpicture} |
| 464 |
\vskip 0.5cm |
| 465 |
\begin{wrapfigure}[38]{l}{0.3\textwidth} |
| 466 |
\centering |
| 467 |
\begin{tikzpicture} |
| 468 |
\draw[fill=none, draw=none] (0, 0) rectangle (1cm, 1cm); |
| 469 |
\end{tikzpicture} |
| 470 |
\end{wrapfigure} |
| 471 |
\fi |
| 472 |
\noindent |
| 473 |
#8 |
| 474 |
\restoregeometry |
| 475 |
} |
| 476 |
|
| 477 |
\newcommand{\photograph}[7]{ |
| 478 |
\IfStrEq{#7}{left}{ |
| 479 |
\IfStrEq{#6}{landscape}{ |
| 480 |
\begin{minipage}[t]{0.99\textwidth} |
| 481 |
\vspace{1.5cm} |
| 482 |
\begin{tikzpicture} |
| 483 |
\node[draw=white, line width=3mm, inner sep=0pt, outer sep=0pt, blur shadow={shadow xshift=-0.5mm, shadow yshift=-0.5mm, shadow scale=1.04, shadow blur steps=15}] |
| 484 |
(image) at (6,0){\includegraphics[height=7cm, width=10cm]{#5}}; |
| 485 |
\node[anchor=east, align=center, text width=0.35*\linewidth] at (image.west) {\fontsize{20}{20}\selectfont {\fakebold{\textcolor{accent}{#1}}}\\ |
| 486 |
[0.8em] |
| 487 |
\fontsize{11}{11}\selectfont {#2}\\ |
| 488 |
[0.5em] |
| 489 |
\fontsize{11}{11}\selectfont {#3} |
| 490 |
}; |
| 491 |
\end{tikzpicture} |
| 492 |
\vspace{1.5cm} |
| 493 |
\end{minipage} |
| 494 |
}{ |
| 495 |
\begin{minipage}[t]{0.99\textwidth} |
| 496 |
\begin{tikzpicture} |
| 497 |
\node[draw=white, line width=3mm, inner sep=0pt, outer sep=0pt, blur shadow={shadow xshift=-0.5mm, shadow yshift=-0.5mm, shadow scale=1.04, shadow blur steps=15}] |
| 498 |
(image) at (6,0){\includegraphics[height=10cm, width=7cm]{#5}}; |
| 499 |
\node[anchor=east, align=center, text width=6cm] at (image.west) {\fontsize{20}{20}\selectfont {\fakebold{\textcolor{accent}{#1}}}\\ |
| 500 |
[0.8em] |
| 501 |
\fontsize{11}{11}\selectfont {#2}\\ |
| 502 |
[0.6em] |
| 503 |
\fontsize{11}{11}\selectfont {#3} |
| 504 |
}; |
| 505 |
\end{tikzpicture} |
| 506 |
\end{minipage} |
| 507 |
} |
| 508 |
}{ |
| 509 |
\IfStrEq{#6}{landscape}{ |
| 510 |
\begin{minipage}[t]{0.99\textwidth} |
| 511 |
\vspace{1.5cm} |
| 512 |
\begin{tikzpicture} |
| 513 |
\node[draw=white, line width=3mm, inner sep=0pt, outer sep=0pt, blur shadow={shadow xshift=-0.5mm, shadow yshift=-0.5mm, shadow scale=1.04, shadow blur steps=15}] |
| 514 |
(image) at (6,0){\includegraphics[height=7cm, width=10cm]{#5}}; |
| 515 |
\node[anchor=west, align=center, text width=0.35*\linewidth] at (image.east) {\fontsize{20}{20}\selectfont {\fakebold{\textcolor{accent}{#1}}}\\ |
| 516 |
[0.8em] |
| 517 |
\fontsize{11}{11}\selectfont {#2}\\ |
| 518 |
[0.5em] |
| 519 |
\fontsize{11}{11}\selectfont {#3} |
| 520 |
}; |
| 521 |
\end{tikzpicture} |
| 522 |
\vspace{1.5cm} |
| 523 |
\end{minipage} |
| 524 |
}{ |
| 525 |
\begin{minipage}[t]{0.99\textwidth} |
| 526 |
\begin{tikzpicture} |
| 527 |
\node[draw=white, line width=3mm, inner sep=0pt, outer sep=0pt, blur shadow={shadow xshift=-0.5mm, shadow yshift=-0.5mm, shadow scale=1.04, shadow blur steps=15}] |
| 528 |
(image) at (6,0){\includegraphics[height=10cm, width=7cm]{#5}}; |
| 529 |
\node[anchor=west, align=center, text width=6cm] at (image.east) {\fontsize{20}{20}\selectfont {\fakebold{\textcolor{accent}{#1}}}\\ |
| 530 |
[0.8em] |
| 531 |
\fontsize{11}{11}\selectfont {#2}\\ |
| 532 |
[0.6em] |
| 533 |
\fontsize{11}{11}\selectfont {#3} |
| 534 |
}; |
| 535 |
\end{tikzpicture} |
| 536 |
\end{minipage} |
| 537 |
} |
| 538 |
} |
| 539 |
\vskip 0.5 cm |
| 540 |
} |
| 541 |
|
| 542 |
\newenvironment{fistpg}{ |
| 543 |
\newpage |
| 544 |
\begingroup |
| 545 |
\fancyhf{} % Clear all headers and footers |
| 546 |
\renewcommand{\headrulewidth}{0pt} |
| 547 |
\fancyfoot[c]{} |
| 548 |
\onecolumn |
| 549 |
}{ |
| 550 |
\clearpage |
| 551 |
\endgroup |
| 552 |
} |
| 553 |
|
| 554 |
\newcommand{\interviewheadl}[8]{ |
| 555 |
\begin{tikzpicture} |
| 556 |
\pgfmathsetmacro{\xx}{3} |
| 557 |
\pgfmathsetmacro{\yy}{-6} |
| 558 |
\shade[bottom color={rgb,255:red,240; green,250; blue,255},top color={rgb,255:red,255; green,255; blue,255}](-5,7) rectangle (0.78*\linewidth, -0.98*\textheight); |
| 559 |
\node[anchor=east] at (17,7) { |
| 560 |
\includegraphics[width=21.9cm,height=25cm]{img/fancymag-msg_bg.jpg} |
| 561 |
}; |
| 562 |
\draw[thick, pattern=north east lines, pattern color=accentlight, draw=none] |
| 563 |
(0+\xx, 3+\yy) -- (2.61+\xx, 1.5+\yy) -- (2.61+\xx, -1.5+\yy) -- |
| 564 |
(0+\xx, -3+\yy) -- (-2.61+\xx, -1.5+\yy) -- (-2.61+\xx, 1.5+\yy) -- cycle; |
| 565 |
\draw[thick, fill=grc, draw=none] |
| 566 |
(0, 4.35) -- (3.77, 2.17) -- (3.77, -2.17) -- |
| 567 |
(0, -4.35) -- (-3.77, -2.17) -- (-3.77, 2.17) -- cycle; |
| 568 |
\draw[thick, fill=white, draw=none] |
| 569 |
(0, 4.3) -- (3.74, 2.15) -- (3.74, -2.15) -- |
| 570 |
(0, -4.3) -- (-3.74, -2.15) -- (-3.74, 2.15) -- cycle; |
| 571 |
|
| 572 |
\draw[fill={rgb,1:red,0;green,0;blue,0.7}, draw=none] (0, 0) ++(6.7,3.0+0.4) rectangle ++(6.55,0.15); |
| 573 |
|
| 574 |
\node[anchor=east,text=accent] at (13.4,3.8+0.4) {\fontsize{20}{20}\selectfont \textsf{\textbf{In Conversation With...}}}; |
| 575 |
\node[anchor=east,text=mt] at (13.4,1.6+0.4) |
| 576 |
{\fontsize{18}{18}\selectfont \textit{\textbf{#1}}}; |
| 577 |
\node[anchor=east, text=black] at (13.4,0.1-0.3+0.6+0.4) {\fontsize{14}{14}\selectfont {#2}}; |
| 578 |
\node[anchor=east, text=black] at (13.4,-0.4-0.5+0.7+0.4) {\fontsize{12}{12}\selectfont {#3}}; |
| 579 |
\node[anchor=east, text=black] at (13.4,-0.9-0.8+0.9+0.4) {\fontsize{11}{11}\selectfont \textit{#4}}; |
| 580 |
\node[anchor=east, text=mt] at (13.4,-0.9-1.1+0.4) {\fontsize{14}{14}\selectfont {\textbf{#5}}}; |
| 581 |
\node[anchor=east, text=black] at (13.4,-0.9-1.7+0.4) {\fontsize{12}{12}\selectfont {#6}}; |
| 582 |
\node[anchor=east, text=black] at (13.4,-0.9-2.2+0.4) {\fontsize{11}{11}\selectfont \textit{#7}}; |
| 583 |
\clip |
| 584 |
(0, 4) -- (3.48, 2) -- (3.48, -2) -- |
| 585 |
(0, -4) -- (-3.48, -2) -- (-3.48, 2) -- cycle; |
| 586 |
\node[anchor=center] at (0, 0) { |
| 587 |
\includegraphics[width=8cm,height=8cm]{#8}}; |
| 588 |
|
| 589 |
\end{tikzpicture} |
| 590 |
} |
| 591 |
|
| 592 |
\newcommand{\interviewheadr}[8]{ |
| 593 |
\begin{tikzpicture} |
| 594 |
\pgfmathsetmacro{\xx}{-3} % Width of the hexagon |
| 595 |
\pgfmathsetmacro{\yy}{-6} % Width of the hexagon |
| 596 |
\draw[fill=none, draw=none] (5,7) rectangle (-0.76*\linewidth, -0.98*\textheight); |
| 597 |
\shade[anchor=center,bottom color={rgb,255:red,240; green,250; blue,255}, top color={rgb,255:red,255; green,255; blue,255}](-16.5,7) rectangle (0.78*\linewidth, -\textheight); |
| 598 |
\node[anchor=east] at (5.5,7) { |
| 599 |
\includegraphics[width=21.9cm,height=25cm]{img/fancymag-msg_bg.jpg} |
| 600 |
}; |
| 601 |
\draw[thick, pattern=north east lines, pattern color=accentlight, draw=none] |
| 602 |
(0+\xx, 3+\yy) -- (2.61+\xx, 1.5+\yy) -- (2.61+\xx, -1.5+\yy) -- |
| 603 |
(0+\xx, -3+\yy) -- (-2.61+\xx, -1.5+\yy) -- (-2.61+\xx, 1.5+\yy) -- cycle; |
| 604 |
\draw[thick, fill=grc, draw=none] |
| 605 |
(0, 4.35) -- (3.77, 2.17) -- (3.77, -2.17) -- |
| 606 |
(0, -4.35) -- (-3.77, -2.17) -- (-3.77, 2.17) -- cycle; |
| 607 |
\draw[thick, fill=white, draw=none] |
| 608 |
(0, 4.3) -- (3.74, 2.15) -- (3.74, -2.15) -- |
| 609 |
(0, -4.3) -- (-3.74, -2.15) -- (-3.74, 2.15) -- cycle; |
| 610 |
|
| 611 |
\draw[fill={rgb,1:red,0;green,0;blue,0.7}, draw=none] (0, 0) ++(-6.7,3.0) rectangle ++(-6.55,0.15); |
| 612 |
|
| 613 |
\node[anchor=west,text=accent] at (-13.4,3.8) {\fontsize{20}{20}\selectfont \textsf{\textbf{In Conversation With...}}}; |
| 614 |
\node[anchor=west,text=mt] at (-13.4,1.6) |
| 615 |
{\fontsize{18}{18}\selectfont \textit{\textbf{#1}}}; |
| 616 |
\node[anchor=west, text=black] at (-13.4,0.1-0.3+0.6) {\fontsize{14}{14}\selectfont {#2}}; |
| 617 |
\node[anchor=west, text=black] at (-13.4,-0.4-0.5+0.7) {\fontsize{12}{12}\selectfont {#3}}; |
| 618 |
\node[anchor=west, text=black] at (-13.4,-0.9-0.8+0.9) {\fontsize{11}{11}\selectfont \textit{#4}}; |
| 619 |
\node[anchor=west, text=mt] at (-13.4,-0.9-1.1) {\fontsize{14}{14}\selectfont {\textbf{#5}}}; |
| 620 |
\node[anchor=west, text=black] at (-13.4,-0.9-1.7) {\fontsize{12}{12}\selectfont {#6}}; |
| 621 |
\node[anchor=west, text=black] at (-13.4,-0.9-2.2) {\fontsize{11}{11}\selectfont \textit{#7}}; |
| 622 |
\clip |
| 623 |
(0, 4) -- (3.48, 2) -- (3.48, -2) -- |
| 624 |
(0, -4) -- (-3.48, -2) -- (-3.48, 2) -- cycle; |
| 625 |
\node[anchor=center] at (0, 0) { |
| 626 |
\includegraphics[width=8cm,height=8cm]{#8}}; |
| 627 |
|
| 628 |
\end{tikzpicture} |
| 629 |
} |
| 630 |
|
| 631 |
|
| 632 |
\newcommand{\interview}[9]{ |
| 633 |
\newpage |
| 634 |
\onecolumn |
| 635 |
\fancyhf{} |
| 636 |
\renewcommand{\headwidth}{0.8\paperwidth} |
| 637 |
\fancyhead[LO]{\textcolor{accent}{\large\textbf{#1}}} |
| 638 |
\fancyhead[RE]{\textcolor{accent}{\large\textbf{#1}}} |
| 639 |
\fancyhead[RO]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 640 |
\fancyhead[LE]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 641 |
\thispagestyle{firstpage} |
| 642 |
\AddThispageHook{% |
| 643 |
\AddToShipoutPictureBG*{% |
| 644 |
\put(0,0){ |
| 645 |
\parbox[b][\paperheight]{\paperwidth}{ |
| 646 |
\vfill |
| 647 |
\centering |
| 648 |
\ifodd\value{page} |
| 649 |
\interviewheadr{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} |
| 650 |
\else |
| 651 |
\interviewheadl{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} |
| 652 |
\fi |
| 653 |
\vfill |
| 654 |
} |
| 655 |
} |
| 656 |
} |
| 657 |
} |
| 658 |
\ifodd\value{page} |
| 659 |
\newgeometry{left=1.2in, right=0.7in, top=1.5in, bottom=1in} |
| 660 |
\null\vspace{3.09in} |
| 661 |
\else |
| 662 |
\newgeometry{left=1.2in, right=0.7in, top=1.5in, bottom=1in} |
| 663 |
\null\vspace{3.22in} |
| 664 |
\fi |
| 665 |
#9 |
| 666 |
\restoregeometry |
| 667 |
} |
| 668 |
|
| 669 |
\newenvironment{alumdetail}{ |
| 670 |
\newpage |
| 671 |
\restoregeometry |
| 672 |
\fancyhf{} |
| 673 |
\fancyhead[LO]{\textcolor{accent}{\large\textbf{Alumni}}} |
| 674 |
\fancyhead[RE]{\textcolor{accent}{\large\textbf{Alumni}}} |
| 675 |
\fancyhead[RO]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 676 |
\fancyhead[LE]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 677 |
\begingroup |
| 678 |
}{ |
| 679 |
\endgroup |
| 680 |
\clearpage |
| 681 |
} |
| 682 |
|
| 683 |
\newcommand{\dissoheadl}[7]{ |
| 684 |
\begin{tikzpicture} |
| 685 |
\pgfmathsetmacro{\xx}{3} |
| 686 |
\pgfmathsetmacro{\yy}{-6} |
| 687 |
\shade[bottom color={rgb,255:red,240; green,250; blue,255},top color={rgb,255:red,255; green,255; blue,255}](-5,7) rectangle (0.78*\linewidth, -0.98*\textheight); |
| 688 |
\node[anchor=east] at (17,7) { |
| 689 |
\includegraphics[width=21.9cm,height=25cm]{img/fancymag-msg_bg.jpg} |
| 690 |
}; |
| 691 |
\draw[thick, pattern=north east lines, pattern color=accentlight, draw=none] |
| 692 |
(0+\xx, 3+\yy) -- (2.61+\xx, 1.5+\yy) -- (2.61+\xx, -1.5+\yy) -- |
| 693 |
(0+\xx, -3+\yy) -- (-2.61+\xx, -1.5+\yy) -- (-2.61+\xx, 1.5+\yy) -- cycle; |
| 694 |
\draw[thick, fill=grc, draw=none] |
| 695 |
(0, 4.35+0.5) -- (3.77, 2.17+0.5) -- (3.77, -2.17+0.5) -- |
| 696 |
(0, -4.35+0.5) -- (-3.77, -2.17+0.5) -- (-3.77, 2.17+0.5) -- cycle; |
| 697 |
\draw[thick, fill=white, draw=none] |
| 698 |
(0, 4.3+0.5) -- (3.74, 2.15+0.5) -- (3.74, -2.15+0.5) -- |
| 699 |
(0, -4.3+0.5) -- (-3.74, -2.15+0.5) -- (-3.74, 2.15+0.5) -- cycle; |
| 700 |
|
| 701 |
\node[anchor=east,text=mt] at (13.4,3.3+0.4-8.2) {\fontsize{13}{13}\selectfont \textsf{\textbf{#1}}}; |
| 702 |
\node[anchor=east,text=mt] at (13.4,2.6+0.4-8.2) {\fontsize{13}{13}\selectfont \textsf{\textbf{#2}}}; |
| 703 |
\node[anchor=east,text=accent] at (13.4,1+0.4) |
| 704 |
{\fontsize{18}{18}\selectfont \textit{\textbf{#3}}}; |
| 705 |
\node[anchor=east, text=black] at (13.4,0.1-0.3+0.2+0.4) {\fontsize{14}{14}\selectfont {#4}}; |
| 706 |
\node[anchor=east, text=black] at (13.4,-0.4-0.5+0.3+0.4) {\fontsize{12}{12}\selectfont {#5}}; |
| 707 |
\node[anchor=east, text=black] at (13.4,-0.9-0.8+0.5+0.4) {\fontsize{11}{11}\selectfont \textit{#6}}; |
| 708 |
\clip |
| 709 |
(0, 4+0.5) -- (3.48, 2+0.5) -- (3.48, -2+0.5) -- |
| 710 |
(0, -4+0.5) -- (-3.48, -2+0.5) -- (-3.48, 2+0.5) -- cycle; |
| 711 |
\node[anchor=center] at (0, 0.5) { |
| 712 |
\includegraphics[width=8cm,height=8cm]{#7}}; |
| 713 |
|
| 714 |
\end{tikzpicture} |
| 715 |
} |
| 716 |
\newcommand{\dissoheadr}[7]{ |
| 717 |
\begin{tikzpicture} |
| 718 |
\pgfmathsetmacro{\xx}{-3} % Width of the hexagon |
| 719 |
\pgfmathsetmacro{\yy}{-6} % Width of the hexagon |
| 720 |
\draw[fill=none, draw=none] (5,7) rectangle (-0.76*\linewidth, -0.98*\textheight); |
| 721 |
\shade[anchor=center,bottom color={rgb,255:red,240; green,250; blue,255}, top color={rgb,255:red,255; green,255; blue,255}](-16.5,7) rectangle (0.78*\linewidth, -\textheight); |
| 722 |
\node[anchor=east] at (5.5,7) { |
| 723 |
\includegraphics[width=21.9cm,height=25cm]{img/fancymag-msg_bg.jpg} |
| 724 |
}; |
| 725 |
\draw[thick, pattern=north east lines, pattern color=accentlight, draw=none] |
| 726 |
(0+\xx, 3+\yy) -- (2.61+\xx, 1.5+\yy) -- (2.61+\xx, -1.5+\yy) -- |
| 727 |
(0+\xx, -3+\yy) -- (-2.61+\xx, -1.5+\yy) -- (-2.61+\xx, 1.5+\yy) -- cycle; |
| 728 |
\draw[thick, fill=grc, draw=none] |
| 729 |
(0, 4.35+0.3) -- (3.77, 2.17+0.3) -- (3.77, -2.17+0.3) -- |
| 730 |
(0, -4.35+0.3) -- (-3.77, -2.17+0.3) -- (-3.77, 2.17+0.3) -- cycle; |
| 731 |
\draw[thick, fill=white, draw=none] |
| 732 |
(0, 4.3+0.3) -- (3.74, 2.15+0.3) -- (3.74, -2.15+0.3) -- |
| 733 |
(0, -4.3+0.3) -- (-3.74, -2.15+0.3) -- (-3.74, 2.15+0.3) -- cycle; |
| 734 |
|
| 735 |
\node[anchor=west,text=mt] at (-13.4,3.3-7.8) {\fontsize{13}{13}\selectfont \textsf{\textbf{#1}}}; |
| 736 |
\node[anchor=west,text=mt] at (-13.4,2.6-7.8) {\fontsize{13}{13}\selectfont \textsf{\textbf{#2}}}; |
| 737 |
\node[anchor=west,text= accent] at (-13.4,1) |
| 738 |
{\fontsize{18}{18}\selectfont \textit{\textbf{#3}}}; |
| 739 |
\node[anchor=west, text=black] at (-13.4,0.1-0.3+0.2) {\fontsize{14}{14}\selectfont {#4}}; |
| 740 |
\node[anchor=west, text=black] at (-13.4,-0.4-0.5+0.3) {\fontsize{12}{12}\selectfont {#5}}; |
| 741 |
\node[anchor=west, text=black] at (-13.4,-0.9-0.8+0.5) {\fontsize{11}{11}\selectfont \textit{#6}}; |
| 742 |
\clip |
| 743 |
(0, 4+0.3) -- (3.48, 2+0.3) -- (3.48, -2+0.3) -- |
| 744 |
(0, -4+0.3) -- (-3.48, -2+0.3) -- (-3.48, 2+0.3) -- cycle; |
| 745 |
\node[anchor=center] at (0, 0) { |
| 746 |
\includegraphics[width=8cm,height=8cm]{#7}}; |
| 747 |
|
| 748 |
\end{tikzpicture} |
| 749 |
} |
| 750 |
|
| 751 |
\newenvironment{particle1}[9]{ |
| 752 |
\clearpage |
| 753 |
\twocolumn |
| 754 |
\fancyhf{} |
| 755 |
\renewcommand{\headwidth}{0.8\paperwidth} |
| 756 |
\fancyhead[LO]{\textcolor{accent}{\large\textbf{#3}}} |
| 757 |
\fancyhead[RE]{\textcolor{accent}{\large\textbf{#3}}} |
| 758 |
\fancyhead[RO]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 759 |
\fancyhead[LE]{\textcolor{accent}{\large\textbf{\thepage}}} |
| 760 |
\thispagestyle{firstpage} |
| 761 |
\AddThispageHook{% |
| 762 |
\AddToShipoutPictureBG*{% |
| 763 |
\put(0,0){ |
| 764 |
\parbox[b][\paperheight]{\paperwidth}{ |
| 765 |
\vfill |
| 766 |
\centering |
| 767 |
\ifodd\value{page} |
| 768 |
\dissoheadr{#1}{#2}{#3}{#4}{#5}{#6}{#7} |
| 769 |
\else |
| 770 |
\dissoheadl{#1}{#2}{#3}{#4}{#5}{#6}{#7} |
| 771 |
\fi |
| 772 |
\vfill |
| 773 |
} |
| 774 |
} |
| 775 |
} |
| 776 |
} |
| 777 |
\ifodd\value{page} |
| 778 |
\newgeometry{left=1.2in, right=0.7in, top=1.5in, bottom=1in} |
| 779 |
\null\vspace{3.09in} |
| 780 |
\else |
| 781 |
\newgeometry{left=1.2in, right=0.7in, top=1.5in, bottom=1in} |
| 782 |
\null\vspace{3.22in} |
| 783 |
\fi |
| 784 |
\begin{tcolorbox}[colback=blue!5!white, width=\textwidth, opacityfill=0.1] |
| 785 |
\textbf{Abstract:} #8 |
| 786 |
\end{tcolorbox} |
| 787 |
|
| 788 |
\begin{multicols}{2} |
| 789 |
#9 |
| 790 |
\end{multicols} |
| 791 |
\restoregeometry |
| 792 |
} |
| 793 |
|