# Tag Info

0

My answer is to used {p} in \begin{tabular} to left-justify the text: \documentclass[11pt]{report} \usepackage{amsmath,array} \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} \begin{document} \begin{table}[] \caption{Comparisons of different PVT systems, presented in 2014.} \begin{center} \begin{tabular}{|C{1cm}|p{6cm}|C{3cm}|C{3cm}|} %\hline % ...

5

You need to make the table narrower than the text width, also as latex warns: LaTeX Warning: Unused global option(s): [paper=a4]. The document class option syntax was wrong. \documentclass[a4paper]{article} % A4 paper and 11pt font size \usepackage[dutch]{babel} % Dutch language/hyphenation \usepackage{array} ...

4

You could use empheq: \documentclass{article} \usepackage[fleqn]{amsmath} \usepackage{empheq} \newcommand{\diff}{\mathop{}\!\mathrm{d}} \newenvironment{boxedalign} {\setlength\mathindent{0pt}% \empheq[box=\fbox]{align*}} {\endempheq} \begin{document} \section{Integrals} Some text just to show alignment with the left margin that should fill a line ...

1

Here are two possible options: \documentclass{article} \usepackage[fleqn]{amsmath} \usepackage{framed,varwidth} \begin{document} \section{Integrals} \begin{framed} \begin{itemize} \item[I.] $\displaystyle \int_a^b k \mathrm{d}x = k(b - a)$ \item[II.] $\displaystyle \int_a^b k \cdot f(x) \mathrm{d}x = k \cdot \int_a^b f(x) \mathrm{d}x$ ...

0

You can provide the necessary definitions for three columns: \newlength\listtripleitemmaincolumnwidth \makeatletter \renewcommand*{\recomputecvlengths}{% \setlength{\quotewidth}{0.65\textwidth}% \setlength{\maincolumnwidth}{\textwidth-\separatorcolumnwidth-\hintscolumnwidth}% ...

4

You can use tcolorbox: \documentclass{article} \usepackage{tcolorbox} \usepackage{lipsum} \newlength{\boxindent} \AtBeginDocument{\setlength{\boxindent}{2em}} \begin{document} %% A ruler'' \noindent \vrule width 2em height 0.4pt depth 0pt \kern-.2pt \vrule width .4pt height 3pt depth 2.6pt \kern-.2pt \vrule width \dimexpr\textwidth-2em\relax height ...

3

Here are two options that provide similar layout. framedparA uses a center environment to set the contents horizontally inside a \parbox of required width. framedparB uses mdframed and allows to be broken across the page boundary. \documentclass{article} \usepackage{lipsum,environ,mdframed} \NewEnviron{framedparA}[1][2em]{% \begin{center} \fbox{% ...

6

Your question could be clearer but I think you want \noindent \hspace*{2em}% \fbox{\parbox{\dimexpr\textwidth-4em-2\fboxsep-2\fboxrule\relax}% {Paragraph text}} Or perhaps simpler \begin{center} \fbox{\parbox{\dimexpr\textwidth-4em-2\fboxsep-2\fboxrule\relax}% {Paragraph text}} \end{center}

3


7

\documentclass{article} \usepackage{enumitem,xcolor} \usepackage{showframe} \begin{document} \begin{description}[font=\color{black},before=\color{blue},nosep] \raggedleft %% put this here \item[Item:] some text some text some text \item[Another item:] some text \item[Very long item:] some text some text \item[Short ...

3

This is a (very late!) supplement to lockstep's answer which just offers a visual demonstration of the difference between the use of \centering and the center environment within figure environments. Each page shows 2 figures, one using \centering and one using center. The differences in spacing are the result of ordering the two figure environments ...

Top 50 recent answers are included