• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mkropat/dapper-invoice: A billable-time invoice featuring style over substance

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

mkropat/dapper-invoice

开源软件地址(OpenSource Url):

https://github.com/mkropat/dapper-invoice

开源编程语言(OpenSource Language):

TeX 91.0%

开源软件介绍(OpenSource Introduction):

dapper-invoice

A billable-time invoice featuring style over substance.

Example Screenshot

Pre-Requisites

  • TeX Live
  • TeX xetex (siunitx.sty)
  • TeX science (fontawesome.sty)

— or —

— or —

Generating an Invoice

Using TeX Live Locally

cp example.tex your-invoice-101.tex
# make some changes to your-invoice-101.tex
make your-invoice-101.pdf

Your invoice will be created as your-invoice-101.pdf

Using Vagrant

cp example.tex your-invoice-101.tex
vagrant up  # this may take a while the first time
vagrant ssh -c 'cd /vagrant; make REPORT=your-invoice-101 watch'

Now whenever you make changes to your-invoice-101.tex on your host machine, the watcher inside the VM will automatically build your-invoice-101.pdf, which will be saved back to the host machine.

When finished editing, input Control-C to stop the watcher, then run:

vagrant halt

Using Docker

Use Docker Hub's blang/latex image that comes with a matching .sh file. When you first run this .sh file, it will pull the docker image that includes all of the latex dependencies.

wget https://raw.githubusercontent.com/blang/latex-docker/master/latexdockercmd.sh
chmod +x latexdockercmd.sh
./latexdockercmd.sh  # will pull down image on first use

Then, you can use the .sh file as you would xelatex:

cp example.tex your-invoice-101.tex
latexdockercmd.sh xelatex [options] your-invoice-101.tex

You invoice will be created as your-invoice-101.pdf

Documentation

See example.tex and dapper-invoice.cls for details.

Inspiration

I am not a designer. Inspiration for the design comes from stea^H^H^H^Hborrowing design ideas from good looking invoices people have published on the net. The resulting design is not even in the same league, but I think it gets the job done.

I am also not a LaTeX author. The code borrows heavily from the moderncv package (which I can't recommend enough), as well as numerous other packages.

Licensing

The code I have written I release under the MIT license.

Two different font packages are included in the repo for convenience:

  • OpenSans (Apache License v2.00)
  • Font Awesome (SIL OFL 1.1)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap