The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

10

\documentclass{article} \usepackage{bbding,enumitem} \begin{document} \begin{itemize}[label=\CheckmarkBold] \item Correct answer. \item Also correct \item[\XSolidBrush] Not correct answer. \end{itemize} \end{document} The spacing and gaps can be tuned with the enumitem options (text margin shown for clarity): \documentclass{article} \usepackage{bbding,...


6

With the help of the enumitem package you can achieve the following result: \documentclass{article} \usepackage{enumitem} \newlist{tabitem}{itemize}{1} \setlist[tabitem]{wide=0pt, nosep, leftmargin= * ,label=\textbullet,after=\vspace{-\baselineskip},before=\vspace{-0.6\baselineskip}} \begin{document} \setlength{\arrayrulewidth}{1mm} \setlength{\tabcolsep}{...


5

This answer is similar in spirit to the one by @daleif. The difference is that I use the macro \RaggedRight (from the ragged2e package) instead of the basic \raggedright directive; the difference is that \RaggedRight permits hyphenation. I also use a \newcolumntype instruction to set up a new column type called "P" that sets in contents automatically in ...


5

A solution using no new packages, only xcolor. You can add shadow to any symbol or text using the command created here, \ourshadow. Output Code \documentclass{book} \usepackage{enumitem} \usepackage{amsmath,amsfonts,amssymb,amsthm, bm} \usepackage{xcolor} \newlength{\tmpShadow} \newcommand{\ourShadow}[2]{% \settowidth{\tmpShadow}{#1} \...


5

I have used a combination of \usepackage{paralist}+{compactitem}. \documentclass{article} \usepackage{tabularx} \usepackage{paralist} \makeatletter \let\savespace\@minipagetrue \makeatother \begin{document} \setlength{\arrayrulewidth}{.5mm} \setlength{\tabcolsep}{5pt} \renewcommand{\arraystretch}{2} { \begin{table}[h] \begin{tabular}{ |p{4cm}|p{4cm}|p{4cm}|...


5

Some improvements with hhline for the intersections of vertical and horizontal lines, and a simpler code: I defines a new I column type, based on X, which automatically enters and leaves the itemize environment: \documentclass{article} \usepackage[showframe]{geometry} \usepackage{enumitem} \usepackage{tabularx, hhline} \usepackage{ragged2e} \makeatletter \...


5

As marmot suggests, I'd wrap this in a table. In fact, to ensure consistent formatting I would wrap everything into a nice little macro so that you can write your table as \ImageTable{ {example-image-a}{Resilience, in that broken nodes ...}, {example-image-b}{Spontaneity, a feature empowered...}, {example-image-c}{Decentralization, in the ...


5

EDIT: Improves color-choosing logic, borrows better table layout from the answer by Bernard Does this work for you? \documentclass[letterpaper, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{geometry} \geometry{margin=0.8in} \usepackage{array} \usepackage[svgnames]{xcolor} \usepackage{tikz} \usetikzlibrary{math} \newcommand{\...


4

Here are two options using tikz: Code: \documentclass{book} \usepackage{enumitem} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{shadows} \newcommand*{\MyShadow}{\tikz \draw [baseline, fill=blue,draw=blue,circular drop shadow] circle (2pt);} \newcommand*{\MyBall}{\tikz \draw [baseline, ball color=red, draw=red] circle (2pt);} \begin{document} \...


4

Two solutions for you, the first one uses a line break, the second the positioning library of tikz. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node[red,align=center] at (6.6, 2.7) {\textbullet \\ Your Text is here}; \end{tikzpicture} \begin{tikzpicture} \node[...


4

One approach is as follows, if you are thinking of a single list (else change itemsep globally): \documentclass[11pt]{article} \begin{document} % default \begin{itemize} \item first item \item second item \item third item \end{itemize} \textbf{Customize} { \newlength\savlength \setlength{\savlength}{\itemsep} \begin{itemize} \setlength{\itemsep}{10mm} \...


4

My way would be: \documentclass{article} \usepackage{multicol} \begin{document} \begin{multicols}{2} \begin{itemize} \item test \item test 2 \end{itemize} \vfill\null \columnbreak \begin{itemize} \item test 3 \item test 4 \item test 5 \end{itemize} \end{multicols} \end{document} leading to


4

A simple solution, just with multido and etoolbox: \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{array, etoolbox} \usepackage{multido} \newcommand{\blackbullets}[1]{\multido{\i=1+1}{8}{\ifnumgreater{\i}{#1}{\color{Gainsboro}}{}\textbullet\kern 0.1em}} \begin{document} \begin{tabular}{>{\sffamily\color{DarkGrey}}ll} Adobe ...


4

You can set the indentation of itemize locally, inside the definition of note: \documentclass[letterpaper,11pt,pagesize=pdftex,openright,headings=twolinechapter,chapterprefix=true]{scrbook} \usepackage{graphicx} \usepackage{wrapfig} \usepackage[table]{xcolor} \usepackage{makeidx} \usepackage{fontspec} \usepackage{longtable} \usepackage{nameref} \...


4

Here is my suggestion. As already mentioned in the comments, the items are already vertically aligned. Therefore, my answer focuses on solving the second issue. Since there was no definition of \tabitem given in the question and since you are not satisfied with the missing indentation of the second and following lines of the items, I have included an ...


3

Don't insult packages by loading them and then mucking around with LaTeX's innards when they've taken great pains to tidy those smelly entrails away. They'll get all upset and think you don't understand them. Instead, use enumitem if you load it. Or don't. Either way. For my money, I'd use it, but some people seem to enjoy the pain. It has good ...


3

Maybe this? Here I introduce \ferrer[<red dots at end>]{<total dots>}, which are to be placed, in math mode, inside a \ferrerstack{} (with \cr delimiters). I have made it centered about the math axis, but one could make it baseline aligned by eliminating the \vcenter{\hbox{}}: \documentclass{article} \usepackage{ifthen,xcolor,lipsum,amssymb} \...


3

Presumably because ~ is stretchable and your columns are attempting to to keep a straight right edge. Probably better to use \documentclass{beamer} \usepackage{booktabs,array}% http://ctan.org/pkg/booktabs \newcommand{\tabitem}{~~\llap{\textbullet}~~} \begin{document} \begin{frame}{Symbolic Math Toolbox} \begin{itemize} \item Don't do nasty calculations ...


3

Here's how to do it with an enumerated list (not a bulleted), using the enumitem keys: we change the value of \labelsep and set leftmargin=* so thhe multilined item contents be left-aligned on the beginning of the first line: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=\arabic*., labelsep=1.5em, leftmargin=*]% \...


3

Like this. \documentclass{article} \begin{document} \begin{itemize} \addtolength\itemsep{-4mm} \item The first \item The second \end{itemize} \end{document}


3

With enumitem: add this to your preamble \usepackage{enumitem} \setlist[itemize]{noitemsep} or \setlist[itemize]{itemsep=some length} If you want it only for a specific list, write in the body of the document: \begin{itemize}[noitemsep] \item ... \end{itemize}


3

Try the following: \documentclass[journal,article,submit,moreauthors,pdftex,10pt,a4paper]{Definitions/mdpi} \newcommand*{\textoverline}[1]{$\overline{\hbox{#1}}$} % simplified % \usepackage{ragged2e} \usepackage{booktabs, makecell, tabularx} \newcolumntype{L}{>{\RaggedRight}X} \renewcommand\theadfont{\bfseries\normalsize} \usepackage{enumitem} \begin{...


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