# How to Format a Microsoft Word Document for Importing

Please see the attached Word document sample (word-doc-sample.docx)

Limitations

• Our system will only support Word 2007 and Word 2010.
• The document must be saved with the docx extension.
• Styling is limited to what is supported by our editor. You can cross-reference what is available in our editor here (CK-12 Editing Tools Overview).
• Styles are prefixed with CK12. All content must be using one these styles. Not following these style might cause unexpected formatting to occur.
• Images should be PNG, GIF or JPEG format.
• We do not support Word Art or Embedded objects like Charts, Drawings etc.
• Use the MathType plug-in for inserting equations.
• Use inline or block equations options provided by MathType.

### Math Equations

Math equations are supported using the MathType plugin available from Design Science. We only support MathType 6 and newer. Math equations are inserted as LaTeX expressions in plain text.

Style Format: CK12InlineEquation or CK12BlockEquation

Instructions:

Changing Existing Equations:

• Using the MathType plugin, select all the text using Ctrl+A and then convert all equations to MathType native format (MTEF) by hitting Alt+\.
• Alternatively, select the entire document and click on MathType on the top tool bar.
• Then click "Toggle TeX" in the publish group.

You can insert new equations using either MathType editor or plain LaTeX expressions. (We recommend using the MathType editor). We support 2 types of equations - Block and Inline.

Block Equations

• To insert a block equation using MathType, click on MathType and then
• choose "Display" from the "Insert Equations" group.
• If inserting a plain LaTeX expression, make sure to enclose the expression in '\begin{align}' and '\end{align}'.
• The entire expression must be on a single line (no line breaks).
• Select the entire expression text and apply the "CK12BlockEquation" style.

Inline Equations

• Click on MathType and then choose "Inline" from the "Insert Equations" group.
• If inserting a plain LaTeX expression, make sure to enclose the LaTeX expression in '\$' on either side.
• The equation text must be on a single line (no line breaks).
• Select the entire text and apply the "CK12InlineEquation" style.

Lists

Use CK12NumberedList for creating numbered lists and CK12BulletedList for creating un-numbered lists. It is not possible to mix bulleted and numbered lists.

Style Format: CK12NumberedList or CK12BulletedList

Instructions:

• Type each list item on it's own line.
• Select all the items.
• Enter CK12NumberedList or CK12BulletedList into the style drop down.
• Click on either bullets or numbered list icon in the top menu.
• You can increase the depth of a list item by hitting tab before entering text for that item.

Images

When inserting an image you can choose to make it a "block" image or an "inline" image. A block image will break the flow of text and can have a caption. An inline image appears within the text flow and may not have a caption.

Style format: CK12InlineImage or CK12BlockImage

Instructions:

• Select "Insert" -> "Picture".
• Choose an image from your computer and click "Insert".
• Select the image.
• Apply CK12InlineImage or CK12BlockImage style from the style drop down.
• To add a caption to a block image:
• Click on the image to select it. Then right-click and select "Insert caption ...".
• Choose Figure as the prefix, and type the caption following the "Figure <num> " text.
• Choose the caption position to be "below the image".
• When you add a caption to a block image, Word adds a new line below the image with the caption.
• Select this entire line and apply the CK12ImageCaption style.
• Do not enter text between the image and the caption.

### Tables

Instructions:

• Select "Insert" -> "Table".
• To make the first row a header:
• Select the all the cells in the first row.
• Click in the first cell of the first row.
• Select the "Table Tools" -> "Layout" tab from the top.
• Click "Repeat Header Rows" button.
• Other cells should use CK12TableCell style.
• To add a caption to a table:
• Click on the image to select it. Then right-click and select "Insert caption ...".
• Choose Figure as the prefix, and type the caption following the "Figure <num> " text.
• Choose the caption position to be "below the image".
• When you add a caption to a block image, Word adds a new line below the image with the caption.
• Select this entire line and apply the CK12ImageCaption style.
• Do not enter text between the image and the caption.