Math & ScienceItalic font after in-line equation? Figure page skips?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
doublefelix921
Posts: 1
Joined: Thu Nov 06, 2014 5:22 pm

Italic font after in-line equation? Figure page skips?

Post by doublefelix921 »

Hello all,

I'm new to LaTex (and finding it kinda frustrating), and I'm having a few errors...

1. After an in-line equation, even with $ signs before and after my equation, some words dissapear and the font is still italic for the rest of the paragraph after the equation. Here's my code:

...the program
uses red-black ordering (red if $ (i+j)%2==0 $, black else) to update, with a given
number of iterations.

The output is attached.

Also, when I make multiple figures in a row, even if the figures are small enough to fit into one page, they are added on the next page instead of the current one. In addition, the text AFTER the figures gets placed in between them. I had to photoshop all of my figures into one large image to avoid this.

Felix
Attachments
latex1.JPG
latex1.JPG (19 KiB) Viewed 2420 times

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Italic font after in-line equation? Figure page skips?

Post by Johannes_B »

Hi and welcome, the percent sign is the comment char in LaTeX, the rest of the line is ignoered.

Concerning the figures, what you might see is the floating behaviur when using a figure-environment. But please, address only one problem per thread.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply