Has*_*lcı 4 superscript inkscape subscript
我想将上标和下标添加到 Inkscape 文本对象中的同一字符。目前,我有这个:
但我希望撇号 (') 和 0 垂直对齐,以便 x 将 (') 作为上标,0 作为下标。
您可以对零索引使用负水平字距调整。查看右上角的红框字段。
文本元素的 SVG 将如下所示:
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10.584px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.2646"
x="29.4"
y="29.48"
id="text3715"><tspan
sodipodi:role="line"
id="tspan3713"
x="29.4"
y="29.48"
style="stroke-width:0.2646"
dx="0 0 0 0 5 0 0 0 3.5">(x'<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan3717"
dx="-3.5">0</tspan>,y'<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan3719"
dx="-3.5">0</tspan>)</tspan></text>
Run Code Online (Sandbox Code Playgroud)
注意dx="-3.5"属性。