Bitcoin Forum
May 26, 2018, 01:25:32 AM
 News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 Home Help Search Donate Login Register
 Pages: [1]
 Author Topic: Latex support for bitcoin?  (Read 1759 times)
minorman
Legendary

Offline

Activity: 932
Merit: 1003

 July 29, 2012, 02:56:09 PM

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.
1527297932
Hero Member

Offline

Posts: 1527297932

Ignore
 1527297932

1527297932
 Report to moderator
1527297932
Hero Member

Offline

Posts: 1527297932

Ignore
 1527297932

1527297932
 Report to moderator
1527297932
Hero Member

Offline

Posts: 1527297932

Ignore
 1527297932

1527297932
 Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527297932
Hero Member

Offline

Posts: 1527297932

Ignore
 1527297932

1527297932
 Report to moderator
1527297932
Hero Member

Offline

Posts: 1527297932

Ignore
 1527297932

1527297932
 Report to moderator
1527297932
Hero Member

Offline

Posts: 1527297932

Ignore
 1527297932

1527297932
 Report to moderator
BkkCoins
Hero Member

Offline

Activity: 784
Merit: 1000

firstbits:1MinerQ

 July 29, 2012, 03:11:12 PM

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.

LuaKT
Member

Offline

Activity: 72
Merit: 10

 July 29, 2012, 03:51:06 PM

I haven't used Latex in a while so there might be a better way.

Code:
\newcommand*\btc{\def\svgwidth{8pt}\input{bitcoin.pdf_tex}}

You can then use in your document with \btc
minorman
Legendary

Offline

Activity: 932
Merit: 1003

 July 29, 2012, 04:04:12 PM

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. :-)
minorman
Legendary

Offline

Activity: 932
Merit: 1003

 July 29, 2012, 04:06:16 PM

I haven't used Latex in a while so there might be a better way.