To create an inline box in Microsoft Word that contains both text and equations with padding and left/right borders aligned with the main text, follow these steps:
-
Enable Equation Tools:
- Go to the
Inserttab. - Click on
Equationin the Text section.
- Go to the
-
Create the inline box:
- Type the text you want in the inline box.
- To create the left/right borders, select the text, go to the
Drawing Toolstab, click onShape Outlinein the Drawing section, and choose a border style and color. - To add padding, select the text, go to the
Formattab, click onShape Fill, chooseNo Fill, and then adjust the shape size to include the desired padding.
-
Insert equations:
- To insert an equation, click on
Insert>Equation>Equation 3. - Type or build your equation within the equation editor.
- To align the equation with the text, select both the text and the equation, go to the
Alignmenttab, and choose an alignment option likeAlign Left,Align Center, orAlign Right.
- To insert an equation, click on
-
Group the elements:
- Select both the text and the equation.
- Go to the
Drawing Toolstab. - Click on
Groupin the Arrange section. - Choose
Groupto combine the text, border, and equation into a single object.
-
Adjust the box size and position:
- To resize the inline box, click and drag any of the handles around the grouped object.
- To move the inline box, click and drag it to the desired location.
By following these steps, you can create an inline box in Microsoft Word containing both text and equations with padding and left/right borders aligned with the main text.