12

Note that this only happen when the line start with "(" but not with characters like a "E". This is a side effect of protrusion (= margin kerning), that move "(" a bit to the left, to have a more harmonious margin, but in this case seems the opposite because the protrusion is not applicable after the item number. An occasional ...


6

Whereas one approach would be to inhibit protrusion everywhere, this approach is to force protrusion on left parentheses that follow an invocation of \item, which I do by redefining \item to look at what follows. \documentclass{book} \usepackage{enumitem} % \usepackage{microtype} \makeatletter \g@addto@macro\@verbatim{\microtypesetup{activate=false}}% %...


4

Use the multlined environment, from mathtools, with the relevant options: \documentclass{article} \usepackage{mathtools} \usepackage{amssymb} \usepackage{enumitem} \usepackage{showframe} \renewcommand{\ShowFrameLinethickness}{0.3pt} \begin{document} \leavevmode\vskip 3ex \begin{enumerate}[label=(\roman*), start=4] \item $ \begin{multlined}[t][\linewidth] \...


3

The counters for new lists are named using the list name. From the documentation (p.17): If ⟨type⟩ is enumerate, a set of counters with names ⟨name⟩i, ⟨name⟩ii, ⟨name⟩iii, ⟨name⟩iv, etc. (depending on ⟨max-depth⟩) is defined. So in your case, the counters are MyEnumeratei, MyEnumerateii, etc. But as Ulrike mentions in the comments, it's usually not ...


2

If you must, you must... \documentclass{article} \usepackage[margin = 2.54 cm]{geometry} \usepackage{parskip} \usepackage{enumitem} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \setlength{\parskip}{12 pt} \renewcommand\qedsymbol{$\blacksquare$} % dont do the assignments inside an environemnt that just makes things % even harder \...


2

I first provide an answer that works for all LyX versions. I then give an answer that only works for LyX 2.4.0, which has not been released yet. If you happen to be on Linux, let me know if you would be interested in testing the current 2.4.0dev. For all solutions, the LyX display will not be WYSIWYM, but the output in the PDF will be what you want. All LyX ...


2

Adapting one of the answers from here: Counter too large error with \item \documentclass[twoside]{book} \RequirePackage{enumitem,alphalph} \makeatletter \newcommand{\AlphAlphFmt}[1]{\@alphfmt{#1}} % Define the \alphalph wrapper for enumitem \newcommand{\@alphfmt}[1]{\alphalph{\value{#1}}} % Internal representation \AddEnumerateCounter{\alphalphFmt}{\@...


2

In the MWE below I have simply 1) replaced \usepackage{if_ithb} with the code you provided and 2) moved hyperef and its settings just before \begin{document}. As you can see the numbering is correct % Tipe dokumen adalah report dengan satu kolom. % Mengatur setting halaman \documentclass[12pt, a4paper, onecolumn, oneside, final]{report} \makeatother \...


2

Does this server your purpose ? I intentionally changed f(x) to f(x, y) in the second line, to ensure that expressions with unequal widths align perfectly ! \documentclass[a4paper, fleqn, 12pt]{report} \usepackage[margin=1.5cm]{geometry} \usepackage{mathpazo, amsmath} \begin{document} \pagestyle{myheadings} \thispagestyle{empty} \noindent Consider \...


1

I highly encourage reading the package manual. If you want upright parentheses paired with italic letters in the item label, try \documentclass{article} \usepackage{amsmath} \usepackage{tasks} \begin{document} \begin{tasks}[label=\normalfont({\itshape\alph*}),ref=(\alph*),label-width=2em](2) \task \label{task1} $f(x) = \begin{cases} \dfrac{1}...


1

Not only did I have to use [t] on the \textbox, but I used \belowbaseline[...]{...} of the stackengine package to shift the tikz element lower on the last item. \documentclass{article} \usepackage{tikz,enumitem,stackengine} \usetikzlibrary{arrows.meta,shapes,positioning} \newcommand{\textbox}[3][c]{\parbox[#1]{#2}{\strut#3\strut}} \begin{document} \begin{...


1

Here's a solution that employs an aligned environment. Observe that I've deleted all \left and \right sizing directives as they don't seem to be doing anything useful. \documentclass[12pt]{article} \usepackage{amsmath,amssymb,enumitem} \newcommand\R{\mathbb{R}} \begin{document} \begin{enumerate}[label=(\roman*),start=4] \item \quad $\begin{aligned}[t]...


1

Specify the widest element in the list and recalculate the leftmargin by using the * option: \documentclass{article} \usepackage{fontspec} \usepackage[inline]{enumitem} \usepackage[letterpaper,vmargin=0.3in,hmargin=0.7in]{geometry} \defaultfontfeatures{Ligatures=TeX} \setmainfont{TeX Gyre Pagella} \setlength{\parindent}{0pt} \pagestyle{empty} \newlist{...


1

The problem is a clash between the enumitem and enumerate packages. A possible solution is to use only enumitem, and use the [label=(\roman*)] option of enumitem to get (i), (ii). The code: \documentclass{book} \usepackage{enumitem} \usepackage{lipsum} \begin{document} \begin{enumerate}[leftmargin=*] \item \lipsum[2] \item \lipsum[2] \end{enumerate} \...


1

You can use a tabularx with an \hfill to push the content to the right. However, this doesn't allow the list to break across the page boundary. You can also define your own list-like environment (say, propertylist) using enumitem: \documentclass{article} \usepackage{enumitem,tabularx} \newlist{propertylist}{enumerate}{1} \setlist[propertylist]{% label={\...


1

You can get the table formatting you want with tabularx, using the X column specification for the middle column to fill the maximum available space, and r for the right-aligned column. Define an empty command for the label and a counter for the number. Then create an environment (axiomata) for the axiom lists that takes an optional argument for the label. ...


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