Text FormattingRemove Indent after eq

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
mikkelr
Posts: 2
Joined: Tue Dec 01, 2009 1:09 pm

Remove Indent after eq

Post by mikkelr »

Hi

I am just starting to learn how to use LaTeX. I have a problem with my text formatting. In my report i write a lot of equations and after some short explanations to whats going on...typical technical paper. My problem is that sometimes the text is indented, which looks rather silly, and sometimes its not, i cant figure out what the problem is....Any help is very appreciated. See below for a part of the code where the problem is

\section{SDOF System}
By modelling the vibrating beam as a SDOF system we wish to determine the Eigenfrequencies by

\begin{description}
\item{a$)$} Assuming beam to be massless, mass of accelerometer ($m_{a}$) attached at the end of beam
\item{b$)$} Assuming beam to have mass, mass of accelerometer ($m_{a}$) attached at the end of beam
\item{c$)$} Using FEM
\end{description}


Assuming condition a, it is possible to determine the Eigenfrequency from %Here the text is indented%

\[ \omega_{0}^{2} = \frac{k}{m}
\]

Using that for a Fixed-Free beam, the stiffness can be expressed as\footnote{Taken from Table 6.1 in Dynamics and Vibration} %Here its not%

\[ k = \frac{\displaystyle 3EI}{\displaystyle L_{0}^{3}}
\]

The Eigenfrequency can then be found %Here the text is indented%

\[ \omega_{0} = \displaystyle \sqrt{\displaystyle \frac{3EI}{(2m_{m}+m_{a}) L_{0}^{3}}} \approx 7.657 \frac{rad}{s}
\]
Assuming condition b, we need to take the mass of the beam into account by using the relationship$^{1}$ %Here the text is indented%


Thank you in advance

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Remove Indent after eq

Post by php1ic »

The indentation is caused by the empty line you have between the end of the mathmode and start of the text. Latex thinks that you are starting a new paragraph hence the indentation. There are three options.

a)Remove the blank lines.

Code: Select all

\[\omega_{0}^{2} = \frac{k}{m}
\]
text
b)If you want those lines to make your code more readable, comment them out.

Code: Select all

\[\omega_{0}^{2} = \frac{k}{m}
\]
%
text
c)Use \noindent

Code: Select all

\[\omega_{0}^{2} = \frac{k}{m}
\]

\noindent text 
mikkelr
Posts: 2
Joined: Tue Dec 01, 2009 1:09 pm

Re: Remove Indent after eq

Post by mikkelr »

Thank you, that was very helpful :)
Post Reply