labels: Create Latex input

Description Usage Arguments Details Value Author(s) Examples

Description

Create file to be typesetted using LaTex.

Usage

1
2
3
labels(x, file = "labels.tex", template, nrow = 3, ncol = 2)
label(x, pos, side, template)
pageLayout(x, nrow = 3, ncol = 2)

Arguments

x

data.frame.

file

character. A output file name.

template

character. LaTex template (see template)

nrow, ncol

integer. Number of rows and columns in page layout.

pos

how to position individual label on page. See ‘Details’.

side

how to position individual label on page.

Details

The function uses the textpos package to place individual labels on page. A 2 by 4 layout is predefined.

labels

calls the below listed function and save a file specified in file argument. The structure (layout) of a label is controlled by a template and the function expects to find some specific keywords. See (reference to extdata).

label

creates LaTex source for an individual label (a unique voucher).

pageLayout

creates a list of arguments that can be used along with the textblock environment provided with the textpos package ("\begin{textblock}{0.8}[side](pos)").

Value

a file written to disk.

Author(s)

Roland Kaiser

Examples

1
# Nothing here yet

kardinal-eros/voucher documentation built on May 20, 2019, 7:22 a.m.