Hot answers tagged

4

The first approach is implemented in Macro that takes a variable number of arguments, and creates a table with one row per argument. Be sure to read all the comments there. In particular, this is possibly not a great markup style. The second approach is easy to implement with expl3 (you don't even need to specify the number of elements), for instance like ...


3

I suggest a slightly different layout of your tabular. As you see from your example, the text in first and second column is not on the same baseline, which is considered as bad typography. In addition, all the vertical and horizontal rules are unnecessary when you use shading. Also, you get white lines scattered around because neither \rowcolor and booktabs-...


2

Well, the template you are using is build to have only one page ... If you need more you can fool the environment tweety which is defined as: \newenvironment{twenty}{% \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll} }{% \end{tabular*} } The issue here is that an tabular can not span pages ... So one possibility would be to use longtable I did not ...


2

One more possible solution ... with use of enumitem and etoolbox package lists itemize inside tables are accommodate to use in tables for horizontal rules in table are used lines defined in the boldline package for column with lists is define new column type I (see MWE below) Edit: more top vertical spaces in cells are achieved by use of the cellspace ...


1

You can set the spacing in the environment with \setlenght\itemsep{0em}to a smaller one. Note that you can change it also to negative values like -2em to get even smaller spacing. \documentclass[a4paper]{article} \usepackage{amsmath} \begin{document} \begin{equation} V^{\text{k+1}}_i=w V^k_i+c_1rand_1(pbest-s^k_i)+c_2.rand_2(gbest-s^k_i)\label{eq:4} \...


1

Here is an example on how to use the inline option of enumerate or the tasks package: \documentclass{article} \usepackage[inline]{enumitem} \usepackage{tasks} \begin{document} \begin{enumerate*}[label=(\alph*)] \item first item \item second item \end{enumerate*} \begin{tasks}(2) \task first item \task second item \end{tasks} \end{document}


1

If you load geometry, (this supposes you don't use marginal notes), your table can fit text width, and anyway, you don't need threeparttable: just add another row and a \multicolumn, and use the medsize environment from nccmath and multlined from mathtools. I also took the opportunity to improve the placement of the indices of the letter χ: \documentclass[...


1

From your code fragments I try to compose MWE (Minimal working example), a small but complete document which which is supposed to reproduce your problem. I would not use threeparttable. Instead tablenotes I suggest to use simple text and aligned math environment for equations: \documentclass{IEEEtran} \usepackage{rotating} \usepackage{array, booktabs} \...


Only top voted, non community-wiki answers of a minimum length are eligible