# Tag Info

## New answers tagged lists

1

NEW ANSWER: \def\presentation{1} \ifnum\presentation=1 \documentclass[ignorenonframetext]{beamer} \newenvironment{mitemize}[1][]{\def\Arg{#1}\ifx\Arg\empty\itemize\else\itemize[#1]\fi}{\enditemize} \else \documentclass{article} \usepackage[noxcolor]{beamerarticle} %\let\olditemize\itemize %\let\endolditemize\enditemize \newenvironment{mitemize}[1][]{\let\...

1

Your graphic is to large for the standard memoir or article top and bottom margins, and will overwrite the page number, or running footers. With the existing margins, the maximum you can use is width=108.7mm. It will then fit within the existing text area. This question has be asked several times before, and linked to LaTeX standard document classes and ...

4

You need to separate storing contact info and retrieving it. \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\defineInfo}{mm} { \prop_new:c { g_nebu_contact_#1_prop } \prop_gset_from_keyval:cn { g_nebu_contact_#1_prop } { #2 } } \NewDocumentCommand{\contactInfo}{mm} { \str_case:nnF { #2 } { {phone} { \...

3

Don't guess the width and redefine the left distance: \documentclass[]{scrbook} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[binary-units=true,locale = DE]{siunitx} \usepackage{caption} \usepackage[nonumberlist,acronym,toc,symbols,nomain]{glossaries-extra} \usepackage{showframe} % just for the example % Setup list of abbreviations \...

0

So after some work and looking at different ways to find code that make solve this, I have this partial solution that works well enough for my own purposes. It does require some manual labor and I know that there are probably better solutions. I hope that this helps in the meantime. \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \...

2

Something like this should do the job: \documentclass{article} \newcounter{comment} \newcommand\comment{\par\medskip \refstepcounter{comment} \noindent COMMENT \thecomment:\enspace\ignorespaces} \begin{document} \comment\label{firstcomment} (some text) (some more text, unrelated to COMMENT \ref{firstcomment}; this further piece of text may include ...

3

If the items are single lowercase letters, you can compare their ASCII codes. \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\supportMaterials}{m} { \begin{itemize} \nebuch_supportmaterials:n { #1 } \end{itemize} } \clist_new:N \l__nebuch_supportmaterials_clist \cs_new_protected:Nn \nebuch_supportmaterials:n { \...

2

The line is in the margin: \documentclass{article} \usepackage[heightadjust]{marginnote} \usepackage{lipsum} \let\Item\item \renewcommand\item{\marginnote{\hrulefill}[1.6\baselineskip]\Item} \begin{document} Please initial each line item of the procedure. \begin{itemize} \item First item needing an initial line next to it. ...

0

The following provides initialitemize that inserts a regular \item plus an underline (of 3em, on the baseline) in the right margin (on the first line of each \item). The space between the initial and the margin is ~, but that can be changed as needed. \documentclass{article} \usepackage{lipsum} \newenvironment{initialitemize} {\begin{itemize} \let\...

2

Simple with enumitem: use the wideoption`, like this: \documentclass[a4paper, 12pt]{article} \usepackage[]{ragged2e} \usepackage[showframe]{geometry} \usepackage{enumitem} \begin{document} \begin{enumerate}[wide, leftmargin=\parindent] \item \textbf {Inference Rules}\\ \begin{enumerate}[leftmargin=2\parindent] \item First ...

1

I don't see why you would want to emulate the Word output with LaTeX. Usually, the LaTeX output is superior by default. That said, you can easily achieve what you are aiming for with enumitem: Just leave out the \hspace{.1cm}! You also need itemindent=0pt, but that's the default. Don't insert manual line breaks (that's almost never a good idea); instead, ...

0

Use the following: \documentclass[10pt]{article} \usepackage{times} \usepackage{geometry} \geometry{margin=1in} \usepackage{enumerate} \begin{document} \twocolumn \begin{enumerate} \item Which of the following is the best interpretation of the number 8.1 in the model? \begin{enumerate}[A)] \item The stalk grew 8.1 centimeters each day. \...

3

I adjust the font size of the icon from packages pifont and amssymb, use \raisebox and \hspace to fit the icon position, finally, it looks good, here is a full example: \documentclass{article} \usepackage{pifont} \usepackage{amssymb} \begin{document} \begin{itemize} \item[$\square$] no checked \item[\rlap{\raisebox{0.3ex}{\hspace{0.4ex}\tiny \ding{52}}}...

2

Here is one approach. Before every \item, we check the current value of MyListi. If it is equal to some threshold, given via \MyListSeparateAfter, we split the list there. Some content can be inserted between the two list parts, given via \MyListInsertBetween. Boxed draws a box around its content. You can specify the desired width of the box (\linewidth by ...

7

I propose this code, based on alignat and pstricks: \documentclass[11pt, svgnames]{book} \usepackage{amsthm,latexsym,amssymb,amsmath, verbatim} \usepackage{makebox} \usepackage{pst-node, auto-pst-pdf} \pagestyle{empty} \begin{document} \begin{postscript} \everypsbox{\scriptstyle} \begin{alignat*}{7} x_{1} & = . &\: & d_{\rnode{d1}{1}1} & ...

Top 50 recent answers are included