LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2008, 10:32 PM   #1
Herminator53
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
New Symbols for LaTex using Unicode


Hey all,

I am new to LaTex and I am trying to add a new symbol so that I can use it in my documents. I want to use unicode number 269B, an atom. How can I implement this in LaTex?

Thanks!
 
Old 07-25-2009, 03:57 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,388
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
unicode symbols in LaTex

There are packages in LaTeX that will allow you to hand unicode input eg
"\usepackage[utf8]{inputenc}". But these really only provide a way of setting up handlers for the unicode characters; you still have to generate the output.

There are also packages aimed at specific languages (eg arabtex), but they typically work by using an ASCII mapping of the characters.

If you are doing a lot of unicode, it is worth looking at the XeTeX fork of TeX/LaTeX, found in many Linux distributions (and also for other OS). It allows you to easily load the newer font formats (such as TrueType), and work directly with unicode.

If you are just doing just one or two special character graphics, you could just bring it in as an image.

You will find a comprehensive list of LaTeX symbols and their fonts on the CTAN website.

Last edited by neonsignal; 07-25-2009 at 09:03 AM.
 
Old 07-25-2009, 04:47 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 444

Rep: Reputation: 98
Quote:
Originally Posted by Herminator53 View Post
Hey all,

I am new to LaTex and I am trying to add a new symbol so that I can use it in my documents. I want to use unicode number 269B, an atom. How can I implement this in LaTex?

Thanks!
If you have access to windows (xp/vista) fonts, the
symbol can be found in the webdings font
(distributed in windows xp/vista)

(you can display it in html with the code ⚛)

If you have a way of installing the true type font
to your system (Webding-Regular), then the next step
would be to download the texmf support files from

http://www.ctan.org/tex-archive/fonts/winfonts/

and you should be able to get your symbol as a font.

There's other possibility. I kinda remember there was
a tool called ttf2mf (works on ms-windows only) that
can output from a true type font the necessary metafont
sources. Then all you have to do is place the mf files
somewhere in your texmf tree (and update the database)

Last edited by vonbiber; 07-27-2009 at 02:50 AM. Reason: mistaken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[FC4] Can't enter Unicode Symbols directly polemon Linux - Newbie 5 07-25-2009 12:41 PM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 5 03-25-2007 09:44 AM
LaTeX symbols & characters unihiekka Linux - Software 2 09-25-2005 01:12 PM
arrow symbols (<->) with latex? realos Linux - Software 2 08-25-2003 05:19 PM


All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration