Home > enumerate > automatic enumerate numbering from a specified item number

# automatic enumerate numbering from a specified item number

October 4Hits:0

Is there a way that I can start an enumerate numbering at, say 17, then have the succeeding item numbers automatically add 2 to the preceding one? Say, I want to typeset the answers to the odd-numbered exercises starting from 17, I want my list to show

17. answer 17 19. answer 19 21. answer 21 23. answer 23 . . . 


I know that this can be done manually but after a while, typing the item numbers manually can become bothersome.

Edit I put the list in the code environment to prevent automatic renumbering.

You can use a custom counter with the enumitem package, and increment this counter each time it is used as the label:

## Code:

\documentclass{article}

\newcounter{MyCounter}
\usepackage{enumitem}

\begin{document}
\setcounter{MyCounter}{17}% initial value
\item abc
\item bcd
\item xyz
\end{enumerate}
\end{document}


Tags:enumerate

## Related Articles

• ### automatic enumerate numbering from a specified item numberOctober 4

Is there a way that I can start an enumerate numbering at, say 17, then have the succeeding item numbers automatically add 2 to the preceding one? Say, I want to typeset the answers to the odd-numbered exercises starting from 17, I want my list to sh

• ### Automatically re-numbering field on new item entry in Sharepoint list (SP 2010)March 20

I am attempting to make a 'Priority Matrix' of tasking along with some contextual data. The idea is that each task would be given a unique priority from 1 to how ever many tasks are in the list. Example list: The trick here is that I need the priorit

• ### Automate searching for a product by item number on a website and saving its image December 9

I hope this is the right place to ask and that this question is appropriate. I don't intend to waste anybody's time. I am working on an ecommerce website and am just in the tedious stage of adding SKUs. One of my vendors doesn't have a spec sheet nor

• ### Why does Excel 2010 automatically reformat numbers?December 11

Excel 2010 is automatically reformatting numbers/cells where a specific number format has already been applied. Whenever I access or modify the cell contents, Excel reformats by changing the number of decimal places to 2. I've already gone into file

• ### Automatic referencing of item number in enumerate environmentNovember 15

Here is what I want: And here is how I want to achieve this: Just like you have the \label and \ref commands for automatic section number referencing, I wish to have something similar which will auto-reference the specific item number (1.2.1 in my ca

• ### Forcing new line after item number in enumerate environmentSeptember 25

How can I force the text of an enumerate item to start on a new line below the item number? --------------Solutions------------- As egreg mentioned in a comment, using \item\mbox{}\\ will do the job. If you want to have the job done for you automatic

• ### Missing Item number in enumerateMay 25

You would think that I would know better than to mess with an egreg solution, but in my defense I used a DavidCarlisle solution from \setbox vs. \sbox and \savebox - What are the differences I need to know about? to adapt egreg's solution to Proper w

• ### Automatic Item Number Creation (For article posting as a Reference for Quick Searching)October 9

I'm looking for a solution for automatic item number creation that will auto-create a reference number/code for any posted article, whatever the Node type. The purpose being that for any posted article (any Node type) that is created & posted by an a

• ### Single occurrences of special refererence style (using the automatic numbering) to a list item (without changing the style of the other occurrences)?December 1

I have a list: \begin{enumerate}[label={[\Roman*]},ref={[\Roman*]}] \item\label{item1} The first item. \end{enumerate} What I want to achieve is this: In the most instances, I want to refer to the items of the list by the format specified above (that

• ### An enumerate environment in which the label is omitted when item number is just one and displayed as usual when item number is more than oneNovember 28

How to define an enumerate environment in which the label is omitted when item number is just one and displayed as usual when item number is more than one? --------------Solutions------------- You can typeset the environment inside a box just to get

• ### How to create enumerate environment with item number in the format (i,j)?February 23

\begin{enumerate}[(i)] \item \end{enumerate} This gives the items with roman numbering. But I want to numbering in (i,j) format, i.e. I want my items numbered like (1,2),(1,1), (5,4) etc. What to do? --------------Solutions------------- The following

• ### Is it possible to get the current item number and perform arithmetic on it in enumerate environment?March 4

That is, suppose that I am at item n and I want to make a reference to item n - 3 without explicitly specifying it. --------------Solutions------------- How about \item \number\numexpr\value{enumi}-3\relax Here's a complete MWE: \documentclass{articl

• ### Unusual multicols behaviour within enumerate when using forloop to specify number of itemsFebruary 3

I'm using the exam document class, and I have observed unusual behaviour of column breaks in the enumerate environment when using a forloop to specify the number of items. When I use the forloop to generate my enumerated list of response rows, I get

• ### Is it possible to automatically enumerate sentences in LaTeX?April 11

1.0.1 Is it possible to automatically enumerate sentences in LaTeX? 2.0.1 I want to thoroughly work through and criticize a longer text. 2.0.2 To facilitate quoting, I would like to typeset the text and enumerate the sentences in this way. 2.0.3 Some

• ### Automatically enumerate for two columns and longtableApril 6

I'm in the middle of creating a test that has several pages. The example below illustrates its structure. \documentclass[a4paper,9pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, amsfonts, amssymb} \renewcommand{\rmdefault}{ptm} \usepack

• ### Making an "answer space" before the item number in enumitem packageAugust 19

It is customary in our country to put an answer line just before the item number in test papers just like what appears below. I am creating a template that my peers who are just recently converting to LaTeX can use so that they can easily implement t

• ### Automatically assign numbers to point file in various order in QGISJune 28

I know how to automatically assign numbers to a new point files using the \$rownum function in the field calculator. However it does it from the top-left over and down like reading a book. I could manually add the numbers myself that would be very tim

• ### Matching an item number to the appropriate abbreviated item number in ExcelJuly 5

I have a list of abbreviated item numbers with corresponding commission rate data. When I download sales data it contains complete item numbers. I want to match the complete item number to the correct abbreviation (another tab in the workbook). The c

• ### Vertical Alignment of (graphic+text, inside a mini page)+item numberOctober 20

I have a figure and text inside a minipage inside an enumerate. I would like align the text and the item number and top-align the figure and the text. Top top-align figures and text in the past I have used the \vspace{0pt} solution mentioned in Align

• ### Create table with automatic row numberingMay 10

I am trying to create a table with subheading and automatic row numbers. The original table looks like this: The latex to generate the table is as follows: \documentclass{article} \usepackage{amssymb} \usepackage{unicode-math} \setmainfont[Mapping=te