I have been trying to do something like this in Lyx.

enter image description here

As you can see is a very simple style that I been trying to reproduce but without any success. I know there are to many questions related to this but I tried some of the answers but nothing seems to work. I also wanna know if there is a color package with a color like the one that I show in the image, I remembered reading something like this in another question that I can no find. I used the xcolor package but when I tried to generate the PDF, there was always an error except when I used the "basic" colors.

Thanks a lot

  • 1
    Check Help->Embedded Objects, section 2.11. – juliohm Oct 2 '13 at 16:52

Start a table as usual in LyX using Insert -> Table... Load the xcolor package in the preamble with the table option:


In the first cell of your table, select Insert -> TeX Code and write:


For more information check Help -> Embedded Objects, section 2.11.

  • A possible addition: one can specify custom colors when using xcolor, for example \definecolor{myowncolor}{rgb}{0.2, 0.4, 0.6}. See section 2.5 of the xcolor manual for details. – Torbjørn T. Oct 6 '13 at 7:54
  • Thanks a lot for you replay, now I wonder what about the line size/style, how can I put doble border instead of one single line or how can I increase the its size. – user2343521 Nov 29 '13 at 19:09
  • @user2343521, check the tool bar at the bottom when the cursor is inside the table. There are many options to activate/deactivate double borders, centering, etc. – juliohm Nov 30 '13 at 15:04
  • @juliohm Gracias por tu respuesta. Of course that I have seen that tool bar, but I just see some options for general borders and the alignment of the text inside the cell, but nothing about the width of the border line. Until now the only thing that I have found about this is this command that allows to put double border line and not more hline. – user2343521 Dec 1 '13 at 19:47
  • @user2343521, have you tried right-click More... -> Settings...? – juliohm Dec 1 '13 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.