diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-25 22:02:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-25 22:02:48 +0000 |
commit | 072492d86e05a2508a21d958e5a3045f32a77cae (patch) | |
tree | 0513280aa78c78aeb47d7bcba10bb70f137cea4c /Master/texmf-dist/tex/latex | |
parent | 56867e03deb02e5854f08759a23760fc342fcb99 (diff) |
els-cas-templates (25feb20)
git-svn-id: svn://tug.org/texlive/trunk@53910 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
3 files changed, 41 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/els-cas-templates/cas-common.sty b/Master/texmf-dist/tex/latex/els-cas-templates/cas-common.sty index cbb226fd3f9..7d74d5a76dd 100644 --- a/Master/texmf-dist/tex/latex/els-cas-templates/cas-common.sty +++ b/Master/texmf-dist/tex/latex/els-cas-templates/cas-common.sty @@ -15,11 +15,11 @@ %% given in the file `manifest.txt'. %% -% $Id: cas-common.sty 12 2019-03-19 06:03:53Z rishi $ +% $Id: cas-common.sty 38 2020-02-25 09:10:36Z rishi $ \def\RCSfile{cas-common}% - \def\RCSversion{1.0}% - \def\RCSdate{2019/02/11}% + \def\RCSversion{1.2}% + \def\RCSdate{2020/02/24}% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ExplSyntaxOn @@ -32,6 +32,8 @@ % Usage of those macros and methods are gratefully acknowledged. % +\tl_set:Nn \l_stm_title_color_tl { black } + \keys_define:nn { stm / title } { mode .choice: , @@ -143,7 +145,7 @@ \l_stm_title_shape_tl \l_stm_title_weight_tl \color { \l_stm_title_color_tl } - #2 + \noindent \unskip \ignorespaces #2 \tl_set:Nn \l_tmpa_tl { title } \tl_if_eq:NNTF \l_stm_title_type_tl \l_tmpa_tl { \processTmarks } { } @@ -460,7 +462,7 @@ { \int_set:Nn \l_tmpa_int { 0 } \clist_map_inline:nn { #1 } { -% \msg_term:n { ##1 .. [\cs:w X@##1:\cs_end:] } +% \iow_term:n { ##1 .. [\cs:w X@##1:\cs_end:] } \cs_if_free:cTF { X@##1: } { \csdef{X@##1:}{0} } { @@ -482,7 +484,7 @@ { \tl_if_head_eq_catcode:nNTF { #1 } a { - \msg_term:n { [TNOTE:~alpha] }% +% \iow_term:n { [TNOTE:~alpha] }% \seq_gput_right:Nn \g_stm_tnote_seq { \int_incr:N \g_stm_tnote_int \str_set:Nx \@currentlabel { \int_use:N \g_stm_tnote_int } @@ -499,7 +501,7 @@ } } { - \msg_term:n { [TNOTE:~Number] } +% \iow_term:n { [TNOTE:~Number] } \seq_gput_right:Nn \g_stm_tnote_seq { \int_set:Nn \l_tmpa_int { #1 } @@ -540,7 +542,7 @@ { \tl_if_head_eq_catcode:nNTF { #1 } a { - \msg_term:n { [FN:~alpha] }% +% \iow_term:n { [FN:~alpha] }% \seq_gput_right:Nn \g_stm_fnote_seq { \int_incr:N \g_stm_fnote_int \str_set:Nx \@currentlabel { \int_use:N \g_stm_fnote_int } @@ -550,7 +552,7 @@ } } { - \msg_term:n { [FN:~Number] } +% \iow_term:n { [FN:~Number] } \seq_gput_right:Nn \g_stm_fnote_seq { \int_set:Nn \l_tmpa_int { #1 } @@ -569,7 +571,7 @@ { \tl_if_head_eq_catcode:nNTF { #1 } a { - \msg_term:n { [COR:~alpha] }% +% \iow_term:n { [COR:~alpha] }% \seq_gput_right:Nn \g_stm_cor_seq { \int_incr:N \g_stm_cor_int \str_set:Nx \@currentlabel { \int_use:N \g_stm_cor_int } @@ -586,7 +588,7 @@ } } { - \msg_term:n { [COR:~Number] } +% \iow_term:n { [COR:~Number] } \seq_gput_right:Nn \g_stm_cor_seq { \int_set:Nn \l_tmpa_int { #1 } @@ -896,13 +898,13 @@ \tl_if_empty:NF \l_stm_au_prefix { \l_stm_au_prefix_tl \c_space_token } \str_if_eq:VnTF \l_stm_au_style_tl { chinese } - { %\msg_term:n {STYLE~T=\l_stm_au_style_tl........} + { %\iow_term:n {STYLE~T=\l_stm_au_style_tl........} \invparsename { #2 } \textcolor{\l_stm_augroup_color_tl}{\surname} \no_break_space: \textcolor{\l_stm_augroup_color_tl !50}{\firstname} } - { %\msg_term:n {STYLE~F=\l_stm_au_style_tl........} + { %\iow_term:n {STYLE~F=\l_stm_au_style_tl........} \parsename { #2 } \textcolor{\l_stm_augroup_color_tl !50}{\firstname} \no_break_space: @@ -1215,7 +1217,7 @@ \seq_new:c {g_stm_aff\int_use:N \g_stm_augr_int _seq} \seq_new:c {g_stm_collab\int_use:N \g_stm_augr_int _seq} \seq_new:c {g_stm_clau\int_use:N \g_stm_augr_int _seq} - \msg_term:n { AUGR:~\int_use:N \g_stm_augr_int ... } +% \iow_term:n { AUGR:~\int_use:N \g_stm_augr_int ... } } { \seq_gput_right:Nn \g_stm_augr_seq @@ -1247,7 +1249,7 @@ \seq_use:cn { g_stm_aff\int_use:N \g_stm_aaugr_int _seq } { \par \smallskip } \par\vskip\l_stm_aff_after_dim - \msg_term:n { AAUGR:~\int_use:N \g_stm_aaugr_int ... } +% \iow_term:n { AAUGR:~\int_use:N \g_stm_aaugr_int ... } \group_end: % \group_begin: @@ -1862,6 +1864,15 @@ abovetbl .skip_set:N = \l_tbl_abovetbl_skip , belowtbl .skip_set:N = \l_tbl_belowtbl_skip , full .bool_gset:N = \g_tbl_full_bool , + unknown .code:n = { + \ifstrempty { #1 } + { + \tl_set:Nn \l_fig_pos_tl { \l_keys_key_tl } + } + { + \l_keys_key_tl=#1 + } + } } \cs_set:Npn \__reset_tbl: @@ -1938,6 +1949,15 @@ abovefig .skip_set:N = \l_fig_abovefig_skip , belowfig .skip_set:N = \l_fig_belowfig_skip , full .bool_gset:N = \g_fig_full_bool , + unknown .code:n = { + \ifstrempty { #1 } + { + \tl_set:Nn \l_fig_pos_tl { \l_keys_key_tl }, + } + { + \l_keys_key_tl=#1 + } + } } \cs_set:Npn \__reset_fig: diff --git a/Master/texmf-dist/tex/latex/els-cas-templates/cas-dc.cls b/Master/texmf-dist/tex/latex/els-cas-templates/cas-dc.cls index 82352b5db68..719c0928beb 100644 --- a/Master/texmf-dist/tex/latex/els-cas-templates/cas-dc.cls +++ b/Master/texmf-dist/tex/latex/els-cas-templates/cas-dc.cls @@ -15,11 +15,11 @@ %% given in the file `manifest.txt'. %% -%% $Id: cas-dc.cls 7 2019-02-13 12:02:17Z apu.v $ +%% $Id: cas-dc.cls 42 2020-02-25 09:50:39Z rishi $ \def\RCSfile{cas-dc}% - \def\RCSversion{1.0}% - \def\RCSdate{2019/02/11}% + \def\RCSversion{1.2}% + \def\RCSdate{2020/02/25}% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{\RCSfile}[\RCSdate, \RCSversion: Formatting class for CAS double column articles] diff --git a/Master/texmf-dist/tex/latex/els-cas-templates/cas-sc.cls b/Master/texmf-dist/tex/latex/els-cas-templates/cas-sc.cls index 3345e1c398f..1cf68c20ed9 100644 --- a/Master/texmf-dist/tex/latex/els-cas-templates/cas-sc.cls +++ b/Master/texmf-dist/tex/latex/els-cas-templates/cas-sc.cls @@ -15,11 +15,11 @@ %% given in the file `manifest.txt'. %% -%% $Id: cas-sc.cls 7 2019-02-13 12:02:17Z apu.v $ +%% $Id: cas-sc.cls 39 2020-02-25 09:13:49Z rishi $ \def\RCSfile{cas-sc}% - \def\RCSversion{1.0}% - \def\RCSdate{2018/09/22}% + \def\RCSversion{1.2}% + \def\RCSdate{2020/02/25}% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{\RCSfile}[\RCSdate, \RCSversion: Formatting class for CAS single column articles] |