Skip to main content
Skip table of contents

Training module (SI): Working with tables

In this module, you will learn how to insert and modify tables in your secondary legislation document.

Tutorial

Before attempting the exercises in this section, please do one of both of the following:

You should also review:

Once you are confident you understand the basics of tables in Lawmaker, begin the exercises.

Video

https://www.youtube.com/watch?v=VvA7fqgw06w


Exercises

Getting started

Before you start the exercises, you will need a document ready and open in the Editor.

If you already have a document ready, you can move on to the exercises below.

If you don’t have a document ready, follow the steps below.

How to create a new project
  1. Log in to the Lawmaker Training environment (link here).

  2. From the Dashboard, create a new project. (See Creating a new project for details.)
    Select the document type that you are most likely to work with. For Sub-type, select Regulations (for convenience).
    Give it a memorable title such as[Your name] - Training project.

  3. From the Project tab for your new document, select Document Actions > Import from legislation.gov.uk. (See Import legislation from www.legislation.gov.uk for details.)
    Give the document a clear Version Description, e.g., the name of this Training module.
    Import one of the following documents, depending on your document type:

  4. Open the new document in the Editor.

Exercise 1 - Insert a table

Insert the following schedule and table into your document.

Focus on getting the formatting correct - don’t worry if the text is not 100%.

image-20260102-104337.png
Instructions to insert a schedule with a table
  1. Insert a new Schedule using the CCA (i.e., the menu that appears when you press Enter or Right-click > Insert element).

  2. Fill in the text in the heading and reference note.

  3. With your cursor in the heading, bring up the CCA and select Content.

  4. With your cursor in the new ‘Text’ placeholder, insert a table by either:

    • Right-click > Insert table

    • From the upper tool bar, Insert > Insert table

  5. In the dialogue box that appears, select the following, to match the table in the exercise:

    • Rows: 5

    • Columns: 3

    • Deselect Table number

    • In the formatting options next to Table caption, select bold (B)

    • In the formatting options next to Header, select italicise (I)

    • All other options can be left as their defaults.

  6. Click Insert.

  7. Placing your cursor in the ‘Text’ placeholders, fill in the content of the table.

  8. When you come to row 4, column 3 - the cell containing an (a), (b), (c) list - do the following:

    1. Type the first line (“A copy of the page…” etc.)

    2. Use the CCA to insert a List.

    3. Select the relevant formatting option for the new list in the dialogue box, and click Select.

    4. Fill in the first item on the list, then use the CCA to insert a new Item.

    5. Repeat until you have completed the list.

  9. Remove the unnecessary leftover ‘Text’ placeholder before your table by:

    1. Placing your cursor in the leftover ‘Text’ placeholder;

    2. Selecting ‘Text’ in the breadcrumb;

    3. Pressing backspace.

  10. Generate a PDF using Document > Generate PDF

  11. Compare your table to the image above.

Exercise 2 - Add two new rows

Add two new rows to your table with the following content.

image-20260102-104640.png

How to add new rows to a table
  1. Place your cursor in the last row of your table and either:

    • Right-click menu > Table… > Insert row after

    • From the upper toolbar, select Insert > Insert row after

  2. Repeat, so you have two new rows.

  3. Fill in the content provided.

Exercise 3 - Update your table formatting

Edit your table to look like the image below.

image-20260102-115734.png
Instructions to update table properties
  1. Place your cursor anywhere in the table and either:

    • Right-click > Table > Update table.

    • From the upper tool bar, select Insert > Update table.

  2. In the Update Table dialogue box, change the following:

    • Underneath Column widths, select Specify column widths (%) and fill in the boxes: 30, 30, 40.

    • Select Table number.

    • In the formatting options next to Table caption, deselect bold (B) and select italicise (I).

    • In the formatting options next to Header, deselect italicise (I) and select bold (B).

    • Under Border options select the third option, showing all border lines.

  3. Click Update.

  4. Generate a PDF using Document > Generate PDF

  5. Compare your table to the image above.

Exercise 4 - Merging cells

