Computational Economics

computational tools for economists

Break long formulas in a parenthesis in LyX

with one comment

Lyx has an “Insert -> Math -> AMS multiline environment” control, but does not work in the middle of a parenthesis.

How to break lines in the middle of a parenthesis?

In AMS multiline environment,

\left[\right.

(line break here) \left.\right]

Do not use Alt+M to get a parenthesis. Follow the way above. Close with ‘\right.’ before line-break and reopen with ‘\left.’

\left[\left[\right.\right.

(line break here) \left.\left.\right]\right]

This can lead to parentheses of different size. Size them yourself using ‘\big(‘, ‘\Big(‘, ‘\Bigg(‘, etc. or use \vphantom.

Advertisements

Written by Jingjing Wang

10/30/2011 at 6:40 pm

Posted in LyX

One Response

Subscribe to comments with RSS.

  1. Hi, thanks for sharing this. It is really useful! Looks like that \left[… \right. also works in ams align environment.

    badou517

    03/02/2016 at 12:51 pm


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: