summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty')
-rw-r--r--Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty47
1 files changed, 33 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty b/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty
index 8ca91155606..0e729748933 100644
--- a/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty
+++ b/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty
@@ -5,7 +5,7 @@
% - macros and commands for chemists - %
% --------------------------------------------------------------------------- %
% - Clemens Niederberger - %
-% - 2012/02/10 - %
+% - 2012/02/19 - %
% --------------------------------------------------------------------------- %
% - https://bitbucket.org/cgnieder/chemmacros/ - %
% - contact@mychemistry.eu - %
@@ -28,7 +28,11 @@
% - The Current Maintainer of this work is Clemens Niederberger. - %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{ expl3 }
-\ProvidesExplPackage {ghsystem} {2012/02/10} {3.0d} {globally harmonised system}
+\ProvidesExplPackage
+ {ghsystem}
+ {2012/02/19}
+ {3.1}
+ {globally harmonised system}
% --------------------------------------------------------------------------- %
% error and warning messages:
@@ -47,8 +51,8 @@
}
{
You've~tried~to~call~statement~#1#2~ \msg_line_context: \c_space_tl but~it~
- it~is~not~defined~in~ghsystem.sty . ~ Are~you~sure~it~exists? ~ If~so~please~send
- ~a~message~to~the~author.~Thanks.
+ it~is~not~defined~in~ghsystem.sty . ~ Are~you~sure~it~exists? ~ If~so~please
+ ~send~a~message~to~the~author.~Thanks.
}
\msg_set:nnnn { ghsystem } { booktabs }
@@ -152,7 +156,8 @@
\bool_set_true:c { l_ghsystem_#1_bool }
\input { language / ghsystem_#1.def } \ExplSyntaxOn ,
% \ghs options:
- hide .bool_set:N = \l_ghsystem_hide_statement_bool ,
+ hide .bool_set:N =
+ \l_ghsystem_hide_statement_bool ,
hide .default:n = true ,
fill-in .bool_set:N = \l_ghsystem_fill_in_bool ,
fill-in .default:n = true ,
@@ -168,8 +173,10 @@
\cs_set:Npn \ghsystem_substance: { ~ #1 } ,
text .code:n =
\cs_set:Npn \ghsystem_text: { ~ #1 } ,
- space .tl_set:N = \l_ghsystem_number_space_tl ,
- C-temperature .tl_set:N = \l_ghsystem_celsius_temperature_tl ,
+ space .tl_set:N =
+ \l_ghsystem_number_space_tl ,
+ C-temperature .tl_set:N =
+ \l_ghsystem_celsius_temperature_tl ,
F-temperature .tl_set:N =
\l_ghsystem_fahrenheit_temperature_tl ,
kg-mass .tl_set:N = \l_ghsystem_kg_mass_tl ,
@@ -185,8 +192,10 @@
% \ghslistall options:
table-head-number .tl_set:N = \l_ghsystem_identifier_tl ,
table-head-text .tl_set:N = \l_ghsystem_table_text_tl ,
- table-next-page .tl_set:N = \l_ghsystem_table_next_page_tl ,
- table-row-sep .dim_set:N = \l_ghsystem_table_line_sep_dim ,
+ table-next-page .tl_set:N =
+ \l_ghsystem_table_next_page_tl ,
+ table-row-sep .dim_set:N =
+ \l_ghsystem_table_line_sep_dim ,
table-head-rule .choice: ,
table-head-rule / default .code:n =
\tl_set:Nn \l_ghsystem_table_head_rule_tl { \hline } ,
@@ -237,7 +246,8 @@
\tl_clear:N \l_ghsystem_table_foot_rule_tl
\tl_clear:N \l_ghsystem_table_last_foot_rule_tl ,
table-caption .tl_set:N = \l_ghsystem_table_caption_tl ,
- table-caption-short .tl_set:N = \l_ghsystem_table_caption_short_tl ,
+ table-caption-short .tl_set:N =
+ \l_ghsystem_table_caption_short_tl ,
table-label .tl_set:N = \l_ghsystem_table_label_tl
}
@@ -349,11 +359,13 @@
\exp_args:No \label { \l_ghsystem_table_label_tl }
} \\
\l_ghsystem_table_top_head_rule_tl
- \textbf { \l_ghsystem_identifier_tl } & \textbf { \l_ghsystem_table_text_tl } \\
+ \textbf { \l_ghsystem_identifier_tl } &
+ \textbf { \l_ghsystem_table_text_tl } \\
\l_ghsystem_table_head_rule_tl
\endfirsthead
\l_ghsystem_table_top_head_rule_tl
- \textbf { \l_ghsystem_identifier_tl } & \textbf { \l_ghsystem_table_text_tl } \\
+ \textbf { \l_ghsystem_identifier_tl } &
+ \textbf { \l_ghsystem_table_text_tl } \\
\l_ghsystem_table_head_rule_tl
\endhead
\l_ghsystem_table_last_foot_rule_tl
@@ -416,7 +428,10 @@
\group_begin:
\IfNoValueF { #1 } { \keys_set:nn { chemmacros / ghsystem } { #1 } }
\ghsystem_includegraphics:xn
- { scale=\fp_to_tl:N \l_ghsystem_picture_scale_fp \l_ghsystem_picture_includegraphics_tl }
+ {
+ scale = \fp_to_tl:N \l_ghsystem_picture_scale_fp
+ \l_ghsystem_picture_includegraphics_tl
+ }
{ pictures / ghsystem_ #2 . \l_ghsystem_picture_type_tl }
\group_end:
}
@@ -432,8 +447,12 @@ VERSION HISTORY
2012/01/30 - version 3.0a - bugfix in chemormula.sty, renamed ghs => ghsystem
2012/02/03 - version 3.0b - updated documentation
2012/02/05 - version 3.0c - renamed pictogram files
-2012/02/1ß - version 3.0d - several bugfixes in chemformula, some new commands
+2012/02/10 - version 3.0d - several bugfixes in chemformula, some new commands
and options in chemmacros
+2012/02/19 - version 3.1 - new functions in the chemmacros package
+ - new arrow types and functions in the chemformula
+ package
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO: