Skip to content

xavrb/pyTexBusinessCards

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

pyTexBusinessCards

Getting your business card nice and clean with a single line.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development, testing and creation purposes.

Prerequisites

What things you need to install the software and how to install them, I use Fedora but commands should not differ that much on debian based systems (please change accordingly).

I assume you have a working Python and Tex environments working.

# dnf install texlive-fontspec

Lato Font

For the business cards I use Lato, an elegant and nice font you can find at Google Fonts, download it and install on your system (Regular style will do the trick here)

https://fonts.google.com/specimen/Lato

Clone

git clone https://github.com/xavrb/pyTexBusinessCards
cd pyTexBusinessCards && cd src

Configure

On /src/config-tex2bc.bcf you can configure your name, title, address, mail and phone. As well as the number of pages (10 cards per page) you need.

%Name: John
%Lname: Does
%DegreeDesc: Engineer
%Address: Westminster, London SW1A 0AA, UK
%EmailUsername: johndoe
%EmailDomain: testmail.ch
%Cellphone: 55233256565
%Landline: 56465454
%numberPages: 15 <-- here you set the number of pages you need (there are 10 cards in each page)
%cardSize: iso7810 <--	Possible values <|	iso7810 ->	ISO 7810 size: 85.60mm x 53.98mm
					 |	european ->	European size: 85mm x 55mm
					 |	us -> 		US size: 3.5 in x 2 in
%template: default <-- working on different templates 
 

Start

python pyTexBusinessCards.py

Preview

Code generated business cards will look like this:

businesscard

About

Getting your business card nice and clean with a single line.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 60.6%
  • TeX 39.4%