LyXPeriod after a Math-Formula (offset math-formula)

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Period after a Math-Formula (offset math-formula)

Post by pooz »

Hello,

does anybody know, how to instert a Period/Full Stop directly behind a Math-Formula, which is offset? ( I mean a formular in a seperate line)
When I try, the period slipps to the beginning of the subsequent line.

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Period after a Math-Formula (offset math-formula)

Post by frabjous »

Could you give an example of the kind of code you're using?

I would think the solution would just as simple as writing:


\[ 2 + 2 = 4.\]

instead of:


\[ 2 + 2 = 4\].

Does that not work for you?
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Period after a Math-Formula (offset math-formula)

Post by pooz »

yes, you are right, I would like to have a punctiation mark after a formular, it should look like this in printed version:

Code: Select all

kjhlkjh lkjh lk lkklhlkjh klhlk lk lh ljhl 
klhlkhlk lkjhlk lkjh lkj lkj lkjhlkjhlkjh

                 a + b = c.


or

Code: Select all

kjhlkjh lkjh lk lkklhlkjh klhlk lk lh ljhl 
klhlkhlk lkjhlk lkjh lkj lkj lkjhlkjhlkjh

                 a + b = c,

where c is the constant and ...
lkhjlk hlk hlk hlk jl kjh lkjh kl hklh llh 
Your hint is working, but I thought I have to use it in the way the Typographic Rules want me to do (like Units behind a value should not be italic and so on...).

Thanks
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Period after a Math-Formula (offset math-formula)

Post by frabjous »

A period in a formula will not be in italics. Only letters (interpreted as variables) are put in italics. (And even if it did, is there a difference?)

However, if it bothers you "in principle", then if you're using the AMS math package, you can do:

\[ a + b = c\text{.} \]

Or if not, then the best you'd get is:

\[ a + b = c \mathrm{.} \]
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Re: Period after a Math-Formula (offset math-formula)

Post by pooz »

Thank you, frabjous,

I tested all 3 possibilities and did not recognized any difference. So I will go on with the easiest one you provided first: just press the "dot"-key in math mode.
Post Reply