Otherwise the colored ERT will cause LaTeX-errors. But if there is ERT, mark only the characters. To color the characters in the table, mark the cells and use the LyX menu Layout→Character. That is inserted at the beginning of the cell as ERT. That is inserted in the first cell of the line as ERT. \renewcommandĪs we want to color the first column with darkgreen, we insert To override the default, we renew the command \multirowsetup with the preamble line Image 2 at the top shows what I get when I insert TOC for my report in LYX. ![]() Image 1 at the bottom shows an example table of content and I want a similar one for myself. The text follows outside the ERT-box and the command is finished with a right brace } in another ERT-box at the end of the text.Īt last we have to center the text, because \multirow left-aligns texts by default. Change table of content font in lyx Postby mkbh10 Thu 9:15 pm I have attached two images. As we are using a LaTeX-command, switch to ERT with the shortcut C-l and type in the commandĪccording to the command definition the multirow spans now two rows and has a width of 2.5 cm. ![]() LaTeX has an ability to produce table of contents automatically for the whole document. The multirow is now created in the second row of the first column. Open LyX and select Tools > Preferences > Language Settings >. To get rid of the line above the last cell in the first column, we mark this cell as multicolumn in the table dialog and unset the upper border in the borders dialog.
0 Comments
Leave a Reply. |