# Tag Info

8

You can make \cup to align with , with the help of boxes: \documentclass{article} \usepackage{siunitx} \usepackage{gensymb} \usepackage{dcolumn} \usepackage{multirow} \usepackage{booktabs} \usepackage{calc} %% provides \widthof \begin{document} \begin{table} \centering \begin{tabular}{cS[table-format=3,table-space-text-post=\si{\degree}]r} \toprule ...

7

The following is more of an extended follow-up comment to Przemysław Scherwentl's answer than a new answer. Too long to fit into a "comment" box... Borrowing (stealing?!!) some code from @PaulGaborit's answer to the question Why do all symbols in $x \in X$ have their own baseline?, here's a visualization of the size and positioning of the symbols \epsilon, ...

5

If you know your text is normal text with no large inline images or math then you can assume that the depth of the line is less than that of \strut so you can make sure it is \strut then compensate. Top of page\par\vfill Bottom\strut\vadjust{\nobreak\vskip-\dp\strutbox\hbox{}} of page\par

5

With siunitx you can have an easier input; I'd prefer \si{\degree} to \degree. \documentclass{article} \usepackage{siunitx} \usepackage{booktabs} \begin{document} \begin{tabular}{ c S[table-format=3, table-space-text-post=\si{\degree} ]<{\si{\degree}} S[table-format=4] } \toprule Elevation range & \multicolumn{1}{c}{Azimuth resolution} ...

5

