GeneralInline latex symbols

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Philosophaie
Posts: 17
Joined: Sat Mar 21, 2015 8:59 pm

Inline latex symbols

Post by Philosophaie »

I would like to be able to use latex symbols in the same line along with the flow of the line not returned to the next line.
How do I do that without making the whole paragraph a "gather*"?

Code: Select all

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
It is based on the \begin{??}R_{ecl}\end{??} distance with two angle to define position: Ecliptic Longitude, \begin{??}\lambda\end{??}, and Ecliptic Latitude, \begin{??}\beta\end{??}.  \begin{??}\lambda\end{??} exists on the Ecliptic Plane starting from the Vernal Equinox Line and \begin{??}\beta\end{??} is the angle above or below the Ecliptic Plane (Northward positive, Southward negative, never greater than +/-90 Degrees).
\end{document}

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
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Inline latex symbols

Post by Stefan Kottwitz »

You could write it in the high-level LaTeX way

Code: Select all

It is based on the \( R_{ecl} \) distance 
or in the low-level TeX way (shorter, but the above is more abstract and one sees begin and end in a math formula scattered text):

Code: Select all

It is based on the $R_{ecl}$ distance 
Stefan
LaTeX.org admin
Post Reply