You can put a rectangle around text in Google Docs by using the built-in drawing tool to create a shape and then adding text within it.
Here's a step-by-step guide on how to achieve this using the drawing feature:
Steps to Add a Rectangle Around Text
Utilizing Google Docs' drawing canvas allows you to layer shapes and text effectively. Follow these steps to create a boxed text element:
- Open Your Document: Start by opening the Google Docs file where you want to add the boxed text.
- Access the Drawing Tool: Navigate to the main menu and click on Insert.
- Create a New Drawing: From the dropdown menu, select Drawing, and then click + New to open the drawing window.
- Draw the Rectangle:
- In the drawing window, locate and click the Shape icon (it looks like a circle and square overlapping).
- Choose the Shapes category from the options.
- Select the Rectangle shape.
- Click and drag your mouse on the drawing canvas to draw the rectangle to your desired size.
- Add Text Inside the Rectangle:
- Click on the Text box icon (it looks like a 'T' inside a square frame).
- Click inside the rectangle you just drew on the drawing canvas. A text box will appear within the shape.
- Type or paste the text you want to be inside the rectangle.
- You can format the text (font, size, color, alignment) using the text formatting options available in the drawing tool's toolbar.
- You can also format the rectangle itself (fill color, border color, border thickness) using the shape formatting options.
- Save and Insert: Once you are satisfied with the rectangle and the text inside it, click the Save & Close button in the top right corner of the drawing window.
The drawing, containing the rectangle with your text inside, will be inserted into your Google Docs document. You can then click on the inserted object to resize it or change its position and text wrapping settings within your document.
This method effectively places your text within a shape, making it stand out or organizing content visually.