Computational Economics

computational tools for economists

Add space between the lines in multiline formulas

leave a comment »

In LATEX additional line space is specified as optional argument of the new line command. This is not yet possible in LYX33, therefore the whole formula must be inserted in TEX-mode. To add in our example space, the command \\[3mm] is inserted at the end of the first line.

1. select the part you’re interested, View -> View Source, copy the TeX code

2. go to .lyx, Insert -> Tex code (Ctrl+L), paste the code into the redbox, and add \\[3mm] at the end of the first line

 

To set the line separation for all lines in a formula, the length \jot is changed.

1. load the LATEX-package calc in LATEX-preamble with the line

\usepackage{calc}

2. insert the command
\setlength{\jot}{3mm+3pt}

in TEX-mode before the formula

Advertisements

Written by Jingjing Wang

10/30/2011 at 7:50 pm

Posted in LyX

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: