mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
nest sideways in multicolumn instead of other way around git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24071 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fd0e789dea
commit
f1cec322f1
@ -1867,10 +1867,6 @@ int Tabular::TeXCellPreamble(odocstream & os, idx_type cell, bool & ismulticol)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
if (getRotateCell(cell)) {
|
||||
os << "\\begin{sideways}\n";
|
||||
++ret;
|
||||
}
|
||||
Tabular::VAlignment valign = getVAlignment(cell, !isMultiColumn(cell));
|
||||
LyXAlignment align = getAlignment(cell, !isMultiColumn(cell));
|
||||
// figure out how to set the lines
|
||||
@ -1933,6 +1929,10 @@ int Tabular::TeXCellPreamble(odocstream & os, idx_type cell, bool & ismulticol)
|
||||
os << '|';
|
||||
os << "}{";
|
||||
}
|
||||
if (getRotateCell(cell)) {
|
||||
os << "\\begin{sideways}\n";
|
||||
++ret;
|
||||
}
|
||||
if (getUsebox(cell) == BOX_PARBOX) {
|
||||
os << "\\parbox[";
|
||||
switch (valign) {
|
||||
@ -1980,13 +1980,13 @@ int Tabular::TeXCellPostamble(odocstream & os, idx_type cell, bool ismulticol) c
|
||||
os << "%\n\\end{minipage}";
|
||||
ret += 2;
|
||||
}
|
||||
if (ismulticol) {
|
||||
os << '}';
|
||||
}
|
||||
if (getRotateCell(cell)) {
|
||||
os << "%\n\\end{sideways}";
|
||||
++ret;
|
||||
}
|
||||
if (ismulticol) {
|
||||
os << '}';
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user