# Tag Info

21

Using tcolorbox; adjust the settings according to your needs: The code: \documentclass[12pt]{article} \usepackage[many]{tcolorbox} \usepackage{graphicx} \definecolor{boxbg}{RGB}{179,222,255} \tcbset{ common/.style={ before=\vskip2\baselineskip\noindent, after=\vskip2\baselineskip, enhanced, colback=boxbg, frame code={}, ...

21

\documentclass[border=2pt]{standalone} \usepackage{tikz,xcolor} \usetikzlibrary{calc} \definecolor{skyblue}{HTML}{B9E1FD} \begin{document} \begin{tikzpicture}[line width=.7pt, inner sep=7pt] \node [draw,rounded corners,dashed,fill=skyblue,text width=.6\textwidth] (B){% \bfseries Did you know? \par \bigskip Once upon a time ...

4

I think you mix two things: Design a new document class, that is, create something like article.cls or ieeetran.cls. It indeed takes a lot of effort to create a document class. Change the document class you use, that is, you have a document that starts with \documentclass{article} and you want to change it to a document that starts with ...

2

Setting aside all due comments about logical versus physical markup, how would you just dash this off quickly in a one-off scenario? If you have just one line, then the flushright environment will do the job. If you have multiple lines, you probably want them left-justified among themselves. This can be done by enclosing them in a tabular: ...

2

The question title mentions Question-Answer stuff, the picture shows a regular list. A list is ususally done using a list environment, this time using labeling provided by KOMA-script. Sometimes, a tabular environment can be used to do list-like stuff as well. \documentclass{article} \usepackage{scrextend} \usepackage{tabularx} \begin{document} ...

1

I will give you just a starting point. I used package mwe for example images and package blindtext to insert a dummy text document. I used KOMA-Script for this example (documentclass scrartcl). In line 19 you find \tableofcontents to insert the table of contents at this point in the document. In line 20 you find \listoffigures to insert the table of ...

1

Following this answer (Frank Mittelbach) If the end of the document has been reached or if a \clearpage is encountered, LaTeX starts a new page, relaxes all restrictive float conditions, and outputs all floats in the holding queue by placing them on float page(s). So one can try to use \clearpage just after the table.

1

Not sure what you've tried, but the following should work to generate italic text. \documentclass[border=1pt]{standalone}%{article} \usepackage{tabularx} \begin{document} \begin{center} %% Be sure to select the desired width of the "tabularx" environment \begin{tabularx}{0.7\textwidth}[c]{@{}X@{}} Vehicle information, e.g., type and id, vehicle ...

1

Environment tabularx is already be used, only the usage of the column type X is missing. Also it seems the entries should be vertically centered, this can be achieved by the redefinition of \tabularxcolumn to internally use column type m instead of p. Also the example uses the lines of package booktabs. \documentclass{article} \usepackage{array} ...

1

If I understand your question correctly, than you wish something like this: From your (not complete code) I made the following MWE: \documentclass{article} \usepackage{makecell,multirow,tabularx} \newcolumntype{R}{>{\raggedright\arraybackslash}X} \renewcommand\theadfont{\bfseries} \begin{document} \begin{table}[h] \centering ...

1

You just need to allow space for the - sign, and make your note narrower. \documentclass[12pt, a4paper]{article} %some important packages \usepackage[T1]{fontenc} %set font encoding \usepackage[utf8]{inputenc} %set input encoding \usepackage[english,ngerman]{babel} %language settings \usepackage{graphicx} ...

1

The problem disappeared when I commented the table note at the end. I suspect the width alloted (0.88 \textwidth) was a bit too large. I propose an automatic computation of this width, thanks to the threeparttablex package, which measures the width of the table. You have to use the ThreePartTable environment, and define the table notes beginning with the ...

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