Tag Info

Hot answers tagged

11

I think you wanted to write *{2}{c@{{}\mathrel{<}{}}}l instead of c*{2}{@{{}\mathrel{<}{}}l} which means having the last two columns left-aligned. In fact, the syntax for multiple columns with same alignment is *{<number of columns>}{<column alignment>} Also, since the < symbol is defined as \mathrel by default, you can ...


5

Your current table is quite hard to read so I would like to propose a completely different approach: % arara: pdflatex \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{siunitx} \usepackage{booktabs} \usepackage{chngcntr} \counterwithin{table}{section} \usepackage{etoolbox} \begin{document} \setcounter{section}{1} \setcounter{table}{1} ...


2

You can try something like this (all horizontal and vertical rules only for explanation and can be removed): \documentclass{article} \usepackage{array,tabularx} \begin{document} \newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} \newcolumntype{N}{>{\centering\arraybackslash}X} \begin{tabularx}{\linewidth}{|R{5cm}|N|m{5cm}|} \hline Lorem ipsum ...


2

Two options: Using some tabulars for each layer and the subcaption package: The code: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure} \begin{minipage}{\linewidth} \centering \begin{tabular}{ccc} \includegraphics[width=.28\linewidth,height=1cm]{example-image-a} & ...


2

May be you are looking for \documentclass{article} \def\inv{^{-1}} \begin{document} \[ \begin{array}{c*{2}{@{{}\mathrel{<}{}}c}} 1 & |z| & |k|\inv \\[\jot] |k| & |\phi(z)| & \hphantom{|} 1 \end{array} \] \end{document} in your original code c*{2}{@{{}\mathrel{<}{}}l} means first column is center and the two last column ...


1

When you process the first example Here some metrical text, longer than one line, and I want the {\raggedleft second line to be right aligned.\quad 1\par} the \par command appears when \raggedleft is in effect and so the whole paragraph will be ragged left. In the second case you're telling TeX where to break the first line, but the paragraph is ragged ...


1

Obvious your picture is to wide to be fit in text width. See comparison: As you can see, figures b and c overlap. What to do: 1. enlarge (locally text width for example with help of package changepage. With \adjustwidth}{<leftmargin>}{<rightmargin>} <your figures> \end{adjustwidth} redesign your second and third figures so, that ...


1

Insteadtabulary i suggest to use tabularx. \documentclass[a4paper,twoside,11pt,openany]{book} \usepackage[utf8]{inputenc} \usepackage{makecell,booktabs,tabularx} \renewcommand\theadfont{\bfseries} \usepackage{siunitx} \usepackage{ragged2e} \usepackage[active,floats,tightpage]{preview} \setlength\PreviewBorder{1mm}% \begin{document} ...



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