|
216 | 216 | \createthreecolumn{0.3333}{0.3333}{0.3333}{0}{0}{#1}{#2}{#3}% |
217 | 217 | } |
218 | 218 |
|
| 219 | +% Crea un salto de columna en el entorno multicol |
| 220 | +\ifthenelse{\isundefined{\newcolumn}}{% |
| 221 | + \newcommand{\newcolumn}{% |
| 222 | + \checkinsidemulticol\vfill\null\columnbreak% |
| 223 | + } |
| 224 | +}{% |
| 225 | + \renewcommand{\newcolumn}{% |
| 226 | + \checkinsidemulticol\vfill\null\columnbreak% |
| 227 | + } |
| 228 | +} |
| 229 | + |
| 230 | +% Salto de página en entorno multicol |
| 231 | +\newcommand{\newpagemulticol}{% |
| 232 | + \newcolumn\newcolumn\clearpage% |
| 233 | +} |
| 234 | + |
| 235 | +% Centrado |
| 236 | +\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 237 | +\newcolumntype{\CColor}[2]{>{\columncolor{#1}\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} |
| 238 | + |
| 239 | +\newcolumntype{P}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} |
| 240 | +\newcolumntype{\PColor}[2]{>{\columncolor{#1}\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#2}} |
| 241 | + |
| 242 | +\newcolumntype{B}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}b{#1}} |
| 243 | +\newcolumntype{\BColor}[2]{>{\columncolor{#1}\centering\let\newline\\\arraybackslash\hspace{0pt}}b{#2}} |
| 244 | + |
| 245 | +% Izquierda |
| 246 | +\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 247 | +\newcolumntype{\LColor}[2]{>{\columncolor{#1}\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} |
| 248 | +\newcolumntype{T}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} |
| 249 | +\newcolumntype{\TColor}[2]{>{\columncolor{#1}\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#2}} |
| 250 | +\newcolumntype{F}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}b{#1}} |
| 251 | +\newcolumntype{\FColor}[2]{>{\columncolor{#1}\raggedright\let\newline\\\arraybackslash\hspace{0pt}}b{#2}} |
| 252 | + |
| 253 | +% Derecha |
| 254 | +\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 255 | +\newcolumntype{\RColor}[2]{>{\columncolor{#1}\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} |
| 256 | +\newcolumntype{H}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} |
| 257 | +\newcolumntype{\HColor}[2]{>{\columncolor{#1}\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#2}} |
| 258 | +\newcolumntype{G}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}b{#1}} |
| 259 | +\newcolumntype{\GColor}[2]{>{\columncolor{#1}\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}b{#2}} |
| 260 | + |
| 261 | +% Justificado |
| 262 | +\newcolumntype{Y}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 263 | +\newcolumntype{\YColor}[2]{>{\columncolor{#1}\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} |
| 264 | +\newcolumntype{K}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} |
| 265 | +\newcolumntype{\KColor}[2]{>{\columncolor{#1}\let\newline\\\arraybackslash\hspace{0pt}}p{#2}} |
| 266 | +\newcolumntype{J}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}b{#1}} |
| 267 | +\newcolumntype{\JColor}[2]{>{\columncolor{#1}\let\newline\\\arraybackslash\hspace{0pt}}b{#2}} |
| 268 | + |
219 | 269 | % END |
0 commit comments