Edit your table to look like the image below.

image-20260102-120023.png
Instructions to add columns and merge cells
  1. Place your cursor in the ‘Category’ column and either:

    • Right-click menu > Table… > Insert column to the right; or

    • From the upper toolbar, select Insert > Insert column to the right.

  2. Place your cursor in the ‘Category’ cell in the heading, and click and drag to select it and the cell to the right (which contains a ‘Text’ placeholder).

  3. Right-click and select Table > Merge cells.

  4. Place your cursor in the new merged cell in the header (which contains ‘Category’) and insert a new row by either:

    • Right-click menu > Table… > Insert row after; or

    • From the upper toolbar, select Insert > Insert row after.

  5. Repeat steps 2. and 3. for the ‘Relevant identity document’ cell in the header and the empty cell below it. Then do the same for ‘The relevant identity information’ cell in the header.

  6. Fill in the two cells below ‘Category’, and the cells in the new column.

  7. Generate a PDF using Document > Generate PDF

  8. Compare your table to the image above. (The table number may be different depending on existing tables in your document - this is fine.)

Exercise 5 - Moving your table

Using the Structure view, select and move your table out of the Schedule and into one of the Regulations in the body of your document.

Instructions to move your table using the Structure view
  1. In the Structure view on the left of the Editor view, toggle Show lower levels (the down arrow next to Structure view).

  2. image-20260102-122522.png

    Locate your table within the schedules of your document. It should be titled with the table number, or the table caption if your table doesn’t have a number.

  3. Click and drag the table in the Structure view to move it.

  4. Move it underneath another provision in the Structure. Any provision which it is eligible to move to should have a green tick whilst you are moving the table.

  5. Let go of the table to place it under another provision.

  6. Navigate to the provision you have moved the table to, and check that the table is there.

  7. (Optional:) Repeat steps 3.-6., moving your table around to different areas of the document, until you are comfortable doing so.

(Optional:) Exercise 6 - additional table functions

If you have time and are interested, try doing the following:

  • Unmerge some of the cells you merged in Exercise 4.

  • Delete a column and/or a row in your table.

  • Add another table immediately back-to-back with your current table, with a larger number of rows (so it spills over multiple pages in the PDF). Fill in this table and generate a PDF.

  • Update your new table and deselect Header displayed on all pages. Generate a PDF and compare with the previous PDF.

  • Copy and paste one of your tables elsewhere in the document.

Instructions for additional table exercises

Unmerge:

  • Right-click on the merged cell, then select Table… > Unmerge Cells

Delete a column:

  1. Place your cursor in the column or row you want to delete;

  2. Either:

    • Right-click > Table… > Delete Column / Delete Row

    • In the toolbar, select Insert > Delete Column / Delete Row

Add a back-to-back table:

  1. Place your cursor inside your existing table;

  2. Insert a table by either:

    • Right-click > Insert table

    • From the upper tool bar, Insert > Insert table

  3. In the dialogue window, select a larger number of rows (e.g. 30).

  4. Click Insert.

  5. Fill in the table with some simple content (you can use Tab on your keyboard to move to the next cell to speed this up). Put something different in the Header row of the table.

  6. Generate a PDF. Notice that the header row repeats across pages.

Deselect Header displayed on all pages:

  1. Place your cursor anywhere in the table and either:

    • Right-click > Table > Update table.

    • From the upper tool bar, select Insert > Update table.

  2. In the Update Table dialogue box, deselect Header displayed on all pages.

  3. Click Update.

  4. Generate a PDF and look at the table.

  5. Notice that the Header row of the table is not repeated across pages.

Copy and paste your table:

  1. Place your cursor anywhere in your table.

  2. To select your whole table, either:

    • Find your table in the Structure view (see instructions for Exercise 5) and click it, or

    • Click Tbl-block in the breadcrumb.

  3. Press Ctrl + C to copy (or Ctrl + X to cut).

  4. Place your cursor in a different location in your document, where you want the table to go.

  5. Press Ctrl + V to paste.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.