Tag Info

Hot answers tagged

6

With enumitem, two simple enumerate environments: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item \begin{enumerate}[label=(\arabic*)] \item blablabla \item blablabla \item blablabla \end{enumerate} \end{enumerate} \end{document} If you want the inner enumerate to be adjacent to the outer, you ...


5

This is just a regular \newcommand{\textlength}[2][l]{\makebox[#2][#1]} which sets the content in a fixed-width \makebox with a left-alignment. You can change this as well, to suit your needs. \documentclass{article} % \textlength[<halign>]{<width>}{<stuff>} \newcommand{\textlength}[2][l]{\makebox[#2][#1]} \begin{document} ...


4

This is another solution, using siunitx, booktabs, makecell and threeparttable. With a small margin (1.8cm) the table fits into the margins if the font size is set to \small. Hope to have turned nightmare into a mellow dream… \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[margin=1.8cm]{geometry} ...


4

If you specify a width in \multirow, it is essentially a p column, so you specify alignment in the same way: \documentclass{standalone} \usepackage{multirow} \begin{document} \begin{tabular}{|r|p{5cm}|} \multirow{2}{2.3cm}{\raggedleft text1 text1 text1} & text2 \\ & text3 \\ & text4 \\ \end{tabular} \end{document}


3

There seems to be too much data to put into one landscape table really, I used a small font and stole some margins but really it needs a different layout of some subject knowledge to compress the data (eg reduce the number of decimal places in some fields) \documentclass[a4paper]{article} \usepackage{dcolumn,booktabs} \newcolumntype{d}[1]{D..{#1}} ...


2

One option is to use adjustbox package. \documentclass{article} \usepackage{showframe} %% just for demo \usepackage{adjustbox} \begin{document} \begin{figure}[htb] \begin{adjustbox}{center,width=\textwidth} %%<-------- this added \begin{minipage}[b]{0.55\textwidth} \includegraphics[width=\linewidth]{example-image-a} \caption{Figure 1 caption} ...



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