First time here? Check out the FAQ!
answered 2022-03-22 17:06:42 +0100
This may work for you.
sage: x = [SR.var(f'x{i}', latex_name=fr'\overline{{x}}_{{{i}}}') for i in range(8)]