You have to redefine \tabularxcolumn to use m placement; this can be done locally in the center environment, so it will affect only the tabularx in the same environment. \documentclass{article} \usepackage{array,tabularx} \begin{document} \begin{center} \renewcommand{\tabularxcolumn}[1]{m{#1}} \begin{tabularx}{\textwidth}{|m{4cm} X|} \hline Text that ...

4

Here is a quick solution using the multienumerate package. It is not the most robust package but does the trick. Wait for other solutions and compare. \documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \usepackage{tikz-qtree} \newenvironment{tikztree} { \tikzpicture[sibling distance=1cm, level distance=1cm, baseline] ...

4

The inline lists offered by enumitem package is also a possibility. Code \documentclass{article} \usepackage{tikz-qtree} \usepackage[inline]{enumitem} \newenvironment{tikztree} { \tikzpicture[sibling distance=1cm, level distance=1cm, baseline] \tikzset{every node/.style={draw, circle, fill=black, inner sep=0pt, minimum size=2mm}} }{ ...

4

The problem is the clipping rectangle you are specifying, which starts at -.3\textwidth units below (0,0). This can be easily detected if you put a \fbox around each tikz picture, to reveal the actual extension of the picture: \begin{figure} \subbottom[]{ \fbox{\tikz{ \draw (0,0) ...

4

Probably this is what you want: Code: \documentclass[12pt,a4paper]{report} \usepackage{array} \newcolumntype{M}{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{1.5cm}} \begin{document} \begin{center} \begin{tabular}{|M|m{3cm}|M|M|M|M|} \hline \textbf{Q} & \textbf{Header one} & \textbf{Test \newline Text4} & \textbf{Test1 \newline ...

4

LaTeX fills the top area before the bottom area and only attempts the bottom area if the float will not fit in the top. thus to encourage floats to go top and bottom you need to restrict the top \setcounter{topnumber}{1}% 2 in article would only allow one float at the top, or \renewcommand\topfraction{.5}% .7 in article would restrict the top area to ...

4

The two cells as always are aligned on their baselines. By default a tabular is [c] aligned so its baseline goes through its centre, and images have the reference point in the bottom left corner, so the bottom of the image lines with the centre of the tabular. You could use [b] on the tabular so its reference point was the baseline of the bottom row or use ...

4

Your input can be vastly simplified and the phi exactly centered. \documentclass[11pt]{article} \usepackage[T2A,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[serbianc]{babel} \usepackage{amstext,amsfonts,amsmath,amssymb,booktabs,calc} \usepackage{rotating} \usepackage{iwona} \newcommand{\turnhead}[1]{\begin{turn}{90}#1\end{turn}} ...

4

I suggest you make the following changes: Rather than calculate the widths of individual columns to make the entire tabular environment take up (more or less) the width of the text block, I'd suggest using the tabularx environment and, at least at first, assigning equal widths to the five data columns. Fine-tuning the widths of the columns should come ...

3

You don't need a matrix, just declare each graphic as a separate tikzpicture which will be treated as any other box in LaTeX. No need for \makebox. \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}[h!] \centering \begin{tikzpicture}[xscale=0.7,yscale=2] \draw [->] (-4.2,0) -- (4.2,0); \draw [->] (0,0) -- (0,1.3); ...

3

If it needn't be an exact centering, maybe the following small modificitation will be enough (the precise value in \raisebox to be chosen}? \documentclass[11pt]{article} \usepackage[T2A,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amstext,amsfonts,amsmath,amssymb} \usepackage{rotating} ...

3

I don't know if there's a good way to do this, so I'll suggest a hack and possibly not a particularly good one. The trick is to alternately replace \\ with \crsng and \crdbl. The former is just equivalent to your old \\ and the latter is equivalent to your old \\[6pt]. Introduce the following before \begin{tabular}: \global\let\restorecr=\\ Introduce ...

3

For the adaptive width just split the definition of the first two columns, keeping the m{2cm} column for the second and introducing a c column for the first. c, l, and r columns all take the natural width of text as width. For the vertical centering you can use the \multirow{<rows>}{<width>}{<content>} command from the multirow package. ...

3

\smash or (maybe even better) amsmath's \smash[b] can help here \chemfig{A-X-\smash[b]{\printatom{Mg}}}. For the sake of not having to type \smash and \printatom I define a \smashatom below: \documentclass{article} \usepackage{chemfig} \usepackage{amsmath} \newcommand*\smashatom[2][]{% \if\relax\detokenize{#1}\relax \smash{\printatom{#2}}% \else ...

3

You can use the same approach with minipages. Give same (suitable) width to all minipages and use \hfills. \documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \usepackage{tikz-qtree} \newenvironment{tikztree} { \tikzpicture[sibling distance=1cm, level distance=1cm, baseline] \tikzstyle{every node}=[draw, circle, fill=black, inner ...

3

You can do this with the m{} column of array package. I have demonstrated two ways below. First one using m column and second one using tabularx with array package. egreg's answer comes handy here. Both m and X columns make the contents left anigned (they are just minipages). If you want them centered you can add >{\centering\arraybackslash} in their ...

3

An up-front comment: you're on your way toward moderately abusing the spirit of LaTeX's \author command. This macro is designed so that the names of multiple authors are separated by \and instructions; the \\ line break instruction is supposed to be used solely as a divider between an author's name and his/her affiliation (or similar such author-related ...

2

You defined a raggedright column type but didn't use it? \documentclass[11pt,a4paper]{article} \usepackage[francais]{babel} %\usepackage[latin1]{inputenc} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tabularx} \usepackage{array,multirow,makecell} \setcellgapes{1pt} \makegapedcells \usepackage[table]{xcolor} ...

2

As what I said in the comment, it is very very easy (as I have done this kind of table many times). :-) \documentclass[preview,border=12pt,12pt]{standalone} \usepackage[a4paper,margin=2cm]{geometry} \usepackage{pstricks-add} \usepackage{array} \usepackage{booktabs} \newcolumntype{A}[3]{% ...

2

You can put the first graph inside a scope and lower it by -.65cm (i.e., to the mid point of y-axis). \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}[h!] \centering \begin{tikzpicture} \matrix [column sep=1cm, row sep=1cm, cells={xscale=0.7, yscale=2}, align=center, nodes={rectangle, anchor=center, align=center}] { ...

2

No, not the lines are as exponents, but numbers of lines are below. It is because lines are too long to leave space for two-cipher numbers. They are as long, as the longest one. Your usage of align is, well, nonstandard. An ordinary usage is (first part) & (second part) \\ Hence dividing 9th line in a manner &(implication)\\ & \qquad (the ...

2

A new verion, after clarification. No additional packages used. Each column is a separate table. $'s left, however rather unneeded. \documentclass{article} \begin{document} \def\barr{\begin{tabular}{l}} \def\earr{\end{tabular}} \begin{tabular}{|c|l|c|c|c|c|} \hline$\textbf{Q }$& \barr$\textbf{Header one}$\earr & \barr$\textbf{Test}\\ ... 2 For the rotated labels, I used a combination of spaces and \llap. For the justification, I invoked \raggedright for each itemize environment. \documentclass[a4paper,11pt]{article} \usepackage{a4wide} \usepackage{enumitem} \usepackage{array} \usepackage{rotating} \begin{document} \begin{table}[h!] \begin{center} \footnotesize \begin{tabular}{|l|l|l|l|l|} ... 2 Using the experimental tabstackengine package introduced at Writing a table with equally spaced columns, based on the widest column, you can achieve what you requested. The package extends the stackengine package to allow tabbing. I changed the tab and end-of-align characters for tabstackengine from & and \\ to * and /, so as not to conflict with ... 2 If I understand correctly you just want to extend the final row to the bottom of the page: \documentclass{article} \usepackage{tabularx} \usepackage{zref-savepos} \usepackage{calc} \usepackage{geometry} \newbox{\ParBox} \geometry{paperheight=350pt,vmargin={0pt,0cm},hmargin={0cm,0cm},footskip=0pt,headsep=0pt,headheight=0pt} \begin{document} ... 2 You are partially answering yourself. Because\epsilon$and$\in$are rather similar, a typografic custom says that the latter should be big enough to see the difference. It is not under: it is centered, but big. Let us see: \documentclass{article} \begin{document}$\in<\in\left<\rule{0pt}{3mm}\right.\$ \end{document} In the first case \in is ...

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