# Writing a document-like Text

Imagine I have the following code

Graphics[{LightBlue, Rectangle[], Black, Text["Hello", {.1, .9}]}]


If I had more text to the Text object I get, for example

Graphics[{LightBlue, Rectangle[], Black, Text["Hello, my name is Sam", {.1, .9}]}]


But I would like the text to keep writing on the right of the first "anchor point". That is, something like

How can I do this? Maybe there is a way of fixing the Text coordinates to be on the left?

• Use 3rd argument of Text: Text["Hello, my name is Sam", {.1, .9}, {-1, 0}] Oct 20 at 18:25
• Framed[Text[Style["This is my text", TextAlignment -> Left]], Background -> LightBlue] Oct 20 at 18:29

Framed[