Author

Topic: Latex support for bitcoin? (Read 1821 times)

legendary
Activity: 945
Merit: 1003
July 29, 2012, 12:06:16 PM
#5
I haven't used Latex in a while so there might be a better way.

Download these files and import with
Code:
\newcommand*\btc{\def\svgwidth{8pt}\input{bitcoin.pdf_tex}}

You can then use in your document with \btc
I'll give that a try, but will the size of the symbol scale correctly with font size in this case?
legendary
Activity: 945
Merit: 1003
July 29, 2012, 12:04:12 PM
#4
Isn't Latex text based? I would have thought it would be more a problem getting a BTC symbol as a font character or can a package provide that ability? You might look into code pages or unicode to see if you can use the Thai Baht symbol. It's somewhere out there.


Sure it is text based, but it has "alphabets" for pretty much everything - from math to playing cards to chess pieces.
Surely we can do better than the Baht symbol.
 
By the easy - Satoshi's original paper was typeset in LaTeX - naturally. :-)
member
Activity: 162
Merit: 10
The World’s First Blockchain Core
July 29, 2012, 11:51:06 AM
#3
I haven't used Latex in a while so there might be a better way.

Download these files and import with
Code:
\newcommand*\btc{\def\svgwidth{8pt}\input{bitcoin.pdf_tex}}

You can then use in your document with \btc
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
July 29, 2012, 11:11:12 AM
#2
Isn't Latex text based? I would have thought it would be more a problem getting a BTC symbol as a font character or can a package provide that ability? You might look into code pages or unicode to see if you can use the Thai Baht symbol. It's somewhere out there.
legendary
Activity: 945
Merit: 1003
July 29, 2012, 10:56:09 AM
#1
Does anyone know of a LaTeX/pdfLaTEX package which supports the bitcoin symbol, BTC, for writing inline?

What I want is a package that I can load (\usepackage{bitcoin}) and then write \BTC our \bitcoin inline for the BTC symbol to appear just like a "$" symbol or other symbols.

I'd be willing to contribute a small tip for someone to write such a package.
Jump to: