<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hello,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I want to increase fontsize of just one letter in a word,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Is it possible in xelatex to bind a control sequence to an input character as suggested for pdftex on <a href="http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex">http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex</a></div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">"<span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)">To define behaviour for unicode characters, use the</span><span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)"> </span><code style="font-size:14px;line-height:18px;margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:pre-wrap;background-color:rgb(238,238,238)">\DeclareUnicodeCharacter</code><span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)"> </span><span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)">command that is then defined. Here's an example for binding the control sequence</span><span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)"> </span><code style="font-size:14px;line-height:18px;margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:pre-wrap;background-color:rgb(238,238,238)">\dash</code><span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)"> </span><span style="color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;font-size:14px;line-height:18px;background-color:rgba(255,255,255,0.529412)">to the input character "—"; i.e., a literal em-dash, U+2014, in the source:</span></div><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(57,51,24);word-wrap:normal;line-height:18px;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\DeclareUnicodeCharacter</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(0,0,0)">2014</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\dash</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)"><code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);white-space:pre-wrap;background-color:rgb(238,238,238)">\dash</code> can then be defined in the usual manner; I use:</p><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(57,51,24);word-wrap:normal;line-height:18px;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34);white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\DeclareRobustCommand\dash</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(134,134,134)">%</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(0,0,0)">
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">\unskip\nobreak\thinspace\textemdash\allowbreak\thinspace\ignorespaces</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(57,51,24);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Tahoma,sans-serif;line-height:18px;background-color:rgba(255,255,255,0.529412)">This defines a dash that has a small space on either side and will only allow a line break <em style="margin:0px;padding:0px;border:0px;vertical-align:baseline">after</em> it.</p><div class="gmail_default" style="font-family:georgia,serif;display:inline">"</div><p></p>
</div>