I have the following table representing my acronyms. Due to the length of the table, the table does not break at the end of the page.   \documentclass[12pt,a4paper, draft, oneside]{book}  \begin{document} \section*{Acronyms} \begin{table}[H] \begin{tabular}{ll} 2D            &amp; 2-Dimentional \\[2ex] 3D            &amp; 3-Dimentional \\[2ex] BA            &amp; Bundle Adjustment \\[2ex] CRF           &amp; Conditional Random Field \\[2ex] DLT           &amp; Direct Linear Transformation \\[2ex] DOF           &amp; Degrees of Freedom \\[2ex] DPM           &amp; Deformable Part Model \\[2ex] EO            &amp; Exterior Orientation \\[2ex] EP\textit{n}P &amp; Efficient Perspective-$n$-Point Algorithm \\[2ex] FOV           &amp; Field of View \\[2ex] FPS           &amp; Frames per Second \\[2ex] GCP           &amp; Ground Control Point \\[2ex] HOG           &amp; Histogram of Orientated Gradients \\[2ex] ICP           &amp; Iterative Closest Point \\[2ex] IO            &amp; Interior Orientation \\[2ex] IP            &amp; Infrared \\[2ex] iif           &amp; if and only if \\[2ex] i.i.d         &amp; independent and identically distributed \\[2ex] LM            &amp; Levenberg-Marquardt \\[2ex] LS            &amp; Least-Squares \\[2ex] MRF           &amp; Markov Random Field \\[2ex] MVEE          &amp; Minimum Volume Enclosing Ellipsoid \\[2ex] P\textit{n}P  &amp; Perspective-$n$-Point Algorithm \\[2ex] PCA           &amp; Principal Component Analysis \\[2ex] RMS           &amp; Residual Mean Square Error \\[2ex] SSVM          &amp; Structured Support Vector Machine \\[2ex] SVM           &amp; Support Vector Machine \end{tabular} \end{table} \end{document}
108609
I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two pages). It is a simple two column table:  \begin{table}[h] \centering \begin{tabular}{| p{.20\textwidth} | p{.80\textwidth} |}  \hline foo &amp; bar \\ \hline  foo &amp; bar \\ \hline  ... \end{tabular} \end{table}   I guess I need longtable? How do I use it?
40764
I am developing some tables on LaTeX environment and I am having some troubles with the spacing. Originally, I was able to generate the tables using the standard \begin{table}, but then I tried to add some features, as the capability to break the table if it is too long (using longtable) the issue appears. I also want to align numbers by decimal point and center, reason why I use siunitx package. The problem is on the last column, which had a width almost the double than the others. If I specify the column width, the problem "disappear", but I'm really interested in the possibility of automatically generate the width of the table.  The code is the following:  \documentclass[paper=a4, fontsize=11pt]{scrartcl} \usepackage[english]{babel} \usepackage{siunitx} \usepackage{longtable} \usepackage{booktabs}  \begin{document} \begin{longtable}{l*{4}{S}} % no problem specifying the column width\begin{longtable}{l*{4}{S[table-column-width=1.25cm]}} \caption{Univariate Item Descriptives}\\ \toprule \multicolumn{1}{l}{\textbf{Item}} &amp; \multicolumn{1}{c}{\textbf{Mean}} &amp;    \multicolumn{1}{c}{\textbf{Variance}} &amp; \multicolumn{1}{c}{\textbf{Skewness}} &amp; \multicolumn{1}{c}{\textbf{Kurtosis}} \\ \midrule \endfirsthead \multicolumn{5}{c}% {\tablename\ \thetable\ -- \textit{Univariate Item Descriptives (Continued from previous page)}} \\ \toprule \textbf{Item} &amp; \textbf{Mean} &amp; \textbf{Variance} &amp; \textbf{Skewness} &amp; \textbf{Kurtosis} \\ \midrule \endhead \hline \multicolumn{5}{r}{\textit{Continued on next page}} \\ \endfoot \bottomrule \endlastfoot 2. EX +         &amp; 2.788   &amp;    1.060 &amp;        -0.120   &amp;   -0.368\\ 3. DS +         &amp; 4.080   &amp;    0.853 &amp;        -1.141   &amp;    1.379\\ 4. AM +         &amp; 3.684   &amp;    0.705 &amp;        -0.541   &amp;    0.744\\ 5. EX +         &amp; 3.653   &amp;    1.043 &amp;        -0.709   &amp;    0.149\\ 6. DS -         &amp; 2.240   &amp;    1.665 &amp;         0.725   &amp;   -0.603\\ 7. AM +         &amp; 4.292   &amp;    0.876 &amp;        -1.627   &amp;    2.705\\ 8. EX -         &amp; 2.419   &amp;    1.588 &amp;         0.449   &amp;   -0.897\\ 9. AM +         &amp; 3.255   &amp;    0.923 &amp;        -0.234   &amp;   -0.037\\ 10. DS -        &amp; 3.449   &amp;    1.408 &amp;        -0.453   &amp;   -0.599\\ 11. EX +        &amp; 3.678   &amp;    1.232 &amp;        -0.669   &amp;   -0.219\\ 12. AM -        &amp; 2.830   &amp;    1.162 &amp;         0.029   &amp;   -0.565\\ 13. EX -        &amp; 3.452   &amp;    1.205 &amp;        -0.410   &amp;   -0.336\\ 14. DS -        &amp; 2.442   &amp;    1.374 &amp;         0.310   &amp;   -0.893\\ 15. AM -        &amp; 2.114   &amp;    1.168 &amp;         0.729   &amp;   -0.176\\ 16. EX -        &amp; 3.070   &amp;    1.085 &amp;        -0.176   &amp;   -0.347\\ 17. AM +        &amp; 3.893   &amp;    1.116 &amp;        -0.954   &amp;    0.544\\ 18. EX +        &amp; 3.311   &amp;    0.964 &amp;        -0.238   &amp;   -0.066\\ 19. AM -        &amp; 2.674   &amp;    1.404 &amp;         0.245   &amp;   -0.780\\ \end{longtable} \end{document}
57287
I am trying to make a LaTeX table that includes special headers. My code for the table is shown below: \begin{table}[ht] \centering \scalebox{0.70}{ \begin{tabular}{lddcdd} \toprule  &amp;\multicolumn{2}{c}{M1} &amp;   &amp; \multicolumn{2}{c}{M2} \\ \cmidrule{2-3} \cmidrule{5-6}  &amp; \multicolumn{1}{c}{1-2}   &amp; \multicolumn{1}{c}{7-8} &amp;   &amp; \multicolumn{1}{c}{1-2}   &amp; \multicolumn{1}{c}{7-8} \\  \midrule A &amp;   \textbf{0.0021} &amp; \textbf{0.0033} &amp; &amp; -2.37 &amp; 0.00 \\  B &amp; \textbf{0.0052} &amp; \textbf{0.0042} &amp; &amp; -1.23 &amp; 0.67 \\  C &amp; \textbf{0.0082} &amp; \textbf{0.0057} &amp; &amp; -0.21 &amp; 1.08 \\  D &amp; 0.0107 &amp; 0.0097 &amp; &amp;  0.74 &amp; 1.41 \\  E &amp; \textbf{0.0080} &amp; 0.0088 &amp; &amp;  5.05 &amp; 5.05 \\  F &amp; 0.0140 &amp; 0.0148 &amp; &amp; -2.37 &amp; 0.00 \\  G &amp; 0.0128 &amp; 0.0176 &amp; &amp; -1.23 &amp; 0.67 \\  H &amp; 0.0157 &amp; 0.0164 &amp; &amp; -0.62 &amp; 1.10 \\  I &amp; 0.0145 &amp; 0.0155 &amp; &amp; -0.21 &amp; 1.08 \\  K &amp; 0.0236 &amp; 0.0225 &amp; &amp;  5.05 &amp; 5.05 \\  \bottomrule \end{tabular}} \smallskip \caption{My Caption} \label{tab:table1} \end{table}  it creates a table like this:  but I want the bolded numbers to align nicely with un-bolded numbers...How can I make the bolded numbers to align the other numbers in the right way? Thank you,
15794
My problem is that there exists an overlap between the symbol to introduce and the section title; it is manifest with two \heartsuits  \documentclass{article} \usepackage{tocloft} \usepackage{lipsum} %\contentslabel{3em}   \renewcommand\tableofcontents{% \section*{\contentsname\@mkboth{}{}}% \thispagestyle{empty}% %\small% \@starttoc{toc}% \thispagestyle{empty}% \clearpage% } \makeatother    \makeatletter \renewcommand{\@dotsep}{2} %%\renewcommand{\cftdot}{\ensuremath{\ast}} \renewcommand{\cftpnumalign}{r} %\renewcommand{\cftsecpresnum}{SOMETHING } \renewcommand{\cftsecfont}{\bfseries} \renewcommand{\cftsecleader}{\bfseries\cftdotfill{\cftsecdotsep}} \renewcommand{\cftsecpagefont}{\bfseries} %\renewcommand{\cftsecpresnum}{SOMETHING } \renewcommand{\cftsecaftersnum}{$\heartsuit$}     \renewcommand{\cftsecaftersnumb}{$\heartsuit$}     %\renewcommand{\cftsecaftersnumb}{\\} %   \newlength{\mylen} % a "scratch" length %   \settowidth{\mylen}{\bfseries\cftsecpresnum\cftsecaftersnum} % extra space %   \addtolength{\cftsecnumwidth}{\mylen} % add the extra space     %\makeatother   \begin{document} \tableofcontents  \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11] \section{1}\lipsum[4-11]  \end{document}   The modifying commands come straight from the manual of tocloft.  My goal is to have {the section number}\heartsuit{the section title} with no space in-between the characters.  I think the solution is to make the section numbers ragged on the right, just like all the page numbers are. The package does not seem to offer a manner to control the box controlling the section number. Is this possible with titletoc? (its readme is very succinct and I do not understand half of what is written)  EDITion:  @Werner: I have a snag with the code. I want to use the same pattern for the subsections and subsubsections as the one of the sections. So I use  \renewcommand{\cftsecaftersnum}{$\bullet$} %\renewcommand{\cftsecnumwidth}{2em}  \renewcommand{\cftsubsecaftersnum}{$\bullet$} %\renewcommand{\cftsubsecnumwidth}{0em}  \renewcommand{\cftsubsubsecaftersnum}{$\bullet$} \renewcommand{\numberline}[1]{\makebox[\@tempdima][r]{\@cftbsnum #1\@cftasnum}\@cftasnumb}    but the beginnings of the subsections and subsubsections is not adequate: (I use roman numbers for my sections and sub(sub)sections) Ideally, the number subsection (and subsubsection) must be aglin with the first letter of the sections it belongs to  so  II$\bullet$Title            II.1$\bullet$subtitle                         II.1.1$\bullet$subtitle   But it is not the case with the above code.
65674
I would like to make a list of symbols and abbreviations without using any special packages like nomencl and alike. What I would like is just left-aligned two columns once for the symbols and one for the abbreviations.   Should I start with the following?  \begin{flalign*} Symbol_1 &amp;: Meaning of Symbol_1 \\ Symbol_2 &amp;: Meaning of Symbol_2 : : \end{flalign*}   Would be very grateful for any help!
7662
I am making a centered table but want the headings in the far left column to be left-aligned instead of centred.  Preamble:   \documentclass[11pt]{article} \usepackage{indentfirst} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption}  Table code: \begin{table}[ht] \caption{Regression standard errors} % title of Table \centering % used for centering table \begin{tabular}{c c c c c} % centered columns (4 columns) \hline\hline %inserts double horizontal lines Confidence Interval &amp; N=10 &amp; N=30  &amp; N=100 &amp; N=500 \\ [0.5ex] % inserts table  %heading \hline % inserts single horizontal line Asymptotic &amp; \% &amp; \% &amp; \% &amp; \% \\ Efron &amp; \% &amp; \% &amp; \% &amp; \% \\ Hall &amp; \% &amp; \% &amp; \% &amp; \%   \\ Percentile-t &amp; \% &amp; \% &amp; \% &amp; \% \\ Symmetric percentile-t &amp; \% &amp; \% &amp; \% &amp; \% \\ [1ex] % [1ex] adds vertical space \hline %inserts single line \end{tabular} \label{table:nonlin} % is used to refer this table in the text \end{table}
7598
I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*).   At some point, the text ends in the beginning of the first column of a new page. I would like to include my table on this page since it has a lot of free space below the text, but when I insert the table* right after the text, it goes to the top of the next page instead:    Do you know a way of obtaining the desired behavior?  Minimal working example :  \documentclass{article} \usepackage{lipsum}  \begin{document} \twocolumn  \paragraph{} \lipsum[1]  \begin{table*} \centering \begin{tabular}{|c|c|c|c|} \hline Column 1 &amp; Column 2 &amp; Column 3 &amp; Column 4 \\ \hline Column 1 &amp; Column 2 &amp; Column 3 &amp; Column 4 \\ \hline \end{tabular} \end{table*}%   \end{document}
59444
I have a large dataset to show in tabular format. The problem is that it doesn't page  break into more pages. And the excess is not being displayed.  This is how i used the tabular tag   \begin{tabular}{ lllllllllllllllll }  00000000 &amp; 00 &amp; 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 &amp; 14 &amp; 15 \\  00000016 &amp; 16 &amp; 17 &amp; 18 &amp; 19 &amp; 20 &amp; 21 &amp; 22 &amp; 23 &amp; 24 &amp; 25 &amp; 26 &amp; 27 &amp; 28 &amp; 29 &amp; 30 &amp; 31 \\  00000032 &amp; 32 &amp; 33 &amp; 34 &amp; 35 &amp; 36 &amp; 37 &amp; 38 &amp; 39 &amp; 40 &amp; 41 &amp; 42 &amp; 43 &amp; 44 &amp; 45 &amp; 46 &amp; 47 \\  00000048 &amp; 48 &amp; 49 &amp; 50 &amp; 51 &amp; 52 &amp; 53 &amp; 54 &amp; 55 &amp; 56 &amp; 57 &amp; 58 &amp; 59 &amp; 60 &amp; 61 &amp; 62 &amp; 63 \\  00000064 &amp; 64 &amp; 65 &amp; 66 &amp; 67 &amp; 68 &amp; 69 &amp; 70 &amp; 71 &amp; 72 &amp; 73 &amp; 74 &amp; 75 &amp; 76 &amp; 77 &amp; 78 &amp; 79 \\  00000080 &amp; 80 &amp; 81 &amp; 82 &amp; 83 &amp; 84 &amp; 85 &amp; 86 &amp; 87 &amp; 88 &amp; 89 &amp; 90 &amp; 91 &amp; 92 &amp; 93 &amp; 94 &amp; 95 \\      \end{tabular}   I haven't included all the rows here.   How can i make it automatically page break into new pages and show the entire table.
13923
\documentclass[12pt, a4paper,fleqn]{report}  \doublespacing \usepackage[comma,super,sort&amp;compress]{natbib} \bibliographystyle{rsc.bst}  \usepackage{comment} \setcounter{secnumdepth}{4} \usepackage{graphicx} \usepackage{amsmath} \graphicspath{ {images/} }   \begin{document} \section{Molecular dynamics simulations}   ....content....  \begin{equation} \centering m_\mathit{i} \frac{\delta^2\mathbf{r_\mathit{i}}}{\delta \mathit{t}^2}= \mathbf{F_\mathit{i}},\mathit{i} = 1....N. \end{equation}
51796
The image above is for a reference in double-column IEEEtran class.   One potential solution is mentioned in , but this works when there are no single extremely long words in the link. The link above contains a long PDF file name  PGLowSCRWindGenerationInstabilityIdentificationandMitigation.pdf  The name is too long that it cannot fit in one column, but LaTeX still does not hyphenate it.  The solution in  yields    Thus, further decrease in the link size is needed.   Is there a way to force it to stay within the column width while maintain an intact hyperlink?  \begin{filecontents*}{sample.bib} @online{lovelace2015low,     author = {{Lovelace, Will}},     title = {{Low SCR Wind Integration and Mitigation}},     url = {http://www.cce.umn.edu/documents/CPE-Conferences/MIPSYCON-PowerPoints/2015/PGLowSCRWindGenerationInstabilityIdentificationandMitigation.pdf},     organization = {Minnkota Power Cooperative},     date = {2015-11-11},     urldate = {2019-05-20} } \end{filecontents*}  \documentclass[]{IEEEtran}  \usepackage[square,numbers]{natbib}  \begin{document}  \cite{lovelace2015low}  \bibliographystyle{IEEEtran} \bibliography{sample}  \end{document}
19193
I have the following code to layout two tables side by side:  \begin{minipage}{0.3\textwidth} \begin{tabular}{c | c | c | c | c | c | c} F &amp; D &amp; E &amp; G &amp; P &amp; A &amp; L\\ \hline C &amp; H &amp; I &amp; I &amp; U &amp; G &amp; F\\ \hline G &amp; Z &amp; G &amp; A &amp; F &amp; Z &amp; U\\ \hline F &amp; R &amp; \textbf{H} &amp; \textbf{A} &amp; \textbf{U} &amp; \textbf{S} &amp; Z\\ \hline R &amp; P &amp; L &amp; I &amp; N &amp; F &amp; H\\ \hline L &amp; U &amp; G &amp; I &amp; A &amp; C &amp; T\\ \hline A &amp; B &amp; D &amp; N &amp; E &amp; R &amp; Z\\ \end{tabular}  \end{minipage}  \begin{minipage}{0.3\textwidth} \begin{tabular}{c | c | c | c | c | c | c} F &amp; D &amp; E &amp; G &amp; P &amp; A &amp; L\\ \hline C &amp; H &amp; I &amp; I &amp; U &amp; G &amp; F\\ \hline G &amp; Z &amp; G &amp; A &amp; F &amp; Z &amp; U\\ \hline F &amp; R &amp; \textbf{H} &amp; \textbf{A} &amp; \textbf{U} &amp; \textbf{S} &amp; Z\\ \hline R &amp; P &amp; L &amp; I &amp; N &amp; F &amp; H\\ \hline L &amp; U &amp; G &amp; I &amp; A &amp; C &amp; T\\ \hline A &amp; B &amp; D &amp; N &amp; E &amp; R &amp; Z\\ \end{tabular}  \end{minipage}   But it doesn't work. The tables are one below the other. What am I doing wrong?
51782
I would like an acronym list with equal vertical space between each acronym. My list is grouping acronyms that start with the same letter. How is this avoided?  Here is the code for a  with this "problem":  \documentclass[11pt,a4paper,openany,oneside]{book}  \usepackage[acronym,nonumberlist,toc]{glossaries} \usepackage{glossary-superragged} \makeglossaries  \renewcommand*{\acronymname}{List of Acronyms and Abbreviations} \renewcommand*{\glspostdescription}{} % remove trailing dot \renewcommand{\glsnamefont}[1]{\textbf{#1}} \newacronym[longplural={Affinity Diagrams}]{ad}{AD}{Affinity Diagram} \newacronym{dom}{DOM}{Document Object Model} \newacronym{svg}{SVG}{Scalable Vector Graphics} \newacronym{spa}{SPA}{Single Page Application}  \begin{document}  \tableofcontents \printglossary[style=super, type=\acronymtype]  \section{First section}  Here we go... \gls{ad}, \gls{dom}, \gls{svg} and \gls{spa}! \end{document}   I get the following output:
71522
I am using the tocloft package so that the word Table shows up before the number in the list of tables.  When I do this, the tables with long captions wrap to the next line but are not aligned.  This is the code that I am using.   \documentclass [12pt] {article} \usepackage{times, url} \usepackage[left=1.5in,top=1in,bottom=1in,right=1in,footskip=0.5in]{geometry} \usepackage{float} \usepackage{booktabs,threeparttable} \usepackage[subfigure]{tocloft} \usepackage{subfigure} \usepackage[justification=centering]{caption}  \renewcommand{\cfttabfont}{Table }   \begin{document}   \listoftables    \begin{table}[htbp] \begin{threeparttable} \captionsetup{font=normalsize} \caption{Summary Statistics for Structural Housing Characteristics.  Central Kentucky Data, 2000-2011. N=142,164.} \centering \footnotesize \label{table:sumstatsfull} \begin{tabular}{lcccc} \hline Variable &amp; Mean &amp; Std. Dev. &amp; Min &amp; Max \\ \hline \end{tabular} \end{threeparttable} \end{table}  \end{document} `  I want the Table to precede the table number but I want the caption to be aligned like it is when the code below is used  ` \documentclass [12pt] {article} \usepackage{times, url} \usepackage[left=1.5in,top=1in,bottom=1in,right=1in,footskip=0.5in]{geometry} \usepackage{float} \usepackage{booktabs,threeparttable} \usepackage[subfigure]{tocloft} \usepackage{subfigure} \usepackage[justification=centering]{caption}  %\renewcommand{\cfttabfont}{Table }   \begin{document}   \listoftables    \begin{table}[htbp] \begin{threeparttable} \captionsetup{font=normalsize} \caption{Summary Statistics for Structural Housing Characteristics.  Central Kentucky Data, 2000-2011. N=142,164.} \centering \footnotesize \label{table:sumstatsfull} \begin{tabular}{lcccc} \hline Variable &amp; Mean &amp; Std. Dev. &amp; Min &amp; Max \\ \hline \end{tabular} \end{threeparttable} \end{table}  \end{document}
20173
I have posted this code before. i now want to add two multi columns upside down to the same table jus like i have marked before and after table picture to make my point clear    Here is my code of picture no 1 i posted  \documentclass[journal]{IEEEtran}  \usepackage{multicol}  \usepackage{multirow}  \begin{table*}  \settowidth\rotheadsize{DIMENSIONS}  \renewcommand\multirowsetup{\centering}  \renewcommand{\arraystretch}{1.5}      \centering  \caption{Extreme Learning Machine(ELM) with kernel classifier accuracy of   combine reduced feature vectors whose individual classifier accuracy was low}      \begin{tabular}{|l|l| c |C{2.5cm}| c |C{2.5cm}|C{2cm}|C{2.5cm}|}      \hline   Algorithm      &amp; Dimension          &amp;  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}              &amp; Total after Adding Dimensions                  &amp; Classifier                      &amp; Dimension Reduction Technique                          &amp; Reduced Dimension                              &amp; Accuracy  \\       \cline{1-2} \cline{4-8}  LBP &amp; 4D    &amp;                  &amp; \multirow{5}{=}{4D + 6D + 4D\\ + 3D + 4D = 21D}                      &amp; ELM                          &amp; \multirow{5}{=}{Eigenvalue as Dimension Estimator,                                            PCA as Dimension Reduction}                             &amp; \multirow{5}{=}{21 dimensions reduced to   dimensions}                                 &amp; \multirow{5}{=}{Combine accuracy of 9  dimensional                                                   reduced Feature Vector is  again 80\%}    \\      \cline{1-2} \cline{5-5}  RGLBP         &amp; 6D    &amp;   &amp;   &amp; ELM   &amp;   &amp;   &amp;   \\      \cline{1-2} \cline{5-5}  BDIP   &amp; 4D    &amp;   &amp;   &amp; ELM   &amp;   &amp;   &amp;   \\      \cline{1-2} \cline{5-5}  HOG      &amp; 3D    &amp;   &amp;   &amp; ELM   &amp;   &amp;   &amp;   \\      \cline{1-2} \cline{5-5}  Combine and reduced     &amp; 4D    &amp;   &amp;   &amp; ELM   &amp;   &amp;   &amp;    \\    fv of poor individual  &amp;       &amp;   &amp;   &amp;       &amp;   &amp;   &amp;  \\     accuracy algorithms   &amp;       &amp;   &amp;   &amp;       &amp;   &amp;   &amp; \\        \hline  \end{tabular}  \label{table:table6}  \end{table*}
72900
\usepackage{longtable}  \begin{landscape} \begin{table}[!htb] \centering \resizebox{\linewidth}{!}{% \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}  % Table here  \end{longtable}% }% \end{table} \end{landscape}   I am unable to get the table to span over multiple pages while fitting the table to the width of the landscape page. Would you know how to do this, please let me know.
75503
The table is too wide, and I want to make it narrower by wrapping the Second under the First, how should I achieve this?  The latex code looks like this currently:  \begin{table*}[htbp]    \centering   \caption{Add caption}     \begin{tabular}{c|ccccc}     \hline     \textbf{\#} &amp; \textbf{Violations} &amp; \textbf{First Second} &amp; \textbf{First Second} &amp; \textbf{First Second} &amp; \textbf{First Second} \bigstrut\\     \hline     1   &amp; 0   &amp; 91  &amp; 101 &amp; 507 &amp; 1973.54 \bigstrut[t]\\     2   &amp; 0   &amp; 102 &amp; 92  &amp; 472 &amp; 1874.65 \\     3   &amp; 0   &amp; 104 &amp; 92  &amp; 459 &amp; 1856.21 \\     4   &amp; 0   &amp; 108 &amp; 100 &amp; 407 &amp; 1790.56 \\     5   &amp; 0   &amp; 112 &amp; 77  &amp; 511 &amp; 1723.66 \\     $\ldots$   &amp; $\ldots$  &amp; $\ldots$  &amp; $\ldots$   &amp; $\ldots$   &amp; $\ldots$ \\     \hline     \end{tabular}%   \label{tab:addlabel}% \end{table*}%
96755
I've been trying to get a diagonally-split table header using the diagbox package, but I have a problem.  Here's a working sample that shows the problem:      \documentclass[12pt, a4paper, twoside]{article}   \usepackage{diagbox} %table split headers \usepackage{longtable}  \usepackage{array} \usepackage{rotating}  \newcommand{\tabred}{-4pt} \newcommand*\rot{\rotatebox{90}}  \begin{document}  \begin{longtable}{     | l&lt;{\hspace{\tabred}}      | &gt;{\hspace{\tabred}}c&lt;{\hspace{\tabred}}      | &gt;{\hspace{\tabred}}c&lt;{\hspace{\tabred}}      | &gt;{\hspace{\tabred}}c&lt;{\hspace{\tabred}}      | &gt;{\hspace{\tabred}}c&lt;{\hspace{\tabred}}      | &gt;{\hspace{\tabred}}c&lt;{\hspace{\tabred}}      | &gt;{\hspace{\tabred}}c&lt;{\hspace{\tabred}}     |}  \hline  \diagbox[dir=NW]{Feature}{Tool}  &amp; %THIS IS THE PROBLEM!  \rot{Tool Alpha}    &amp;  \rot{Tool Delta}    &amp;  \rot{Tool Gamma}    &amp;  \rot{Tool Theta} &amp;  \rot{Tool Upsilon} &amp;  \rot{\textbf{Tool X (our proposal) }}\\  %\midrule \hline  Feature A - Fooing the Bar  &amp; NO    &amp; NO    &amp; NO    &amp; NO    &amp; OK    &amp; OK\\ Feature B - Barring the Foo &amp; OK    &amp; NO    &amp; OK    &amp; NO    &amp; NO    &amp; OK\\ \hline \end{longtable}  \end{document}   The problem is that, since I rotate the headers, they are very tall. As you can see from the image below, this ruins the alignment of the diagonal line:    As you can see, there are two problems: the north-west end of the diagonal line doesn't touch the north-west corner of the box, and the south-east end of the diagonal line doesn't touch the south-east corner.  With the answer posted here:  I've been able to use \rule to fix one of the angles, but never both. No matter what I try, the spacing screws up.  Any ideas?