Home > documentation, LaTeX > Numbering exercises/problems using chapter numbers

Numbering exercises/problems using chapter numbers

To typeset a list of exercises or problems in \LaTeX, you could use the enumerate environment. By default, this would only produce numbers of the form n. where n is a positive integer. You could number an exercise using the chapter number to produce numbering of the form c.n. where c is the chapter number. Put the following macro definition in your preamble to get the chapter number to appear.

%% For listing problem sets. Each problem is numbered according to the
%% format
%% chapterNumber.problemNumber.

This could easily be customized to insert the section number instead of the chapter number.

Categories: documentation, LaTeX Tags: ,
  1. 10 October 2010 at 12:43 am

    Nice post! Reminds me of the Hardy-Littlewood numbering system for section numbers …

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: