Bitcoin Forum
May 07, 2024, 03:11:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Latex support for bitcoin?  (Read 1821 times)
minorman (OP)
Legendary
*
Offline Offline

Activity: 945
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     
1715094687
Hero Member
*
Offline Offline

Posts: 1715094687

View Profile Personal Message (Offline)

Ignore
1715094687
Reply with quote  #2

1715094687
Report to moderator
1715094687
Hero Member
*
Offline Offline

Posts: 1715094687

View Profile Personal Message (Offline)

Ignore
1715094687
Reply with quote  #2

1715094687
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715094687
Hero Member
*
Offline Offline

Posts: 1715094687

View Profile Personal Message (Offline)

Ignore
1715094687
Reply with quote  #2

1715094687
Report to moderator
1715094687
Hero Member
*
Offline Offline

Posts: 1715094687

View Profile Personal Message (Offline)

Ignore
1715094687
Reply with quote  #2

1715094687
Report to moderator
1715094687
Hero Member
*
Offline Offline

Posts: 1715094687

View Profile Personal Message (Offline)

Ignore
1715094687
Reply with quote  #2

1715094687
Report to moderator
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


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: 162
Merit: 10


The World’s First Blockchain Core


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

▄▄▄▄▄▄▄▄▄▄▄ ▄ ■        SKYNET        ■ ▄ ▄▄▄▄▄▄▄▄▄▄▄
▐▬▬▬▬▬▬▬▬▬▬     PRIVATE SALE is LIVE     ▬▬▬▬▬▬▬▬▬▬▌
Whitepaper   Bounty   Bitcointalk  ■  Facebook   Twitter   Telegram
minorman (OP)
Legendary
*
Offline Offline

Activity: 945
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 (OP)
Legendary
*
Offline Offline

Activity: 945
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!