I'm new to LyX and I'm trying to create a long table with 37 columns and 2 rows. Just for the test i include a code example. I tried use longtable package, supertable and the long table option in the table settings. Neither work. Could someone help me. Thanks.
Code: Select all
Code, edit and compile here:
\documentclass[english]{article}\usepackage[T1]{fontenc}\usepackage[latin9]{inputenc}\usepackage{rotating}\makeatletter%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.%% Because html converters don't know tabularnewline\providecommand{\tabularnewline}{\\}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.\usepackage{multicol}\usepackage{longtable}\makeatother\usepackage{babel}\begin{document}\begin{sideways}\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}\hline1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 0 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20 & 21 & 22 & 23 & 24 & 25 & 26 & 27 & 28 & 29 & 30 & 31 & 32 & 33 & 34 & 35 & 36 & 37\tabularnewline\hline\hlinea & b & c & d & e & f & g & h & i & j & k & l & m & n & o & p & q & r & s & t & u & v & w & x & y & z & aa & ab & ac & ad & ae & af & ad & ae & ag & ah & ai\tabularnewline\hline\end{tabular}\end{sideways}\end{document}