blob: c0a830bb2e1819d753c897e21544e0f7c7dc54d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
%
\NeedsTeXFormat{LaTeX2e}[2009/06/27]
\ProvidesPackage{barracuda}[2022/06/23 v0.0.12 a barcode typesetting package]%
\newbox\barracudabox
\newcommand\barracuda[3][_brcdempty_=true]{\directlua{
local barracuda = require "barracuda"
local enc_name = [[#2]]
local data = [[#3]]
local opt = {#1};
if opt._brcdempty_ == true then
barracuda:hbox(enc_name, data, "barracudabox")
else
barracuda:hbox(enc_name, data, "barracudabox", opt)
end
}%
\box\barracudabox
}
\endinput
|