Jeremy Johnson wrote:
I want to have a mail closing statement like follows:#ERT#{\parindent=3.5in \parbox[c]{2.5in}{\noindent Sincerely yours, \newline \vspace{1.0in} John Doe }
You don't need to use ERT for this. Attached a LyX-file showing how this is typeset with as less ERT as possible. Use the menu Insert->Box and right click on the appearing box to set it to a parbox. Instead of \noindent use LyX's paragraph menu and set "Don't indent this paragraph". For \newline use the shortcut Strg-ENTER or the menu Insert->Special Formatting.
Although lyx correctly indents the closing statement block of text, it does not add the vertical space needed for signing the letter. In addition it indents the line "John Doe" by about 1 space.
Because the \vspace command has to be in front of the linebreak, this is a LaTeX rule. See the attached LyX-file for the fixed example.
regards Uwe
newfile1.lyx
Description: application/lyx
