alhmeed / latex-lab

Automatically exported from code.google.com/p/latex-lab
0 stars 0 forks source link

Fractions Not displaying correctly #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
"Compile" the following code (I'm sorry that it is more than a few lines. When 
I tried to move the problem lines into a new window, the problem did not 
reproduce itself)

----------------------------------------------------Code below this line
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}%I do not know what this does
\usepackage{amsmath}%I do not know what this does
\usepackage{graphicx}%This allows images to be imported\begin{figure}
\centering
\includegraphics{GroupLessonPlanTheEffectsofVideoGameUseonCommunication}
\end{figure}
\title{\LaTeX}
\begin{document}

y_m = \frac{m\lamda L}{d}\\
y = \frac{m\lamda L}{d}\\

%"Title of this section"
\begin{center}  \textbf{Physics Chapter 22 Wave Optics} \end{center}}

Fringes numbered m = 0,1,2,3... \hspace{3 mm} 
\Delta r = m\lambda \text{ (constructive interference)}

%include diagram so equations will make sense
%\includegraphics[scale=3.0]{PhysicsGraph.png}}

%\text{d := distance between slits}\\
%\text{L := straight line distance from aperature to surface}\\
%\Delta r &= d\sin{\theta_m} = m\lambda  \hspace{3 mm}
\theta_m = m\frac{\lambda}{d} \hspace{3 mm}
%%%%%%%%%%
y_m = \frac{m\lamda L}{d}\\
A &= \left|2\hspace{.3 mm}a\hspace{.3 mm}\cos{\frac{\Delta\phi}{2}}\right|
\hspace{3 mm}
\Delta\phi = \frac{2\pi d}{\lambda L}y\hspace{3 mm}
y_m = L\tan\theta_m \hspace{3 mm}
I_{max} &= N^2I_1 \\
\text{N slits position of mth maximum } d\sin\theta_m = m\lambda\\
%%%%%%%%%%
\frac{1}{N}\\
%\text{a is the width of a slit (small)}\\
%y_p=\frac{p\lambda L}{a} \hspace{3 mm}
%\text{p = 1,2,3... (position of dark fringes)}

%w = \frac{2\lambda L}{a} \text{single slit}

\end{document}

%\text{Bright Fringes Width is Proportional to }
-----------------------------------------------------Not included

What is the expected output? What do you see instead?

The fraction generated by line 11 does not display the numerator properly.
The fraction generated by line 12 is very similar and it DOES display the 
numerator properly.

What version of the product are you using? On what browser?
I clicked Help -> About to find the version number, I am not sure if this is 
what you want.
© 2010 LatexLab.org. Licensed under the Apache License, Version 2.0.

Browser: Chrome Version 33.0.1750.154 m

Please provide any additional information below.

Original issue reported on code.google.com by alexj...@gmail.com on 12 Apr 2014 at 2:07