我的问题是双重的
1)有没有办法直接输出一个乳胶文件中的所有文件?
2)我可以完全自定义标题吗?
1) 我有一系列表来输出一个乳胶文件。实际上每个表都打印在不同的文件中。有没有办法直接输出一个乳胶文件中的所有文件?
2)我已经定制了tablesonlylatex标记集来获取我想要的显示,除了我没有设法放置表格标题。我基本上想要这种乳胶格式(基本格式)。
\begin{table}[!htbp]
\begin{center}
** \ caption {PUT \ sassystemtitle here}
\begin{tabular}{lrr}\hline
Region & Variable A & Variable B\\
Africa & 27.16\% & 24.72\%\\
East Asia and the Pacific & 25.24\% & 16.10\%\\
Eastern Europe and Central Asia & 8.75\% & 13.71\%\\
Latin America and The Caribbean & 33.15\% & 36.66\%\\
Middle East and North Africa & 3.39\% & 6.19\%\\
South Asia & 2.32\% & 2.62\%\\
\hline
\end{center}
\end{tabular}
\end{table}
这是我修改过的tablesonlylatex标记集。
define tagset tagsets.tablesonlylatex; parent=tagsets.simplelatex;
define event verbatim_text;end;
define event table_head;end;
define event table;
start:
put '\begin{table}' CR '\begin{center}' CR;
finish:
put '\hline' CR'\end{center}' CR'\end{tabular}' CR '\end{table}';
put CR;
end;
define event colspec_entry;
put just '' / if !cmp(just, 'd');
put 'c' / if cmp(just, 'd');
end;
define event colspecs;
start:
put CR'\begin{tabular}{';
finish:
put '}\hline' CR ;
end;
define event row;
finish:
put '\\' CR;
end;
define event data;
start:
put VALUE /if cmp($sascaption, 'true');
break /if cmp($sascaption, 'true');
put ' & ' / if !cmp(COLSTART, '1') ;
/* Print cell formatting including class name and alignment. */
put ' ';
unset $colspan;
set $colspan colspan;
put '\multicolumn{' / if exists($colspan);
put colspan / if exists($colspan);
put '}' / if exists($colspan);
put '{' / if exists($colspan);
put just / if exists($colspan);
put '}' / if exists($colspan);
put '{' / if exists($colspan);
/*
*/
/*put strip(VALUE);*/
put tranwrd(VALUE, '-', '$-$') / if contains(HTMLCLASS, 'Data');
put VALUE / if ! contains(HTMLCLASS, 'Data');
finish:
break /if cmp($sascaption, 'true');
put '}' / if exists($colspan);
end;
define event byline; end;
define event proc_title; end;
define event note; end;
define event Error; end;
define event Warn; end;
define event Fatal; end;
define event system_footer; end;
define event leaf; end;
define event proc_branch; end;
define event branch; end;
define event pagebreak; end;
define event system_title;end;
end;