# Tag Info

0

I found the problem. In my main file under the cover page there I introduced a longtable for my abbreviations. I missed to search for tables in the main file because I got all my text via \input{}. Logically it rose the table counter. Werner´s tip led me to reduce the counter directly before that table: % Set table index to 0. We don´t want the table to ...

2

Rather than make the \multirow bigger, I made the rows next to it bigger. \documentclass[10pt,a4paper]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{tikz} \usepackage{tabularx} \usepackage{multirow} \usepackage{hhline} \usepackage[top=2cm, bottom=2cm, left=2cm, ...

2

\documentclass{article} \usepackage{tabularx} \begin{document} \centering space is added after the rules; \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}|c|c|c|@{}} \hline \textbf{Xxx1} & \textbf{Xxx2} & \textbf{Xxx3} \\ \hline & & \\ \hline \end{tabular*} \bigskip without rules: ...

4

It is a common misunderstanding about m it does not mean place the content in the middle of the vertical space for that cell. It means: place the reference point for the content in the middle of the content. I added a line to your image showing the reference points of the cells in the second row, the reference point of column 1 is the middle of the 40 ...

2

REVISED solution, which eliminates the multirow, instead using a nested tabulars. RE-REVISED to consolidate everything into \makemytable{height}, just to allow easier play-testing with various heights. Here I just \addstackgap[<length>]{object} in order to add a vertical buffer above and below objects on that row. Buffer size added depends ...

0

Without tabular, another solution could be use graphbox package to center vertically the image with the align=c option (or valign=c of the adjustbox package as showed in other answer, that does not matter, but beware of be confused) and enclose the rotated label in two \vrule. That allow an easy fine tuning of the format of the rules, the spaces and image ...

0

In partial answer to QUESTION1 and QUESTION2. If you want more than one line you need to use a \parbox{...}{\centering ...}, which means you need to specify the width. It should be noted that when a \multicolumn is wider than the sum of the columns, all the excess will go into the last column rather than be evenly divided. You can use \makebox to force ...

3

I hope that such a questionnaire fit to stack-format. Not really, it is much better to ask 1 question per posted question, but anyway. Also the question is tagged tabularx but you don't seem to be using that. Question1: Why I can't center this text like in 3. and 4. columns in this row?(I tried to use \centering) Not sure what you mean here. ...

2

Use adjustbox's valign=c option as part of your \includegraphics option. This changes the vertical anchor from the baseline to the vertical center: \documentclass{article} \usepackage[export]{adjustbox} \begin{document} \begin{tabular}{|c|c|} \rotatebox[origin=c]{90}{{OZGUR}} & \includegraphics[scale=.25,valign=c]{example-image} \end{tabular} ...

4

The text is centered origin=c, then the rotation origin is the center of the rotated box. But then the vertical position will depend on both the width and height. This is avoided by origin=Bc, then the origin is on the baseline and the rotated text is vertically centered around the base line. Then the same can be achieved for the image using ...

4

Something like this? \documentclass{article} \usepackage{booktabs,tabularx, colortbl} \begin{document} \begin{tabularx}{0.3\textwidth}{XXX} \arrayrulecolor{red} % choose color aaaa & bbbb & cccc\\ \midrule xxxx & yyyy & zzzz\\ \end{tabularx} \end{document}

3

Something like this? \documentclass{article} \usepackage{multicol} \usepackage{enumitem} \begin{document} \begin{multicols}{3} \begin{enumerate}[label={\arabic*)}] \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item \item ...

3

The vertical position of the left entry goes out of sync with the right base line by a stray \vspace, for example. The right cell tables do not use more than one column. Also the left and right \tabskips should be suppressed in the inner tables: \begin{tabular}{@{}l@{}}. The font sizes can be added to the columns more efficiently using package array. The ...

2

moderncv uses the tabular environment internally to set those lists. On the other hand, a real list might be better suited for the job. Following three very basic examples, one tabular and two lists. Lists can be altered by packages like enumitem. \documentclass{article} \usepackage{blindtext} \usepackage{scrextend} \begin{document} \begin{tabular}{c ...

4

You currently have only columns of type l in your tabularx environment. If you replace the six final l column specifiers with X, you'll find that the columns now "fill" out the available space. By construction, the six X columns will be equally wide. However, the X columns may not appear to be equally wide, as the column headers vary considerably in length ...

3

You don't have to change the font size or abandon the basic tabularx structure. All you have to do, really, is to (a) change the column type for the header cells of the first two numeric columns to (a centered version of) the X column type, and (b) place curly braces around the right-hand most column header, viz. \textbf{Porcentaje}, to tell LaTeX to center ...

3

The solution is the makecell package, which allows for line breaks in cells, and a common formatting of column heads. Added a small vertical padding in rows and replaced the l column with X. Finally I took the liberty to correct some inconsistencies in the formatting of boldface numbers in the second row. ...

4

Try to use smaller font (if necessary) and put columns header in more lines, something like this: For above table I added package makecell and put columns header into theader from makecell: \documentclass[fontsize=11pt,paper=letter,headings=small,bibliography=totoc,DIV=9,headsepline=true]{scrartcl} \usepackage[utf8]{inputenx} ...

5


Top 50 recent answers are included