-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.tex
32 lines (26 loc) · 1015 Bytes
/
test.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\documentclass{article}
\usepackage{expand-control}
\begin{document}
\makeatletter
\errorcontextlines=5
\tracingmacros=1
\edef\ak{\uppercase{abc\PreserveCase{ }def}}\show\ak
\tracingmacros=0\relax
\MakeUppercase{abc\PreserveCase{aABb}def}
\message{\detokenize\expandafter{%
\expanded{\expand@three}\expanded{\unexpanded{\char@generate{97}{12}}\expand@three}%
\expanded{\unexpanded{\char@generate{97}{10}}\expand@three}%
% \expanded{\noexpand\@gobble\expand@three}%
\expanded{\unexpanded{\char@generate{65}{1}}\expand@three}%
\expanded{\unexpanded{\char@generate{65}{2}}\expand@three}%
}}
\edef\a{\uppercase{%
\unexpanded{\expanded{\unexpanded{\char@generate{97}{12}}\expand@three}%
\expanded{\unexpanded{\char@generate{97}{10}}\expand@three}%
% \expanded{\noexpand\@gobble\expand@three}%
\expanded{\unexpanded{\char@generate{65}{1}}\expand@three}%
\expanded{\unexpanded{\char@generate{65}{2}}\expand@three}%
}%
}}\show\a
\edef\a{\unexpanded{\char@generate{97}{12}}}\show\a
\end{document}