Corrected and expanded printing of lists and tuples in LaTeX and ipython
notebook using Fmt function.