# Tag Info

1

You have to make your data fit in the space, tabularx isn't really going to help with that, so I used a normal tabular (you could use tabularx and just not use its features but that just slows things down) as xxxxxx is never going to automatically hyphenate I added hyphenation points by hand (\-) (and changed a few x to other random letters so I could see ...

6

\documentclass{article} \usepackage[T1]{fontenc} \usepackage[dvipsnames,svgnames,table]{xcolor} \usepackage{makecell,tabularx} \newcolumntype{L}{>{\raggedright\arraybackslash}X} \usepackage[many]{tcolorbox} \newtcolorbox{tctabularx}[1]{% enhanced, fonttitle=\sffamily\bfseries, fontupper=\small\sffamily, arc=0mm, ...

7

Try the before upper app={\rowcolor{yellow!30!white} key -- code which is introduced before the first line of tabularx is shipped out. (See section 18.1 'hooks' of the current (3.72) manual of tcolorbox) \documentclass[border=5mm, preview]{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[dvipsnames,svgnames,table]{xcolor} ...

0

You could employ a basic tabular* environment to get the job done, as there seems to be no need for the line-wrapping capabilities of the tabulary environment. The column type C is set to render its contents in math mode automatically. By the way, it's not a very good idea to manipulate the low-level macro \baselinestretch directly. Instead, consider ...

1

I was lazy to put all those $s so I created a new column. But you have to use$ when you write L_t etc. \documentclass{report} \usepackage{tabulary} \newcolumntype{M}{>{$}C<{$}} \begin{document} I want a table that is the same width as the text I'm using tabulary and that has shrunk the table however the lines between the column headers are no ...

1

I think you need to contemplate displaying your table in landscape mode, especially if you want to avoid having to resort to minuscule font sizes. In the code below, I use \allowbreak directives to introduce line breaks in some of the columns. I would also like to recommend (i) not using any vertical lines in the table and (ii) using the line-drawing macros ...

1

A variant with \tablex, using its longtable functionalities (repeated head on every page). I replaced the \parbox{0pt}s with an adapted\multirow: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{ragged2e} \usepackage{ltablex} \usepackage{array, multirow, makecell} \newcommand{\quotes}[1]{#1''} ...

2

With ltablex package, you can have tabularx that spans multiple pages. Just add \usepackage{ltablex} in the preamble. Also remove [0pt] from those \parboxes. \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{tabularx} \usepackage{makecell} \newcommand{\quotes}[1]{`#1''} ...

3

Here is a solution with the makecell package, which allows for line breaks inside cells: \documentclass{article} \usepackage[margin=2.5cm]{geometry} \usepackage[spanish]{babel} \usepackage{tabularx, makecell} \renewcommand\theadfont{\normalsize} \setcellgapes{4pt} \begin{document} \makegapedcells \begin{tabularx}{\linewidth}{|*{3}{X|p{10pt}|}} \hline ...

2

It is the reverse actually: you should not split one column in to four columns, Use four columns and merge them in to one. \documentclass[border=3pt]{standalone} \begin{document} \begin{tabular}{|*{10}{l|}} \hline 1 & 2 & \multicolumn{4}{c|}{3 to 6} & \multicolumn{4}{c|}{7 to 10} \\\cline{3-10} & & 3 & 4 & 5 & 6 & ...

3

Apparently using \tabularx....\endtabularx 'annoys' \bottomrule, leaving no real tabular environment group, so group the \tabularx... content. In any case the \bottomrule must be shifted to the \end... part of the tabular environment if it should appear there. \documentclass{article} \usepackage{array, booktabs, tabularx} ...

0

This is a bug if m column type is used in the last column. A workaround will be to use another dummy column as the last column like @{\kern-\tabcolsep}L{0}@{\kern2\tabcolsep} + in \begin{tabularx}{\textwidth}{ + L{0.7} ' C{0.15}{row_uneven} ' C{0.15} {row_uneven}@{\kern-\tabcolsep}L{0}@{\kern2\tabcolsep} + } You have to add an ...

3

Package tabularx uses \tabularxcolumn for the column type of X columns. The default is p{#1}. It can be redefined to match the other m column: \documentclass[12pt,letterpaper]{article} \usepackage{tabularx} \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} \newcolumntype{Y}{>{\centering\arraybackslash}X} \usepackage{tikz} \begin{document} ...

2

You can use the \subcaption command from the package with the same name to add a caption for each sufigure. There is a problem with using subcaptions inside a tabularx, see this bug report at SourceForge, so it's better to use a regular tabular with p columns. Notes about the code: The \label always has to be placed after (or within) the \caption. I ...

0

Also consider something like this: \usepackage{enumitem} .... \begin{itemize}[nosep, leftmargin=5mm] \item Satisfy individual's needs for affiliation \item Develop individual's sense of identity \item Reduce individual's axiety and feelings of insecurity and powerlessness \end{itemize} The nosep kills all vertical spacing, leftmargin halves ...

1

Similarlly as said Christian Hupfer in his comment, I can not reproduces your result. Since you didnt provide any information about your preamble, I use make from your code the following MWE: \documentclass[a4paper,pagesize]{scrartcl} \usepackage[paper=a4paper,left=35mm,right=25mm,top=30mm,bottom=25mm] {geometry} \usepackage{tabularx} ...

Top 50 recent answers are included