<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Comic Sans MS">Hi,</font><br>
</p>
Le 24/09/2017 à 21:46, Lee McManus a écrit :<br>
<blockquote type="cite"
cite="mid:DB6PR10MB03738471537025E10CB7B8EBBE650@DB6PR10MB0373.EURPRD10.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:819930790;
mso-list-type:hybrid;
mso-list-template-ids:-895724810 -1 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
{mso-level-number-format:alpha-lower;
mso-level-text:"\(%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am having trouble getting an image to
show in the PDF output I am using (pdfLaTeX to compile it(if
compile is the right word I am reasonably new). The following
is in the preamble of my .tex file</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">\documentclass{article}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\usepackage{amsmath}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\usepackage{amssymb}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\usepackage{graphicx}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\author{Lee
McManus}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\date{24
Sep 2017}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\title{MST124
Exercise Booklet 1}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\parindent
0pt<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\parskip
4pt<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\begin{document}<o:p></o:p></p>
<p class="MsoNormal" style="-qt-block-indent:0">\maketitle</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following is the code used to generate
the image The file is stored in the same folder as the .tex
file and has that exact file name within the folder.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">\includegraphics{ou-logo.jpg}<o:p></o:p></p>
<p class="MsoNormal" style="-qt-block-indent:0">\end{document}</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following is what it says in the .log
file:</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
No problem for me to compil and see the picture.<br>
<blockquote type="cite"
cite="mid:DB6PR10MB03738471537025E10CB7B8EBBE650@DB6PR10MB0373.EURPRD10.PROD.OUTLOOK.COM">
<div class="WordSection1"><o:p> </o:p>
<p class="MsoNormal">As an extra because I will need this as I
will be using LaTeX a lot. How do you get something like:
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0cm" start="1" type="a">
<li class="MsoListParagraph"
style="margin-left:0cm;mso-list:l0 level1 lfo1">Equation on
same line and centred?</li>
</ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Currently I using this:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">\section{Numbers}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\textbf{Exercise
1}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\begin{enumerate}<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0">\item[(a)]
\[2 + 4 \times 3 - \left( 10 - 3^2 \right) + 1 \]<o:p></o:p></p>
</div>
</blockquote>
\[...\] always inserts a display formula, that is on its own line,
centered.<br>
Try:<br>
\begin{enumerate}
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\item[(a)]\hfill
\(2 + 4 \times 3 - \left( 10 - 3^2 \right) + 1 \)\hfill\hfill</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;"><br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">Using the
rules of BIDMAS</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\begin{align*}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">&= 2 +
4 \times 3 - \left(10 - 9\right) + 1\\</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">&= 2 +
4 \times 3 - 1 + 1\\</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">&= 2 +
12\\</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">&= 14</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\end{align*}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">\end{enumerate</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;"><br>
</p>
<blockquote type="cite"
cite="mid:DB6PR10MB03738471537025E10CB7B8EBBE650@DB6PR10MB0373.EURPRD10.PROD.OUTLOOK.COM">
<div class="WordSection1">Lee McManus
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
Regards,<br>
--<br>
Alain<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Garanti sans virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>