<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
Le 18/03/2019 à 01:56, Marcus Vinicius Pereira de Souza a écrit :<br>
</div>
<blockquote
cite="mid:558451214.5862215.1552870569957@mail.yahoo.com"
type="cite">
<div>Dear all,</div>
<div><span>
<pre class="ydpa5d0ae65tw-data-text ydpa5d0ae65tw-ta ydpa5d0ae65tw-text-small" data-placeholder="Tradução" id="ydpa5d0ae65tw-target-text" data-fulltext="" dir="ltr" style="border: none; padding: 0px 0.14em 0px 0px; position: relative; margin-top: 0px; margin-bottom: 0px; font-family: inherit; width: 275px; white-space: pre-wrap; color: rgb(33, 33, 33); font-size: 16px !important; line-height: 24px !important; min-height: 144px;"><span lang="en">Kindly, I am generating a graphic and would like some information in the title to be in italics. Can someone help me?
By way of illustration, see the script below:</span></pre>
</span><span>
<pre style="font-family: Monospaced;"><span style="color:rgb(50,185,185);">.../...</span>
<span style="color: rgb(174, 92, 176); text-decoration-line: underline;">title</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(50,185,185);">sprintf</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">'</span><span style="color:rgb(188,143,143);">y(t) = -%0.2f exp(-0.5t)\ + %0.2f cos(4t)\ + %0.2f sin(4t) </span><span style="color:rgb(188,143,143);">'</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">kp1</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">kp1</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">kp2</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(74,85,219);">)</span></pre>
</span>y(t) --> italic font</div>
<div>exp --> italic font</div>
<div>cos --> italic font</div>
<div>sin --> italic font.</div>
</blockquote>
<br>
As recommended by Christophe, you may try for instance<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(188,143,143);">
</span><span style="color:rgb(188,143,143);">tit = "</span><span style="color:rgb(188,143,143);">$y(t)\mathsf{ = -%0.2f \mathit{exp}(-0.5t)\ + %0.2f \mathit{cos}(4t)\ + %0.2f \mathit{sin}(4t)}$</span><span style="color:rgb(188,143,143);">"</span>;
</pre>
<span>
<pre style="font-family: Monospaced;"><span style="color: rgb(174, 92, 176); text-decoration-line: underline;">title</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(50,185,185);">msprintf</span><span style="color:rgb(74,85,219);">(tit</span><span style="color:rgb(0,0,0);">, </span><span style="color:rgb(0,0,0);">kp1</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);"> kp1</span><span style="color:rgb(0,0,0);">, </span><span style="color:rgb(0,0,0);">kp2</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(74,85,219);">)
</span></pre>
</span>
</body>
</html>