Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a47d662b

Von Marei Peischl vor mehr als 3 Jahren hinzugefügt

  • ID a47d662b33d906b68d56c7b2b9b99ca2e9fb17e2
  • Vorgänger e994e11b
  • Nachfolger 1057b87c

marei: prepare keys for colored tables

Unterschiede anzeigen:

templates/print/marei/kiviletter.sty
137 137
	\clist_gset:Nn \g_kivi_pricingtable_col_clist {#1}
138 138
	\__kivi_initialize_columns:,
139 139
	columns .initial:n = {pos, id, desc, amount, price, pricetotal},
140
	unknown .code:n = \keys_set:no {kivi/Tabular} {\l_keys_key_str=#1}
140 141
}
141 142

  
142 143
% set default values for colwidth
......
402 403
	colspec .initial:n = {rrX},
403 404
	headline .tl_set:N = \l_kivi_SimpleTabular_headline_tl,
404 405
	headline .initial:n = {\bfseries\position & \bfseries\menge & \bfseries\bezeichnung},
406
\keys_define:nn {kivi/Tabular} {
407
	color-rows .bool_gset:N =  \g__kivi_Tabular_rowcolor_bool ,
408
	color-rows .initial:n = false,
409
	color-rows .default:n = true,
410
	rowcolor-odd .tl_gset:N = \g__kivi_Tabular_rowcolor_odd_tl,
411
	rowcolor-odd .initial:n = black!10,
412
	rowcolor-even .tl_gset:N = \g__kivi_Tabular_rowcolor_even_tl,
413
	rowcolor-even .initial:n =,
414
	rowcolor-header .tl_gset:N = \g__kivi_Tabular_rowcolor_header_tl,
415
	rowcolor-header .initial:n = black!35,
416
	rowcolor-total .tl_gset:N = \g__kivi_Tabular_rowcolor_PricingTotal_tl,
417
	rowcolor-total .initial:n = black!35,
418
	rowsep .tl_set:N =\g__kivi_Tabular_rowsep_tl,
419
	hrule .meta:n = {rowsep=\midrule}
405 420
}
406 421

  
407 422
\newcommand*{\SetupSimpleTabular}[1]{\keys_set:nn {kivi/SimpleTabular} {#1}}

Auch abrufbar als: Unified diff