• No results found

This is the main feature. It produces forced lowercased small capitals.

N/A
N/A
Protected

Academic year: 2021

Share "This is the main feature. It produces forced lowercased small capitals."

Copied!
2
0
0

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

Hele tekst

(1)

The lccaps package

Ruben Giannotti January 22, 2018

This tiny package serves the mere purpose of providing a uniform method to use lowercased small capitals (and spaced lowercased small capitals). It relies on the iftex, textcase and microtype package and comes with four new user macros.

This is the main feature. It produces forced lowercased small capitals.

\textlcc

This is more of an auxiliary macro. But, it can be used at the user level of course.

\spacedcaps

It is meant to be used as a prefix to \textlcc or \textsc which results in a slightly wider spacing between small capitals:

\spacedcaps\textlcc{Spaced capitals} spaced capitals Those two are just shorthands for the last mentioned. Technically the very last

\textslcc

\textssc one exceeds the scope of this package. It is a simple byproduct that should not be harmful.

1 \RequirePackage{iftex}

2 \RequirePackage{textcase}

3 \RequirePackage{microtype}

4 \protected\def\lcc@warning{\PackageWarning{lccaps}}

5 \DeclareRobustCommand\textlcc[1]{\textsc{\MakeTextLowercase{#1}}}

6 \def\spacedcaps#1{%

7 \let\reserved@a=#1%

8 \ifnum

9 \ifx\reserved@a\textsc1\else

10 \ifx\reserved@a\textlcc1\else

11 0\fi\fi

12 =1

13 \expandafter\reserved@lcc

14 \else

15 \lcc@warning{The token preceeding \noexpand\spacedcaps

16 wasn’t meant to typeset small capitals, so nothing happend.}%

17 \expandafter\reserved@a

18 \fi

19 }

20 \def\reserved@lcc#1{%

This document corresponds to lccaps v1.0, dated 2018/01/21.

ruben dot giannotti at gmx dot net

1

(2)

21 \expandafter\@spacedcaps\expandafter{\reserved@a{#1}}%

22 }

23 \ifXeTeX

24 \def\@spacedcaps#1{\bgroup\addfontfeature{LetterSpace=5.0}#1\egroup}

25 \else

26 \def\@spacedcaps{\textls[50]}

27 \fi

28 \DeclareRobustCommand\textslcc{\spacedcaps\textlcc}

29 \DeclareRobustCommand\textssc{\spacedcaps\textsc}

2

Referenties

GERELATEERDE DOCUMENTEN

It covers the fields of European Prehistory, Mediterranean, Near Eastern and Egyptian Archaeology, Mesoamerican and Andean Cultures, Caribbean and Amazonian

Op basis van de analyse in hoofdstuk 4 kan deze hypothese niet worden bevestigd aangezien er geen verband is gevonden tussen de financiële omvang van de onderneming (zowel bepaald

There are five main factors involved in this research, namely resources, capabilities, and their combinations; temporary competitive advantage, firm performance, and firm value..

The qualitative results from the open-ended network interview questions gives validity to the hypothesis that networking increases opportunity recognition for the firms

This version recodes the package and incorporates similar tests from the ifetex package by Martin Scharrer, the ifxetex package by Will Robertson, the ifluatex and ifvtex packages

The final initial size depends on the height of \L@tbox ; the content of \L@tbox depends on option realheight , so we have to read \lettrine ’s optional argument and initialise

Nadat in de voorgaande subparagraaf geconcludeerd is dat het premanaged resultaat een negatief effect heeft op de discretionaire accruals wanneer het premanaged resultaat

From the above-mentioned definitions and descriptions it is obvious that a task-based syllabus would be structured differently from what Skehan proposed (i.e. identifying the