Keynote

Add and align text inside a shape in Keynote on Mac
Go to the Keynote app
on your Mac.
Open a presentation, add a new shape, then begin typing. You can also click an existing shape to select it, then type.
If a clipping indicator
appears, which signifies there’s too much text to display in the shape, click the shape and drag any white square until all the text is showing.
To align the text in the shape, select the shape, then in the Format
sidebar, click the Text tab. Click the Style button near the top of the sidebar, then click any of the buttons in the Alignment section.
You can also place an object inside a shape so it appears in-line with the text.