• No results found

The luatextra package

N/A
N/A
Protected

Academic year: 2021

Share "The luatextra package"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The luatextra package

Manuel Pégourié-Gonnard & Élie Roux

Support:

lualatex-dev@tug.org

2010/10/10 v1.0

Abstract

The luatextra package loads essential and useful packages for LuaLATEX.

It is meant as convenience for users who don’t want to load them individually.

Contents

1 Documentation 1

2 Implementation 2

3 Test file 2

1

Documentation

The following packages are loaded:

fontspec — advanced font management, integrated in the LATEX font selection

scheme, with access to system fonts and opentype features;

luacode — tools for easier integration of Lua code in LATEX;

metalogo — commands for logos, including \LuaTeX and \LuaLaTeX; fixltx2e — various fixes and small enchancements for the LATEX core;

luatexbase — low-level management of LuaTEX’s new and extended resources; lualibs — additional general-purpose Lua functions.

In case you are not yet familiar with the available LuaLATEX packages, you

might want to check the document lualatex-doc.pdf from the eponymous pack-age.

(2)

2

Implementation

1h∗packagei

Identify.

2\ProvidesPackage{luatextra}[2010/10/10 v1.0 Loading usual LuaLaTeX packages]

Make sure LuaTEX is being used.

3\RequirePackage{ifluatex}

4\ifluatex\else

5 \PackageError{luatextra}{LuaTeX is required for this package. Aborting.}{%

6 This package can only be used with the LuaTeX engine^^J%

7 (command ‘lualatex’ or ‘luatex’).^^J%

8 Package loading has been stopped to prevent additional errors.}

9 \expandafter\endinput

10\fi

Load packages; luatexbase and lualibs are loaded (indirectly) by fontspec, but just to be sure (in case it changes in the future).

11\RequirePackage{fontspec} 12\RequirePackage{luatexbase} 13\RequireLuaModule{lualibs} 14\RequirePackage{metalogo} 15\RequirePackage{luacode} 16\RequirePackage{fixltx2e} 17h/packagei

3

Test file

Very minimal, just check that the package correctly loads. We have to use \documentclass to make xkeyval (loaded by fontspec) happy.

Referenties

GERELATEERDE DOCUMENTEN

Table 9: Possible maintenance cost savings 65 Table 10: Compared load shifting results 73 Table 11: Compared cost saving results 76 Table 12: Future Worth analysis input values

With this method, future aggregated residential net load profiles can be modelled and used as input for load- flow calculations to assess the effect of the changes in future

In the latter case, the package doesn’t (re)define the \url command: it only defines \burl to be a synonym of whatever \url is defined (e.g., via url or hyperref packages).. Of

If you load a package that changes the \catcode of a character in this list, such as a language package that makes one of them active, and you want the extra kerning to be added

This package provides the hooks \EverySelectfont and \AtNextSelectfont whose arguments are executed just after L A TEX has loaded a new font using.. \selectfont (which means that

When \includeenv encounters a \usepackage command in the included part, it looks at the packages in the argument of \usepackage and issues a warning if the package is not already

Thumbnails: Package thumbpdf may additionally be loaded for the case that the PDF file also should contain thumbnails, see the documentation of this package.. But thumbnail embedding

- negative Arabic numbers turned into upper-case Roman numbers (although historically there were no negative Roman numbers): \Romanbar{-12} prints -XII. - zero Arabic number