Minor tweaks.
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
\NewExpandableDocumentCommand{\DoRomanNumerals}{}{\g_roman_bool}
|
||||
|
||||
% Option 'numberword': render Part numbers as number words (e.g. One, Two, Three).
|
||||
% Only kind of working.
|
||||
\bool_new:N \g_number_word_bool
|
||||
\bool_gset_false:N \g_number_word_bool
|
||||
|
||||
|
||||
@@ -44,7 +44,13 @@
|
||||
\fp_const:Nn \c_BigFloat_offset_fp {2.0}
|
||||
|
||||
\ProvideLength{\BigFloatOverhang}[\dim_use:N \c_BigFloat_overhang_dim]
|
||||
\NewDocumentCommand{\BigFloatOffset}{}{\fp_use:N \c_BigFloat_offset_fp}
|
||||
\NewDocumentCommand{\BigFloatOffset}{O{}}{
|
||||
\str_if_empty:NTF #1 {
|
||||
\fp_use:N \c_BigFloat_offset_fp
|
||||
} {
|
||||
\fp_set:Ne \c_BigFloat_offset_fp {#1}
|
||||
}
|
||||
}
|
||||
|
||||
\dim_new:N \l_BigFloat_workoverhang_dim
|
||||
|
||||
@@ -53,6 +59,8 @@
|
||||
}
|
||||
|
||||
\keys_define:nn{BigFloat}{
|
||||
figure .code:n = {\str_set:Nn \l_BigFloat_type_str {figure}},
|
||||
|
||||
maxoverhang .dim_set:N = \l_BigFloat_maxoverhang_dim,
|
||||
maxoverhang .initial:n = {1in},
|
||||
|
||||
@@ -64,6 +72,8 @@
|
||||
overhang .default:e = {\c_BigFloat_overhang_dim},
|
||||
overhang .initial:e = {\c_BigFloat_overhang_dim},
|
||||
|
||||
table .code:n = {\str_set:Nn \l_BigFloat_type_str {table}},
|
||||
|
||||
type .choices:nn = {figure,generic,table}{
|
||||
\str_set:Ne \l_BigFloat_type_str {\l_keys_choice_tl}
|
||||
},
|
||||
|
||||
@@ -69,9 +69,11 @@
|
||||
\NewDocumentCommand{\bdot}{}{.\zws}
|
||||
|
||||
% MenuKeys configuration.
|
||||
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}
|
||||
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]
|
||||
|
||||
\changemenucolortheme{hyphenatepaths}{autoModeColor}
|
||||
\changemenucolortheme{shadowedangularkeys}{autoModeColor}
|
||||
\changemenucolortheme{angularmenus}{autoModeColor}
|
||||
|
||||
\renewmenumacro{\directory}[/]{hyphenatepaths}
|
||||
\renewmenumacro{\keys}[+]{shadowedangularkeys}
|
||||
@@ -83,3 +85,4 @@
|
||||
\NewDocumentCommand{\EnterString}{}{Enter\,\return}
|
||||
\NewDocumentCommand{\ShiftString}{}{Shift\,\shift}
|
||||
\NewDocumentCommand{\AltString}{}{Alt\,\altmac}
|
||||
\NewDocumentCommand{\TabString}{}{Tab\,\tab}
|
||||
@@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
\ProvideLength{\HeaderInsideOffset}[\BigFloatOverhang]
|
||||
\ProvideLength{\HeaderOutsideOffset}[\fp_to_dim:n{\BigFloatOverhang * \BigFloatOffset}]
|
||||
\ProvideLength{\HeaderOutsideOffset}[\fp_to_dim:n{\c_BigFloat_overhang_dim * \c_BigFloat_offset_fp}]
|
||||
|
||||
\pagestyle{fancy}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user