2 Q's: Inline LaTeX and Subscribed Thread Notice.

  • Context: LaTeX 
  • Thread starter Thread starter cepheid
  • Start date Start date
  • Tags Tags
    Latex Thread
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
Messages
5,197
Reaction score
38
Hi,

I was just wondering why paragraphs containing inline LaTeX have extra line breaks or line spaces after the line containing the TeX image?

I was also wondering why I don't always see new posts in threads I've subscribed to in "My PF" unless if I click on the link to see all subscribed threads. Do posts eventually expire so that they aren't considered "new" anymore (even if I haven't read them yet)?

Thanks,

cepheid
 
Physics news on Phys.org
cepheid said:
I was just wondering why paragraphs containing inline LaTeX have extra line breaks or line spaces after the line containing the TeX image?

Hi cepheid! :smile:

I think it's because the new "inline" LaTeX images are slightly taller than a line, and so take up part of the next line, which therefore has to be left out.

(i don't think that used to happen, but the LaTeX used to be a bit difficult to read when it was smaller)
 
Oh, you mean why there's extra space under the line with [itex]inceptos[/itex] here?
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a aliquet nisl. Duis venenatis bibendum sapien, a blandit lectus viverra sit amet. Donec augue sapien, varius ac tincidunt nec, semper sed magna. Phasellus et elit sapien, ut consequat turpis. Maecenas lacus turpis, posuere sit amet facilisis vitae, dictum sit amet velit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per [itex]inceptos[/itex] himenaeos. Maecenas purus ante, aliquam nec venenatis et, suscipit sed leo. Pellentesque eget purus odio. Phasellus sagittis nisi ac purus semper ac aliquam dolor ultricies. Mauris quis metus lectus. Mauris libero ligula, tincidunt vel pharetra sed, lacinia sit amet augue.
Yeah, as tiny-tim mentioned, the inline LaTeX images are a little taller than a line of text using the default font size, and in a web browser, the height of a line is determined by the tallest thing in it. Although in a lot of cases, there's some extra space at the bottom of the LaTeX image that could be trimmed off.