Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8d0ffa25

Von Marei Peischl vor fast 5 Jahren hinzugefügt

  • ID 8d0ffa251d24d123bc04e17e1671b41e2f4965cc
  • Vorgänger 120cbadb
  • Nachfolger 982e077a

LT@box restoring

Unterschiede anzeigen:

kiviletter.sty
86 86
\seq_new:N \l_kivi_PricingTable_seq
87 87
\seq_new:N \g_kivi_extraDescription_seq
88 88
\newcommand{\FakeTable}[1]{
89
%	\tl_set:No \l_tmpa_tl {\BODY}
89
	\kivi_save_LT@boxes:
90 90
	\endPricingTabular
91 91
	\seq_set_split:Nnn \l_kivi_PricingTable_seq {\tabularnewline} {#1}
92 92
	\begingroup
......
106 106
	}
107 107
	\endgroup
108 108
	\PricingTabular
109
	\kivi_restore_LT@boxes:
110
}
111

  
112
\clist_map_inline:nn {head, firsthead, foot, lastfoot} {
113
	\box_new:c {g_kivi_LT@#1_box}
114
}
115

  
116
\cs_new:Nn \kivi_save_LT@boxes: {
117
	\clist_map_inline:nn {head, firsthead, foot, lastfoot} {
118
	\box_gset_eq:cc {g_kivi_LT@#1_box} {LT@#1}
119
	}
120
}
121

  
122
\cs_new:Nn \kivi_restore_LT@boxes: {
123
	\clist_map_inline:nn {head, firsthead, foot, lastfoot} {
124
	\box_gset_eq:cc  {LT@#1} {g_kivi_LT@#1_box}
125
	\box_gclear:c {g_kivi_LT@#1_box}
126
	}
109 127
}
110 128

  
111 129
\newcommand{\ExtraDescription}[1]{\seq_gput_right:Nn \g_kivi_extraDescription_seq {#1}}

Auch abrufbar als: Unified diff