diff options
Diffstat (limited to 'org/out_latex.org')
-rw-r--r-- | org/out_latex.org | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/org/out_latex.org b/org/out_latex.org index 4e0ff3e..b88324e 100644 --- a/org/out_latex.org +++ b/org/out_latex.org @@ -861,24 +861,24 @@ auto tablarize(O)( string _tablenote; foreach(row_idx, row; _table_rows) { _table_cols = row.split(rgx.table_delimiter_col); - _table ~= ""; - foreach(col_idx, cell; _table_cols) { - if ((_table_cols.length == 1) - && (_table_rows.length <= row_idx+2)) { // check row_idx+2 (rather than == ++row_idx) - _tablenote ~= cell; - } else { - // // _table ~= "\\bfseries "; - // _table ~= cell; - // _table ~= (_table_cols.length > (col_idx + 1)) ? "&" : ""; - _table ~= format(q"ā%s%sā", - cell, - (_table_cols.length > (col_idx + 1)) ? "&" : "" - ); - } + _table ~= ""; + foreach(col_idx, cell; _table_cols) { + if ((_table_cols.length == 1) + && (_table_rows.length <= row_idx+2)) { // check row_idx+2 (rather than == ++row_idx) + _tablenote ~= cell; + } else { + // // _table ~= "\\bfseries "; + // _table ~= cell; + // _table ~= (_table_cols.length > (col_idx + 1)) ? "&" : ""; + _table ~= format(q"ā%s%sā", + cell, + (_table_cols.length > (col_idx + 1)) ? "&" : "" + ); } - _table ~= "\\\\"; } - auto t = tuple( + _table ~= "\\\\"; + } + Tuple!(string, string) t = tuple( _table, _tablenote, ); |