<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,<br>
    </p>
    Le 26/09/2017 à 22:48, Lee McManus a écrit :<br>
    <blockquote type="cite"
cite="mid:AM5PR10MB03714246704F5EC003B76E2FBE7B0@AM5PR10MB0371.EURPRD10.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <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;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
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;}
.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 Alain,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thank you, if I have my .tex file open and
          compile it, no image shows at all but if I close the .tex file
          and open the pdf separately it is there. I guess that’s okay.<br>
        </p>
      </div>
    </blockquote>
    For me the .pdf opens under TeXworks showing the picture.<br>
    My TeXworks: manually installed (not from MikTeX nor TexLive)<br>
    version 0.7 (travis-ci)[r.a1bb1c7, 25/04/2017 19:37]<br>
    <blockquote type="cite"
cite="mid:AM5PR10MB03714246704F5EC003B76E2FBE7B0@AM5PR10MB0371.EURPRD10.PROD.OUTLOOK.COM">
      <div class="WordSection1">
        <p class="MsoNormal">
          <br>
          The second fix works but it would be nice to know why it
          works?</p>
      </div>
    </blockquote>
    <br>
    As i said \[ \] introduce a display formula (centred alone on a new
    line)<br>
    try: <br>
    Blablablablabla blablablabla \[e=mc^2\] blablabla blablabla<br>
    <br>
    I did use \( \) which insert a formula in a line<br>
    Blablablablabla blablablabla \(e=mc^2\) blablabla blablabla<br>
    (I could have used $e=mc^2$, do not use $$...$$ instead of \[...\],
    compare the results!! )<br>
    <br>
    Using an enumerate environment, I get:<br>
    (a) e=mc²<br>
    <br>
    To center the formula I use springs \hfill, but I had to put 2 on
    the right to create a stronger spring<br>
    <br>
    Regards,<br>
    --<br>
    Alain<br>
    <br>
    <blockquote type="cite"
cite="mid:AM5PR10MB03714246704F5EC003B76E2FBE7B0@AM5PR10MB0371.EURPRD10.PROD.OUTLOOK.COM">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Regards,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Lee</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Sent from <a
            href="https://go.microsoft.com/fwlink/?LinkId=550986"
            moz-do-not-send="true">
            Mail</a> for Windows 10</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div
          style="mso-element:para-border-div;border:none;border-top:solid
          #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal" style="border:none;padding:0cm"><b>From:
            </b><a href="mailto:alain.delmotte@leliseron.org"
              moz-do-not-send="true">Alain Delmotte</a><br>
            <b>Sent: </b>26 September 2017 20:27<br>
            <b>To: </b><a href="mailto:leemmcmanus90@outlook.com"
              moz-do-not-send="true">Lee McManus</a>; <a
              href="mailto:texworks@tug.org" moz-do-not-send="true">
              Discuss the TeXworks front end.</a><br>
            <b>Subject: </b>Re: [texworks] .jpg image won't load in the
            PDF output</p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p><span style="font-family:"Comic Sans MS"">Hi,</span></p>
        <p class="MsoNormal"><span style="color:black">Le 24/09/2017 à
            21:46, Lee McManus a écrit :<br>
            <br>
            <o:p></o:p></span></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:black">Hi,<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black">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<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p style="margin:0cm;margin-bottom:.0001pt">\documentclass{article}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\usepackage{amsmath}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\usepackage{amssymb}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\usepackage{graphicx}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\author{Lee
            McManus}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\date{24 Sep 2017}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\title{MST124
            Exercise Booklet 1}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\parindent 0pt</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\parskip 4pt</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\begin{document}</p>
          <p class="MsoNormal"><span style="color:black">\maketitle<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black">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.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p style="margin:0cm;margin-bottom:.0001pt">\includegraphics{ou-logo.jpg}</p>
          <p class="MsoNormal"><span style="color:black">\end{document}<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black">The following
              is what it says in the .log file:<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
        </blockquote>
        <p class="MsoNormal"><span style="color:black">No problem for me
            to compil and see the picture.<br>
            <br>
            <o:p></o:p></span></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:black">  <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black">As an extra
              because I will need this as I will be using LaTeX a lot.
              How do you get something like:
              <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p class="MsoNormal"
            style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0
            level1 lfo1">
            <!--[if !supportLists]--><span style="color:black"><span
                style="mso-list:Ignore">(a)<span style="font:7.0pt
                  "Times New Roman"">   
                </span></span></span><!--[endif]--><span
              style="color:black">Equation on same line and centred?
              <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black">Currently I
              using this:<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
          <p style="margin:0cm;margin-bottom:.0001pt">\section{Numbers}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\textbf{Exercise
            1}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\begin{enumerate}</p>
          <p style="margin:0cm;margin-bottom:.0001pt">\item[(a)] \[2 + 4
            \times 3 - \left( 10 - 3^2 \right) + 1 \]</p>
        </blockquote>
        <p class="MsoNormal"><span style="color:black">\[...\] always
            inserts a display formula, that is on its own line,
            centered.<br>
            Try:<br>
            \begin{enumerate} <o:p></o:p></span></p>
        <p style="margin:0cm;margin-bottom:.0001pt">\item[(a)]\hfill \(2
          + 4 \times 3 - \left( 10 - 3^2 \right) + 1 \)\hfill\hfill</p>
        <p style="margin:0cm;margin-bottom:.0001pt"><o:p> </o:p></p>
        <p style="margin:0cm;margin-bottom:.0001pt">Using the rules of
          BIDMAS</p>
        <p style="margin:0cm;margin-bottom:.0001pt">\begin{align*}</p>
        <p style="margin:0cm;margin-bottom:.0001pt">&= 2 + 4 \times
          3 - \left(10 - 9\right) + 1\\</p>
        <p style="margin:0cm;margin-bottom:.0001pt">&= 2 + 4 \times
          3 - 1 + 1\\</p>
        <p style="margin:0cm;margin-bottom:.0001pt">&= 2 + 12\\</p>
        <p style="margin:0cm;margin-bottom:.0001pt">&= 14</p>
        <p style="margin:0cm;margin-bottom:.0001pt">\end{align*}</p>
        <p style="margin:0cm;margin-bottom:.0001pt">\end{enumerate</p>
        <p style="margin:0cm;margin-bottom:.0001pt"><o:p> </o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:black">Lee McManus <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
        </blockquote>
        <p class="MsoNormal"><span style="color:black">Regards,<br>
            --<br>
            Alain<o:p></o:p></span></p>
        <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
          <p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
          <table class="MsoNormalTable"
            style="border:none;border-top:solid #D3D4DE 1.0pt"
            cellpadding="0" border="1">
            <tbody>
              <tr>
                <td style="width:41.25pt;border:none;padding:13.5pt
                  .75pt .75pt .75pt" width="55">
                  <p class="MsoNormal"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                      target="_blank" moz-do-not-send="true"><span
                        style="text-decoration:none"><img
                          style="width:.4791in;height:.302in"
                          id="_x0000_i1025"
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
alt="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
                          moz-do-not-send="true" height="29" width="46"
                          border="0"></span></a><span
                      style="color:black"><o:p></o:p></span></p>
                </td>
                <td style="width:352.5pt;border:none;padding:12.75pt
                  .75pt .75pt .75pt" width="470">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#41424E">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" moz-do-not-send="true">
                        <span style="color:#4453EA">www.avast.com</span></a>
                      <o:p></o:p></span></p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>