Text FormattingFormatting Problem

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
KingBigness
Posts: 3
Joined: Tue Oct 18, 2011 4:31 pm

Formatting Problem

Post by KingBigness »

Hey guys, this is my first post so sorry if it is in the wrong place.

I have been up all night writing my physics paper and have gotten stumped with the LaTeX.
Could someone direct me on how to fix this.

\item{How accurately can you determine the revolutions per second?}
\begin{description}
When measuring the period on the CRO, the grid lines changed so the $\bigtriangleup$ Uncertainty was divided by the period and multiplied by 100 to get the percentage error. \\
This percentage error was the same for the frequency so it was also divided by 100 and multiplied by the corresponding frequency to get the $\bigtriangleup$ Uncertainty for that particular frequency. \\
The results found were very accurate, with all percentage uncertainties being $< 2.0%$. However, these results have not taken into account the reduction in speed due to Lenz's Law, which would increase the percent uncertainty.
\end{description}

This is a segment taken out of list so the /begin{enumerate} and \end{enumerate} are in another part so that isn't the problem.

I think the problem is using $ in the list environment?


Anyway, any help would be appreciated
Last edited by KingBigness on Thu Oct 20, 2011 2:47 am, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Formatting Problem

Post by localghost »

Submit a proper minimal example. Code snippets are useless. And please use the »Code« button when posting code to keep your posts clear and legible. Nevertheless your utilization of list environments seems very strange.


Best regards and welcome to the board
Thorsten
KingBigness
Posts: 3
Joined: Tue Oct 18, 2011 4:31 pm

Formatting Problem

Post by KingBigness »

Sorry about the n00b post.
I have only been using LaTeX for 1 week now so if my utilisation of lists is weird I'm sorry haha

Code: Select all

\documentclass[a4paper,titlepage]{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LO,RE]{Measuring Revolutions Per Second}
\fancyhead[RO,LE]{Carl Neuhaus -- 11226735}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{biblatex}
\usepackage{multicol}
\providecommand{\e}[1]{\ensuremath{\times 10^{#1}}}
\begin{document}
\pagenumbering{roman}
\title{Extended Lab Report}
\author{Carl Neuhaus \\ $11226735$}
\date{}
\maketitle


\begin{enumerate}
\item{Is the method feasible?}
\begin{description}
Depending on the accuracy needed, this method can be considered feasible. As the magnet passes the coil, a distinct sinusoidal wave is formed, from which accurate measurement of the motors speed can be taken. \\
However, due to back emf produced in accordance to Lenz's Law, the speeds from this test will be a fraction lower than what they would normally be in an unaffected environment.
\end{description}

\item{How accurately can you determine the revolutions per second?}
\begin{description}
When measuring the period on the CRO, the grid lines changed so the $\bigtriangleup$ Uncertainty was divided by the period and multiplied by 100 to get the percentage error. \\
This percentage error was the same for the frequency so it was also divided by 100 and multiplied by the corresponding frequency to get the $\bigtriangleup$ Uncertainty for that particular frequency. \\
The results found were very accurate, with all percentage uncertainties being $< 2.0%$. However, these results have not taken into account the reduction in speed due to Lenz's Law, which would increase the percent uncertainty.
\end{description}

\end{enumerate}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Formatting Problem

Post by localghost »

you have to practice how to build a minimal example because
  • your example is not complete, thus not run capable (regardless of occurring errors, which are supposed to appear).
  • all of the loaded packages are not necessary to reproduce the problem.
  • there is code that is not necessary to reproduce the problem.
All points in the list are mentioned on the page I linked in my last reply.

Looking at your code I wonder why you need the description environment at all. I see no reason.

The actual culprit is that you are trying to get a percent sign in the final output. But this character is reserved for comments in the LaTeX source code. Your editor should indicate that by syntax highlighting. For a percent sign in the final output you have to use the \% command. The below code shows how you could format your enumerated list.

Code: Select all

\documentclass[a4paper,titlepage]{article}
\usepackage[T1]{fontenc}

\begin{document}
  \begin{enumerate}
    \item Is the method feasible?

      Depending on the accuracy needed, this method can be considered feasible. As the magnet passes the coil, a distinct sinusoidal wave is formed, from which accurate measurement of the motors speed can be taken.

      However, due to back emf produced in accordance to Lenz's Law, the speeds from this test will be a fraction lower than what they would normally be in an unaffected environment.

    \item How accurately can you determine the revolutions per second?

      When measuring the period on the CRO, the grid lines changed so the $\bigtriangleup$ Uncertainty was divided by the period and multiplied by 100 to get the percentage error.

      This percentage error was the same for the frequency so it was also divided by 100 and multiplied by the corresponding frequency to get the $\bigtriangleup$ Uncertainty for that particular frequency.

      The results found were very accurate, with all percentage uncertainties being $< 2.0\%$. However, these results have not taken into account the reduction in speed due to Lenz's Law, which would increase the percent uncertainty.
  \end{enumerate}
\end{document}
Not related to the problem I think that a simple $\Delta$ instead of $\bigtriangleup$ should suffice. Furthermore I recommend to do some basic reading.
KingBigness
Posts: 3
Joined: Tue Oct 18, 2011 4:31 pm

Re: Formatting Problem

Post by KingBigness »

Thank you help.
I didn't realize I needed to put $ around /bigtriangleup
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Formatting Problem

Post by localghost »

KingBigness wrote:[…] I didn't realize I needed to put $ around /bigtriangleup
As I already pointed out in my last reply, this was not the problem because you inserted it correctly.
Post Reply