<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
I first encountered this some years ago. The solution is to turn off unwanted draw options when including a TeX formula that has rules in it (this includes fraction bars).</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
The explanation: the btex...etex group creates a picture which, in your example, contains a path that needs to be drawn (the fraction bar). When that occurs, the current draw options are used.</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
I seem to recall that some TeX rules are rendered in PostScript as filled rectangles, but many are stoked paths with a particular pen size.</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
Cheers,</div>
<div class="elementToProof" style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div style="margin-right: 0px; margin-left: 0px; font-family: Tahoma; font-size: 13px;">
<span style="font-family: Courier New; font-size: 16px;">Daniel H. Luecking [luecking@uark.edu]
<br>
Department of Mathematical Sciences<br>
1 University of Arkansas<br>
Fayetteville, AR, USA 72701-1201</span><br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> metapost <metapost-bounces+luecking=uark.edu@tug.org> on behalf of Vadim Radionov <vadim.radionov@gmail.com><br>
<b>Sent:</b> Friday, June 7, 2024 11:43 AM<br>
<b>To:</b> metapost@tug.org <metapost@tug.org><br>
<b>Subject:</b> [metapost] Metapost dashed evenly option affects lines in TeX labels -- possibly a bug?</font>
<div> </div>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody style="display:block">
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>You don't often get email from vadim.radionov@gmail.com. <a href="https://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<div dir="ltr">
<div>In texlive2023 this code results in dashed lines in the formula. <br>
</div>
<div><br>
</div>
<div>beginfig(1)<br>
drawoptions(dashed evenly);<br>
draw btex $\sqrt{22222} \displaystyle {1 \over 22222}$ etex;<br>
endfig;<br>
end</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Vadim</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>