Bitcoin Forum
August 22, 2018, 04:32:49 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Latex support for bitcoin?  (Read 1768 times)
minorman
Legendary
*
Offline Offline

Activity: 951
Merit: 1003



View Profile
July 29, 2012, 02:56:09 PM
 #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.


 ██▄                ██        ▄███████▄        ██                  ██      ▄█████████▄ 
 ████              ██      █                  █      ██                  ██      ██                ██
 ██  ▀█            ██    ▄█                  █▄    ██                  ██    ██                  ██
 ██    █▄          ██    ██                  ██    ██                  ██    ▀█                     
 ██      █▄        ██    ██                  ██    ██                  ██      ██                   
 ██        █▄      ██                                  ██                  ██       ▀████████▄   
 ██          █▄    ██    ██                  ██    ██                  ██                        ██ 
 ██            █▄  ██    ██                  ██    ██                  ██                          ██
 ██              █▄██    ██                  ██    ▀█                  █▀    ▄▄                  █▀
 ██                ███      █                  █        █                  █      ██                ██ 
 ██                  ▀█        ▀███████▀            ▀███████▀         ▀█████████▀   











Nousplatform Youtube     
1534912369
Hero Member
*
Offline Offline

Posts: 1534912369

View Profile Personal Message (Offline)

Ignore
1534912369
Reply with quote  #2

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

Activity: 784
Merit: 1000


firstbits:1MinerQ


View Profile WWW
July 29, 2012, 03:11:12 PM
 #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.

LuaKT
Member
**
Offline Offline

Activity: 72
Merit: 10



View Profile
July 29, 2012, 03:51:06 PM
 #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
minorman
Legendary
*
Offline Offline

Activity: 951
Merit: 1003



View Profile
July 29, 2012, 04: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. :-)


 ██▄                ██        ▄███████▄        ██                  ██      ▄█████████▄ 
 ████              ██      █                  █      ██                  ██      ██                ██
 ██  ▀█            ██    ▄█                  █▄    ██                  ██    ██                  ██
 ██    █▄          ██    ██                  ██    ██                  ██    ▀█                     
 ██      █▄        ██    ██                  ██    ██                  ██      ██                   
 ██        █▄      ██                                  ██                  ██       ▀████████▄   
 ██          █▄    ██    ██                  ██    ██                  ██                        ██ 
 ██            █▄  ██    ██                  ██    ██                  ██                          ██
 ██              █▄██    ██                  ██    ▀█                  █▀    ▄▄                  █▀
 ██                ███      █                  █        █                  █      ██                ██ 
 ██                  ▀█        ▀███████▀            ▀███████▀         ▀█████████▀   











Nousplatform Youtube     
minorman
Legendary
*
Offline Offline

Activity: 951
Merit: 1003



View Profile
July 29, 2012, 04: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?


 ██▄                ██        ▄███████▄        ██                  ██      ▄█████████▄ 
 ████              ██      █                  █      ██                  ██      ██                ██
 ██  ▀█            ██    ▄█                  █▄    ██                  ██    ██                  ██
 ██    █▄          ██    ██                  ██    ██                  ██    ▀█                     
 ██      █▄        ██    ██                  ██    ██                  ██      ██                   
 ██        █▄      ██                                  ██                  ██       ▀████████▄   
 ██          █▄    ██    ██                  ██    ██                  ██                        ██ 
 ██            █▄  ██    ██                  ██    ██                  ██                          ██
 ██              █▄██    ██                  ██    ▀█                  █▀    ▄▄                  █▀
 ██                ███      █                  █        █                  █      ██                ██ 
 ██                  ▀█        ▀███████▀            ▀███████▀         ▀█████████▀   











Nousplatform Youtube     
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!