# Shifting text to the right side (Lyx)

This question may be simple, but i'm struggling to do it: I need to write, on Lyx, a text that's shifted to the right side, just like the one in the figure below (the text in inside the black square).

The only thing that "works" is putting a lot of horizontal spaces in the left side, but it's very cumbersome. Is there some smart way of doing that?

• Welcome to tex.sx. One possibility is to use `\raggedleft` as follows: `\begingroup\raggedleft <boxed text> \par\endgroup`. Apr 30 at 2:12