Representing TeX on the web [Off-topic]
Dear gang, My apologies if the answers to the following are already well-known and if I'm being completely clueless: What is the standard way of representing the symbol '\TeX' in html and the like? Related: Is there any movement to have '\TeX' registered as a Unicode symbol? Thanks in advance and Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
What is the standard way of representing the symbol '\TeX' in html and the like?
I'm guessing the most common way is to simply write TeX in plain text, but if you want to be fancy, T<sub>E</sub>X would do -- at the risk of looking ugly.
Related: Is there any movement to have '\TeX' registered as a Unicode symbol?
I really hope not. Arthur
On Sat, 30 Mar 2013 23:34:11 -0600, Arthur Reutenauer
Related: Is there any movement to have '\TeX' registered as a Unicode symbol? I really hope not.
Why not? Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
On Sat, 30 Mar 2013 23:34:11 -0600, Arthur Reutenauer
T<sub>E</sub>X
On Sun, 31 Mar 2013 00:14:52 -0600, Khaled Hosny
<html> <style> span.TEX {letter-spacing: -0.1em;} span.TEX span.E {left: -0.04em; position: relative;top: 0.5ex;} </style> <body> <p><span class="TEX">T<span class="E">E</span>X</span></p> </body> </html>
On Sun, 31 Mar 2013 04:45:36 -0600, Philipp Gesang
<span>T<span style="vertical-align:-0.5ex;margin-left:-0.1667em;margin-right:-0.125em;">E</span>X</span> Maybe add font-family: "CMU Serif" to the style.
Thanks to all of you, Arthur, Khaled, and Phillip, for your quick replies; it is greatly appreciated! Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
On Sat, Mar 30, 2013 at 11:20:41PM -0600, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
My apologies if the answers to the following are already well-known and if I'm being completely clueless:
What is the standard way of representing the symbol '\TeX' in html and the like?
Stolen from TeX Live HTML docs: <html> <style> span.TEX {letter-spacing: -0.1em;} span.TEX span.E {left: -0.04em; position: relative;top: 0.5ex;} </style> <body> <p><span class="TEX">T<span class="E">E</span>X</span></p> </body> </html> A bit complex, but faithful to the original definition. Regards, Khaled
···
Dear gang,
My apologies if the answers to the following are already well-known and if I'm being completely clueless:
What is the standard way of representing the symbol '\TeX' in html and the like?
I use margins to emulate kerns: <span>T<span style="vertical-align:-0.5ex;margin-left:-0.1667em;margin-right:-0.125em;">E</span>X</span> Maybe add font-family: "CMU Serif" to the style. Regards Philipp
participants (4)
-
Arthur Reutenauer
-
Idris Samawi Hamid ادريس سماوي حامد
-
Khaled Hosny
-
Philipp Gesang