Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is impossible make somthing like this?

\documentclass[a4paper]{memoir}

\usepackage{microtype}

\DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textls[80]{\scshape\MakeTextLowercase{#1}}}%

\microtypesetup{expansion=false}%

\DeclareRobustCommand{\spacedallcaps}[1]{\textls[160]{\MakeTextUppercase{#1}}}%

\DeclareRobustCommand{\spacedallcapsB}{\spacedallcaps{\Large}}%

\begin{document}
{\spacedallcapsB Hallo}
\end{document}
share|improve this question
1  
I need to add \usepackage{textcase} to run your MWE –  David Carlisle Aug 11 '12 at 14:11
    
You are just uppercaseing the token \Large which cleally doesn't do anything. What result do you intend? –  David Carlisle Aug 11 '12 at 14:13
    
Massive. ........... –  Nicholas Hamilton Aug 24 '13 at 16:44

1 Answer 1

up vote 3 down vote accepted

This is a bit of a wild guess as to the intended result.

enter image description here

\documentclass[a4paper]{memoir}
\usepackage{textcase}
\usepackage{microtype}

\DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textls[80]{\scshape\MakeTextLowercase{#1}}}%

\microtypesetup{expansion=false}%

\DeclareRobustCommand{\spacedallcaps}[1]{\textls[160]{\MakeTextUppercase{#1}}}%

\DeclareRobustCommand\spacedallcapsB{\afterassignment\xspacedallcapsB\toks0\bgroup}
\def\xspacedallcapsB{\Large\spacedallcaps{\the\toks0}\egroup}

\begin{document}
{\spacedallcapsB Hallo}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.