New answers tagged

3

I'm not sure what your aim is, but you can perhaps use varwidth. \documentclass{scrartcl} \usepackage{varwidth} \begin{document} \fbox{% just to show that this grows up to what's needed \begin{varwidth}{\textwidth} Some text \begin{itemize} \item Lorem Ipsum \item Some longer lorem \end{itemize} \end{varwidth}%<--- just because we're in an \fbox } \end{...


1

I resolved it in 2 steps: Move \item to the definition of ressubheading. And create 2 tables instead of 1. \newcommand{\ressubheading}[4]{ \item \begin{tabular*}{6.5in}{l@{\cftdotfill{\cftsecdotsep}\extracolsep{\fill}}r} \textbf{#1} & #2 \\ \end{tabular*} \begin{tabular*}{6.5in}{l@{\cftdotfill{\...


1

If I unserstand well, you want this: \documentclass{article} \usepackage{enumitem} \begin{document} Some text. \begin{enumerate}[align=left] \item Item 1 \item Item 2 \item[3--5.] Items 3 through 5 \end{enumerate} Some more different text. Some more different text. Some more different text. Some more different text. \end{document} If you ...


0

All I needed was to do \item<1-4> in the first item. Surely there must be a neater way of doing is, I'd still be curious to know how. \documentclass{beamer} \begin{document} % use top alignment so that the first item does not move \begin{frame}[t]{My frame} \begin{itemize} \item<1-4> Show first item in all slides (don't ...


1

The size of the document is not really relevant but the constructs are not equivalent so you may get a different output, so that could be classed as an issue. \item does not take an argument so, despite the phrasing in the question title, the braces in \item{...} do not delineate an argument, they form a TeX Group, limiting the scope of definitions, fonts ...


1

Workaround: use just the \bigskip as title for frames that do not have a real title. \documentclass[compress]{beamer} \begin{document} \section{Introduction to } \begin{frame}[t]{\bigskip \Large Introduction } \begin{itemize} \item Delay is a \item Delay is a \item Delay is a \item Delay is a \item Delay is ...


0

You can use tikz to draw the bullet. \documentclass{beamer} \usepackage{tikz} \setbeamercovered{transparent} \setbeamertemplate{itemize item}{\tikz[baseline=-.5ex] \filldraw [fill=yellow, draw=cyan, line width=.8pt] (0, 0) circle (2pt);} \setbeamertemplate{itemize subitem}{\tikz[baseline=-.5ex] \fill [fill=blue!70] (0, 0) circle (2pt);} \begin{document} \...


4

Add \renewcommand*\Itemautorefname{question} before \begin{document}. See documentation on hyperref manual, page 20. Note that this changes every autoref of a label to list item. Update To make the reference format different from label format, use option ref from enumitem package. Full example: \documentclass[journal,comsoc]{IEEEtran} \usepackage{enumitem} \...


3

With the use of the enumitem package. \documentclass{article} \usepackage[ngerman]{babel} % optional \usepackage{geometry} \usepackage{ragged2e,makecell,tabularx,caption} \newcolumntype{L}[1]{% % variable-width X-type columns >{\RaggedRight\hspace{0pt}% \hsize=#1\hsize\linewidth=\hsize}X} \usepackage{enumitem} \newlist{tabitem}{itemize}{1} % &...


0

I solved it by renewing the \item command and, depending whether the optional parameter was supplied or not, either reusing the old \item or writing my own prefix. See the code below. Packages \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{enumitem} \usepackage{xifthen}% provides \isempty test Definition % used for ...


2

Based on @lendriis's answer, I add a counter to count special item with \myitem. I don't know if you want a global counter or a local one. So I define \globalmyitem and \localmyitem to switch between global and local. And please add the extra requirement you mentioned in @lendriis's answer's comment to you question. \documentclass{article} \usepackage{...


1

Here is an alternative using the enumitem package: \documentclass{article} \usepackage{xcolor} \usepackage{enumitem} \newlist{myitemize}{itemize}{1} \setlist[myitemize]{font=\color{red}} \begin{document} \begin{myitemize}[label=ad] \item Foo \item Bar \item[\#\#\#] foo \end{myitemize} \end{document} Here is the updated version of the code that also ...


Top 50 recent answers are included