-
Notifications
You must be signed in to change notification settings - Fork 1
/
metrix.dtx
2564 lines (2547 loc) · 89.1 KB
/
metrix.dtx
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% \iffalse meta-comment
%
%% File: metrix.dtx Copyright (c) Tobias Weh
%%
%% This file may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
%% license or (at your option) any later version. The latest version
%% of this license is in the file
%%
%% http://www.latex-project.org/lppl.txt
%%
%<*driver|package>
% The version of expl3 required is tested as early as possible, as
% some really old versions do not define \ProvidesExplPackage.
\RequirePackage{expl3}[2016/01/03]
%<package>\@ifpackagelater{expl3}{2016/01/03}
%<package> {}
%<package> {%
%<package> \PackageError{metrix}{Support package l3kernel too old}
%<package> {%
%<package> Please install an up to date version of l3kernel\MessageBreak
%<package> using your TeX package manager or from CTAN.\MessageBreak
%<package> \MessageBreak
%<package> Loading xparse will abort!%
%<package> }%
%<package> \endinput
%<package> }
\def\metrixFileName{metrix}
\def\metrixFileDescription{Typeset prosody/metric symbols.}
\def\metrixFileDate{2019/10/09}
\def\metrixFileVersion{1.5}
%</driver|package>
%<*driver>
\documentclass[full,english]{l3doc}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{etoolbox}
\usepackage{babel}
\usepackage{xparse}
\usepackage{xcolor}
\definecolor{twred}{HTML}{91031F}
\hypersetup{
allcolors=twred,
}
\usepackage{metrix}
\usepackage{longtable,tabu,booktabs}
\renewcommand{\arraystretch}{1.3}
\usepackage[bottom]{footmisc}
\usepackage{mdframed}
\newmdenv[
backgroundcolor=black!15,
linecolor=twred,
linewidth=1.25pt,
topline=false,
rightline=false,
bottomline=false,
frametitlefont=\sffamily\bfseries,
frametitle=Example,
]{example}
\usepackage{microtype}
\usepackage{tgpagella}
\usepackage[scale=0.875]{tgheros}
\usepackage{ascii}
\usepackage{upquote}
% add \@noligs to the redefinitions made by doc.sty to make upquote work
\makeatother
\patchcmd{\verb}{\ttfamily}{\ttfamily\@noligs}{}{}
\patchcmd{\verbatim}{\frenchspacing}{\frenchspacing\@noligs}{}{}
\patchcmd{\macrocode}{\frenchspacing}{\frenchspacing\@noligs}{}{}
\makeatother
\edef\pluschar{+}
\AtBeginDocument{
\DeleteShortVerb{\|}
\DeleteShortVerb{\"}
\MakeShortVerb{\+}
}
\makeatletter
\def\meta@font@select{\itshape\rmfamily}
\makeatother
\IndexPrologue{
\section*{Index}
\addcontentsline{toc}{section}{Index}
The italic numbers denote the pages where the
corresponding entry is described,
numbers underlined point to the definition,
all others indicate the places where it is used.
}
\GlossaryPrologue{
\section{Change History}
{\GlossaryParms\ttfamily\hyphenchar\font=`\-}
}
\AtBeginDocument{\renewcommand*{\glossaryname}{Change History}}
\def\metrix/{\textcolor{twred}{\textbf{\textsf{m\u{e}trix}}}}
\def\TikZ/{Ti\emph{k}Z}
\newrobustcmd{\Star}{\meta{\textup{\texttt{*}}}}
\newrobustcmd{\mail}[1]{\href{mailto:#1}{#1}}
\begin{document}
\DocInput{\metrixFileName.dtx}
\end{document}
%</driver>
% \fi
%
%
% \title{The \metrix/ package}
%
% \author{Tobias Weh\thanks{URL: \url{http://tobiw.de/en}, Mail: \mail{[email protected]}}}
% \changes{v1.1a}{2015/07/23}{New contact info (mail and URL).}
%
% \date{Version \metrixFileVersion\ -- Released \metrixFileDate}
%
% \maketitle
%
% \begin{documentation}\MakePrivateLetters
%
% \begin{abstract}
% \mbox{}\par
% \begin{center}
% \Large
% \metrics{_ _ _ _ _ | _ u u _ u u _ }
% {\acct{e}t qu\acct{o}d temp-t\acct{a}-bam | scr\acct{i}-be-re v\acct{e}r-sus \acct{e}-rat}
% \end{center}
% \par\bigskip
% The \metrix/ package can be used to print the prosodics/metrics of (latin) verses.
% It provides macros to typeset the symbols stand alone and in combination with syllables
% (including automatic alignment like seen above). Furthermore it defines a new br\brv{e}vis
% and a l\lng{o}nga accent^^A
% \footnote{I know that these signs are no accents in the liguistic sense, but
% they are in the \TeX\ tradition \dots}
% and \bow{a b}ow to contract syllables.
%
% \medskip
% \emph{Thanks to David Carlisle, Marco Daniel, Enrico Gregorio, Bruno Le Floch and
% Joseph Wright who helped me with starting in \LaTeX3 programming. The verse above
% is by Ovid in his Tristia~4,10,26.}
% \end{abstract}
%
% \section{Prerequisites}
% \metrix/ relies only on a few packages: \pkg{tikz} (including the +calc+ library), \pkg{xpatch}
% and \pkg{xparse}, which stand for the whole \LaTeX3 bundle.
%
% \section{Package loading}
% Load \metrix/ as usual with +\usepackage{metrix}+. At the moment it has no options.
%
% \changes{v1.0a}{2013/08/14}{Added \texttt{cwl} file for TeXstudio}
% A CWL file +metrix.cwl+ for autocompletition in TeXstudio is available in the
% GitHub repo. To install the CWL file copy it to +~/.config/texstudio/+
% on Linux and OS X and to +C:\Documents and Settings/User/AppData/Roaming/texstudio/+.
% See section 1.5 of the TeXstudio manual for more information.
%
%
% \section{Bugs and feedback}
% \subsection{Known issues}
% \begin{itemize}
% \item At the moment the escaping of hyphen chars is not that good (see section~\ref{faq:hyphen}).
% \item Unfortunatly you can't use the active quotes of \pkg{csquotes} inside of
% \cs{metrics} syllable list (see section~\ref{faq:quotes}).
% \end{itemize}
% I'm sure there are more bugs and issues let me know if you find them \dots
% \subsection{Feedback}
% Any feedback on \metrix/ is appreciated. You may use its GitHub repository at
% \url{https://github.com/tweh/metrix} to request features and report bugs or
% send me an e-mail (\mail{[email protected]}).
%
% Please note that I don't speak latin myself and forthat the examples in this manual
% may be wrong---as long as they show how to use the package I don't consider such
% errors as bugs +;-)+.
%
% \section{Metric symbols}
% \subsection{Syntax for symbols}\label{sec:syntax}
% \changes{v1.1}{2014/07/02}{New section about the symbol syntax (see \ref{sec:syntax})}
% Before I'll show you the central macros for typesetting the symbols, you need
% to ``learn'' the syntax for the symbols. All symbols are represented by a single
% or a combination of characters. The list with all available abbreviations can
% be found in table~\ref{tab:symbols}. Please keep in mind that \metrix/ uses spaces to
% separate the abbreviations an something like +_'x+ will cause an error, the
% correct input is \verb*|_ ' x| (where \verb*| | indicates a space/blank).
% \subsubsection*{Accents above symbols (ictus)}
% If you want to add an additional accent above a symbol you may precede the symbol with
% an slash +/+ for an acute or a star +*+ for a grave accent. At the moment this only works
% with breve (+/u+ or +*u+) and longum (+/_+ or +*_+).
% \begin{example}
% An ictus (although out of date).
% \begin{verbatim}
% \metricsymbols{/_ u u /_ _ /_}
% \end{verbatim}
% \metricsymbols{/_ u u /_ _ /_}
% \end{example}
%\pagebreak
% \begin{longtabu}to \textwidth {l>{\itshape}lcXl}
% \caption{Symbol abbreviations\label{tab:symbols}}\\
% \toprule
% \rowfont{\bfseries\sffamily} \multicolumn{2}{l}{abbreviation} & symbol & name/explantion & accent/ictus? \\
% \midrule
% \endfirsthead
% \caption{Symbol abbreviations (cont.)}\\
% \toprule
% \rowfont{\bfseries\sffamily} \multicolumn{2}{l}{abbreviation} & symbol & name/explantion & accent/ictus? \\
% \midrule
% \endhead
% \multicolumn{5}{r}{\dots}
% \endfoot
% \bottomrule
% \endlastfoot
% +e+ && \metricsymbols{e} & empty (=\,invisible) symbol & \\
% +u+ && \metricsymbols{u} & elementum breve & yes \\
% +_+ & underscore & \metricsymbols{_} & elementum longum & yes \\
% +uu+ && \metricsymbols{uu} & double breve & \\
% +uu_+ && \metricsymbols{uu_} & elementum biceps & \\
% +_uu+ && \metricsymbols{_uu} & elementum biceps & \\
% +u_uu+ && \metricsymbols{u_uu} & elementum anceps & \\
% +x+ && \metricsymbols{x} & elementum anceps & \\
% +n+ && \metricsymbols{n} & elementum indifferens & \\
% +u_+ && \metricsymbols{u_} & elementum indifferens & \\
% +_u+ && \metricsymbols{_u} & elementum indifferens & \\
% +A+ && \metricsymbols{A} & * & \\
% +v+ && \metricsymbols{v} & * & \\
% +o+ && \metricsymbols{o} & * & \\
% +oo+ && \metricsymbols{oo} & aeolic base & \\
% +l+ && \metricsymbols{l} & caesura or break & \\
% +ll+ && \metricsymbols{ll} & caesura or end of period & \\
% +p+ && \metricsymbols{p} & primary stress & \\
% +s+ && \metricsymbols{s} & secondary stress & \\
% +|+ & pipe & \metricsymbols{|} & break (see \ref{sec:breaks}) & \\
% +||+ & two pipes & \metricsymbols{||} & verse break (see \ref{sec:breaks}) & \\
% +'+ & apostrophe (shift\,\pluschar\,\#) & \metricsymbols{'} &
% shorter break (see \ref{sec:breaks}) & \\
% +,+ & comma & \metricsymbols{,} & shorter break (see \ref{sec:breaks}) & \\
% \end{longtabu}
% \par
% {\vspace{-0.5\baselineskip}\itshape\footnotesize\noindent
% * I added these symbols as someone might needs them. If you use them please let me
% know what to add as name/explanation.\par}
% \subsection{Stand alone metric symbols}
% \begin{function}[EXP]{\metricsymbols}
% \begin{syntax}
% \cs{metricsymbols}\Star\oarg{highlighting}\Arg{symbols}
% \end{syntax}
% This macro typesets stand alone versions of the symbols, i.e. without
% syllables below (or above) of them. Use the starred version for smaller (in line) symbols
% and the normal version for bigger symbols. \meta{symbols} must be a list of
% abbreviations as explained in section~\ref{sec:syntax}; the abbreviations must be
% separated by one (or more) spaces.
% \end{function}
% \begin{example}
% The \emph{diphilius} can be shown with this code.
% \begin{verbatim}
% \metricsymbols{_ _uu _ _uu u_ | x _ u u _ x u_}
% \end{verbatim}
% \metricsymbols{_ _uu _ _uu u_ | x _ u u _ x u_}
% \end{example}
% \subsection{Metric symbols above (or below) syllables}
% \begin{function}[EXP]{\metrics}
% \begin{syntax}
% \cs{metrics}\oarg{highlighting}\Arg{symbols}\Arg{syllables}
% \end{syntax}
% This command can be used to align the symbols above (or below)
% syllables. The first argument works as in \cs{metricsymbols},
% the second argument \meta{syllables} takes the hyphenated verse.
% \end{function}
% \begin{example}
% \begin{verbatim}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
% \end{verbatim}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
% \end{example}
%
% \medskip\noindent
% You may use multiple spaces to align the abbreviations above the syllables but this is not mandatory and
% does not affect the output. But mind that the number of syllables equals the number of symbols. If you
% use the \metricsymbols*{oo} symbol you may omit the hyphen between the two syllables beloning to this
% symbol. You can merge multiple words by \emph{embracing} them.
% \begin{example}
% \begin{verbatim}
% \metrics{_ u u _ _ _ _ _ }
% {mol-ta quo-{que et} bel-lo pas-sus}
% \end{verbatim}
% \metrics{_ u u _ _ _ _ _ }
% {mol-ta quo-{que et} bel-lo pas-sus}
% \end{example}
%
% The macros \cs{metrics} and \cs{metricsymbols} can also be used to typeset
% single symbols or symbol syllable combinations.
% \begin{example}
% \begin{verbatim}
% The \metricsymbols*{_uu} shows an \emph{elementum biceps}.
% \end{verbatim}
% The \metricsymbols*{_uu} shows an \emph{elementum biceps}.
% \end{example}
%
% \subsection{Adding symbols for breaks}\label{sec:breaks}
% \changes{v1.1}{2014/07/02}{New section about breaks (see \ref{sec:breaks})}
% As seen in the examples above you can use pipes, i.e. +|+ or +||+, to mark breaks.
% In \cs{metrics} the markers must appear in \meta{symbols} and \meta{syllables}.
% \begin{example}
% \begin{verbatim}
% \metrics{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}
% \end{verbatim}
% \metrics{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}
% \end{example}
% If you want the breaks to be shown in the symbol line only you can use the
% shorter break which is represented by an apostrophe (shift\,\pluschar\,\#)
% or a comma. This mark must be used in \meta{symbols} only and is kind of special:
% \begin{itemize}
% \item It \emph{can't} be highlighted and thus doesn't count for the numbers used
% for highlights,
% \item it is ignored at the beginning and the end of \meta{symbols},
% \item in \cs{metricsymbols} it is treated like the pipe, and
% \item \TeX\ needs at least one additional run to get the right positions.
% \end{itemize}
% \begin{example}
% \begin{verbatim}
% \metrics{_ u u ' _ u u ' _ _ ' _ _ | _ u u | _ _ ||}
% {Ar-ma vi-rum-que ca-no Tro-iae qui | pri-mus ab | o-ris ||}
% \end{verbatim}
% \metrics{_ u u ' _ u u ' _ _ ' _ _ | _ u u | _ _ ||}
% {Ar-ma vi-rum-que ca-no Tro-iae qui | pri-mus ab | o-ris ||}
% \end{example}
% The difference between +'+ and +,+ is that the break defined with an apostrophe
% is vertically centred between the surrounding symbols while the break set with
% the comma is vertically centred between the corresponding syllables. They both
% align horizontally within the row of symbols.
% \begin{example}
% \begin{verbatim}
% \emph{apostrophe:}
% \metrics{_ _ ' _ }
% {au-ra-{r\bow{um e}st}} \qquad
% \emph{comma:}
% \metrics{_ _ , _ }
% {au-ra-{r\bow{um e}st}}
% \end{verbatim}
% \emph{apostrophe:}
% \metrics{_ _ ' _ }
% {au-ra-{r\bow{um e}st}} \qquad
% \emph{comma:}
% \metrics{_ _ , _ }
% {au-ra-{r\bow{um e}st}}
% \end{example}
%
% \subsection{Highlight certain symbols/syllabels}
% As you can see above \cs{metrics} and \cs{metricsymbols} got an optional argument taking
% some options to highlight a certain symbol/syllable. The \meta{highlighting} list must
% contain one or more comma separated pairs of \meta{numbers}+=+\meta{style}, where \meta{numbers}
% is the number of a symbol/syllable (e.g. +3+) or a list of numbers separated by plus signs
% (e.g. \verb.2+3+5.) in the list and \meta{style} is any \TikZ/ style (other \TikZ/ options may not
% work properly, so you maybe must create your own style, see section~\ref{faq:highlight}.)
%
% \medskip\noindent
% \metrix/ comes with several predefined highlighting styles:
% \DeleteShortVerb{\+}
% \begin{itemize}
% \item \textbf{\texttt{add arrow}}\\[2ex]
% \metrics[3+8={add arrow}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[2={add arrow}]{u u_uu x _ | u _ n ||}
%
% This style adds an arrow above the metric symbol. To change the arrow symbol, edit
% the \metrix/ variable \verb+arrow+.
%
% \item \textbf{\texttt{add text}=}\meta{text}\\[2ex]
% \metrics[3+8={add text=shout!}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[2={add text=whisper}]{u u_uu x _ | u _ n ||}
%
% This style takes a \emph{mandatory} argument to add some text above a symbol.
% To change the default font change the font of the \TikZ/ node style
% \verb|every metrix added text|.
%
% \item \textbf{\texttt{bold highlight}}\\[2ex]
% \metrics[2+5+9+13={bold highlight}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[2+3+5+7={bold highlight}]{u u_uu x _ | u _ n ||}
%
% \item \textbf{\texttt{colored highlight=}\meta{color}}\\[2ex]
% \metrics[2+5+9+13={colored highlight}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[2+3+5+7={colored highlight}]{u u_uu x _ | u _ n ||}
%
% This style has an \emph{optional} argument to change the highlighting color on the fly.
% To change the color in general change the value of the variable \verb.highlightcolor..
%
% \item \textbf{\texttt{dashed highlight}}\\[2ex]
% \metrics[2+5+9+13={dashed highlight}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[2+3+5+7={dashed highlight}]{u u_uu x _ | u _ n ||}
%
% \item \textbf{\texttt{filled highlight=}\meta{color}}\\[2ex]
% \metrics[2+5+9+13={filled highlight}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[2+3+5+7={filled highlight}]{u u_uu x _ | u _ n ||}
%
% This style has an \emph{optional} argument to change the filling color on the fly.
% To change the color in general change the value of the variable \verb.fillcolor..
%
% \item \textbf{\texttt{superscript=}\meta{text}}\\[2ex]
% \metrics[7={superscript=a},13={superscript=b}]{_ u u _ _ _ | _ _ u u _ ||}
% {flos ve-te-ris vi-ni | meis na-ri-bus ob ||}\hfill
% \metricsymbols[5={superscript=a},9={superscript=b}]{u u_uu x _ | u _ n ||}
%
% This style takes a \emph{mandatory} argument to add a superscript letter or a
% number to a symbol. It is designed to work with the break symbols, but works with others too.
% \end{itemize}
% \MakeShortVerb{\+}
%
% \medskip\noindent
% \textbf{Sytles with an agrument must be set in braces} (see the examples)\textbf{!}
% \begin{example}
% Higlight some syllables with color.
% \begin{verbatim}
% \metrics
% [
% 2=colored highlight,
% 4={colored highlight=orange},
% 5={colored highlight=blue},
% 7=colored highlight,
% 11=colored highlight
% ]
% {_ u u _ _ _ | _ _ u u _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob}
% \end{verbatim}
% \metrics
% [
% 2=colored highlight,
% 4={colored highlight=orange},
% 5={colored highlight=blue},
% 7=colored highlight,
% 11=colored highlight
% ]
% {_ u u _ _ _ | _ _ u u _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob}
% \end{example}
% \begin{example}
% The shorter version using the \verb.+. syntax.
% \begin{verbatim}
% \metrics[2+5+9=bold highlight]
% {_ u u _ _ _ | _ _ u u _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob}
% \end{verbatim}
% \DeleteShortVerb{\+}
% \metrics[2+5+9=bold highlight]
% {_ u u _ _ _ | _ _ u u _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob}
% \end{example}
% \begin{example}
% Mixing and combining styles is possible too.
% \begin{verbatim}
% \metricsymbols[1+4=bold highlight, 3=colored highlight]
% {u_uu x _ || u _ n ||} \\
% \metricsymbols[2={bold highlight,colored highlight}]
% {u_uu x _ || u _ n ||}
% \end{verbatim}
% \DeleteShortVerb{\+}
% \metricsymbols[1+4=bold highlight, 3=colored highlight]
% {u_uu x _ || u _ n ||}\\
% \metricsymbols[2={bold highlight,colored highlight}]
% {u_uu x _ || u _ n ||}
% \MakeShortVerb{\+}
% \end{example}
% \begin{example}
% Add some superscripts to the breaks.
% \begin{verbatim}
% \metricsymbols[6={superscript=5},10={colored highlight,superscript=bD}]
% {_ _uu _ _uu _ | _uu _ _uu || _ uu _ u_}
% \end{verbatim}
% \metricsymbols[6={superscript=5},10={colored highlight,superscript=bD}]
% {_ _uu _ _uu _ | _uu _ _uu || _ uu _ u_}
% \end{example}
%
% \section{Accents and bows}
% \begin{function}[EXP]{\brv,\lng,\acct}
% \begin{syntax}
% \cs{brv}\Arg{vowel}\qquad\cs{lng}\Arg{vowel}\qquad\cs{acct}\Arg{vowel}
% \end{syntax}
% The first commands offer an alternative to the standard accent macros +\u+ and +\=+. The difference
% is that \cs{brv} centers the accent above the vowel or diphthong and \cs{lng} stretches the bar across
% the whole vowel or diphthong. \cs{acct} adds an accent dot below a vowel or dipthtong.\footnotemark
% \end{function}
% \footnotetext{Actually you can use any vowel, diphtong, syllable or word as \meta{vowel},
% it makes no difference as long as it is text.}
% \begin{example}
% Add accents to all vowels.
% \begin{verbatim}
% \brv{a}m\acct{\lng{i}}c\brv{u}s pr\acct{\brv{o}}f\brv{u}g\brv{u}s
% \end{verbatim}
% \brv{a}m\acct{\lng{i}}c\brv{u}s pr\acct{\brv{o}}f\brv{u}g\brv{u}s
% \end{example}
%
% \metrix/ also tries to do some kind of italic correction, and shifts the accents a little to the
% right when an italic or slanted font is used.
% \par\large\medskip
% \brv{u}\enskip\textit{\brv{u}}\enskip\textsl{\brv{u}}\qquad
% \brv{i}\enskip\textit{\brv{i}}\enskip\textsl{\brv{i}}\qquad
% \brv{ae}\enskip\textit{\brv{ae}}\enskip\textsl{\brv{ae}}\hfill
% {\sffamily
% \brv{u}\enskip\textit{\brv{u}}\enskip\textsl{\brv{u}}\qquad
% \brv{i}\enskip\textit{\brv{i}}\enskip\textsl{\brv{i}}\qquad
% \brv{ae}\enskip\textit{\brv{ae}}\enskip\textsl{\brv{ae}}\hfill\mbox{}}
% \par\medskip
% \lng{u}\enskip\textit{\lng{u}}\enskip\textsl{\lng{u}}\qquad
% \lng{i}\enskip\textit{\lng{i}}\enskip\textsl{\lng{i}}\qquad
% \lng{ae}\enskip\textit{\lng{ae}}\enskip\textsl{\lng{ae}}\hfill
% {\sffamily
% \lng{u}\enskip\textit{\lng{u}}\enskip\textsl{\lng{u}}\qquad
% \lng{i}\enskip\textit{\lng{i}}\enskip\textsl{\lng{i}}\qquad
% \lng{ae}\enskip\textit{\lng{ae}}\enskip\textsl{\lng{ae}}\hfill\mbox{}}
% \par\medskip
% \acct{u}\enskip\textit{\acct{u}}\enskip\textsl{\acct{u}}\qquad
% \acct{i}\enskip\textit{\acct{i}}\enskip\textsl{\acct{i}}\qquad
% \acct{ae}\enskip\textit{\acct{ae}}\enskip\textsl{\acct{ae}}\hfill
% {\sffamily
% \acct{u}\enskip\textit{\acct{u}}\enskip\textsl{\acct{u}}\qquad
% \acct{i}\enskip\textit{\acct{i}}\enskip\textsl{\acct{i}}\qquad
% \acct{ae}\enskip\textit{\acct{ae}}\enskip\textsl{\acct{ae}}\hfill\mbox{}}
% \par\normalsize
%
% \subsubsection*{Fine Tuning}
% To make some fine tuning for a certain accent possible the three macros actually got
% some additional, \emph{optional} arguments:
% {\par\medskip\noindent\ttfamily
% \cs{brv}+(+\meta{coordinate}+)+\Arg{vowel}\\
% \cs{lng}+(+\meta{coordinate}+)+\oarg{left length}\Arg{vowel}\oarg{right length}\\
% \cs{acct}+(+\meta{coordinate}+)+\Arg{vowel}\par}
%
% \medskip
% Where \meta{coordinate} must be a valid \TikZ/ coordinate and can be used to move
% the accent. In addition to that the accent produced by \cs{lng} can be extended
% with \meta{left/right length} by a certain amount.
%
% \begin{example}
% Prevent collision between accent and descender of an \textit{f}.
% \begin{verbatim}
% \itshape somn\acct(-0.05em,-0.45ex){i}fero
% \end{verbatim}
% \itshape somn\acct(-0.05em,-0.45ex){i}fero
% \end{example}
%
% \begin{function}[EXP]{\bow}
% \begin{syntax}
% \cs{bow}\Arg{syllables}
% \end{syntax}
% \cs{bow} can be used to show the contraction of two vowels or syllables.
% \end{function}
% \begin{example}
% \begin{verbatim}
% mult\bow{um i}lle or d\bow{ei}nde
% \end{verbatim}
% mult\bow{um i}lle or d\bow{ei}nde
% \end{example}
%
% \subsubsection*{Fine Tuning}
% To make some fine tuning for a certain bow possible the macro actually has
% some additional, \emph{optional} arguments:
% {\par\medskip\noindent\ttfamily
% \cs{bow}+(+\meta{coordinate}+)+\oarg{left length}\Arg{syllable}\oarg{right length}\par}
%
% \medskip
% Where \meta{left/right length} can be used to shorten the bow by a certain amount.
%
% \begin{example}
% Prevent collision between accent and bow.
% \begin{verbatim}
% c\acct{oe}-l\bow{um \acct{e}}[2pt]st
% \end{verbatim}
% c\acct{oe}-l\bow{um \acct{e}}[2pt]st
% \end{example}
%
% \section{Environments}
% \begin{function}{symbolline}
% This environment can be used to display a line of stand alone symbols.
% \end{function}
% \begin{example}
% \begin{verbatim}
% Text text text ...
% \begin{symbolline}
% \metricsymbols{oo e _ u u _ e u _ e u _ u_}
% \end{symbolline}
% Text text text ...
% \end{verbatim}
% Text text text ...
% \begin{symbolline}
% \metricsymbols{oo e _ u u _ e u _ e u _ u_}
% \end{symbolline}
% Text text text ...
% \end{example}
% \begin{function}{metricverses}
% \begin{syntax}
% +\begin{metricverses}+\oarg{source}
% \meta{content optional \cs{verseref}\Arg{reference}}
% +\end{metricverses}+
% \end{syntax}
% Use this environment to display a verse with metric symbols, separate
% multiple verses by a blank line.
% \end{function}
% \begin{example}
% \begin{verbatim}
% Text text text ...
% \begin{metricverses}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
%
% \metrics{_ u u _ u u _ | _ _ u u
% _ u u _ }
% {ei-us a-mor cu-pi-dam | {m\bow{e h}uc} pro-li-cit
% per te-ne-bras}
% \end{metricverses}
% Text text text ...
% \end{verbatim}
% Text text text ...
% \begin{metricverses}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
%
% \metrics{_ u u _ u u _ | _ _ u u
% _ u u _ }
% {ei-us a-mor cu-pi-dam | {m\bow{e h}uc} pro-li-cit
% per te-ne-bras}
% \end{metricverses}
% Text text text ...
% \end{example}
% \begin{function}{\verseref}
% \begin{syntax}
% \cs{verseref}\Arg{reference}
% \end{syntax}
% Inside of +{metricverses}+ you may use \cs{verseref} to print a reference.
% \end{function}
% \begin{example}
% \begin{verbatim}
% Text text text ...
% \begin{metricverses}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
% \verseref{Plaut. \emph{Curc.} 96f}
%
% \metrics{_ u u _ u u _ | _ _ u u
% _ u u _ }
% {ei-us a-mor cu-pi-dam | {m\bow{e h}uc} pro-li-cit
% per te-ne-bras}
% \end{metricverses}
% Text text text ...
% \end{verbatim}
% Text text text ...
% \begin{metricverses}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
% \verseref{Plaut. \emph{Curc.} 96f}
%
% \metrics{_ u u _ u u _ | _ _ u u _ u u _ }
% {ei-us a-mor cu-pi-dam | {m\bow{e h}uc} pro-li-cit per te-ne-bras}
% \end{metricverses}
% Text text text ...
% \end{example}
%
% \section{FAQs}\label{sec:faq}
% \subsection{How can I display the symbols below the syllables?}
% Change the variable +symbolshift+ to a negative value.
% \begin{example}
% \begin{verbatim}
% \setmetrixvar{symbolshift}{-0.6em}
% % later ...
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
% \end{verbatim}
% \setmetrixvar{symbolshift}{-0.6em}
% \metrics{_ u u _ _ _ | _ _ u u _ _ _ }
% {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}
% \end{example}
% \subsection{How can I combine two words below one symbol?}
% Use braces +{}+ in the lists to keep them processed as one element.
% \begin{example}
% \begin{verbatim}
% \metrics{u u _ | _ _ u u }
% {cu-pi-dam | {m\bow{e h}uc} pro-li-cit }
% \end{verbatim}
% \metrics{u u _ | _ _ u u }
% {cu-pi-dam | {m\bow{e h}uc} pro-li-cit }
% \end{example}
% \subsection{How can I show a hyphen character?}\label{faq:hyphen}
% To escape a hyphen +-+ put it inside braces, but you must still
% add an unbraced hypen to show \metrix/ where your syllables split.
% \begin{example}
% If you enclose the hyphen in braces together with a syllable, the symbol gets
% centered above both.
% \begin{verbatim}
% \metrics{_ _ }
% {vi-{-ni}}
% \end{verbatim}
% \metrics{_ _ }
% {vi-{-ni}}
% \par\smallskip\noindent
% You can enclose only the hyphen in braces and treat it as a syllable
% but then you must add an empty symbol +e+ too.
% \begin{verbatim}
% \metrics{_ e _ }
% {vi-{-}-ni}
% \end{verbatim}
% \metrics{_ e _ }
% {vi-{-}-ni}
% \end{example}
% \subsection{How can I use quotes in \cs{metrics}?}\label{faq:quotes}
% It should be possible to use all shorthands (or direct input with Unicode) etc.
% for quotation marks except the active
% quotes of \pkg{csquotes}, which won't work inside the \cs{metrics} syllable list. It
% is possible to use \pkg{csquotes} besides \metrix/ though.
% \begin{example}
% \begin{verbatim}
% \metrics{ _ u }{ ``si me'' }
% \metrics{ _ u }{ \glqq si me\grqq }% with \usepackage[<lang>]{babel}
% \metrics{ _ u }{ "`si me"' }% with \usepackage[ngerman]{babel}
% \end{verbatim}
% \metrics{ _ u }{ ``si me'' }\quad
% \metrics{ _ u }{ \glqq si me\grqq }\quad
% \metrics{ _ u }{ \glqq si me\grqq }
% \end{example}
% \subsection{How can I add a superscript letter to a certain symbol?}
% Use the +superscript+ highlighting style as described above.
% \subsection{How can I make subscripts instead of superscripts?}
% The easiest way is to use the +superscript+ style and change a part of
% its definition to shift the superscripts to subscript positions.
% \begin{example}
% \begin{verbatim}
% \metricsymbols[2={superscript=x}]{ u || u } \qquad vs. \qquad
% % ...
% \tikzset{
% every superscript picture/.style={
% baseline=1ex,
% },
% }
% % ...
% \metricsymbols[2={superscript=x}]{ u || u }
% \end{verbatim}
% \metricsymbols[2={superscript=x}]{ u || u } \qquad vs. \qquad
% \tikzset{
% every superscript picture/.style={
% baseline=2ex,
% },
% }
% \metricsymbols[2={superscript=x}]{ u || u }
%
% \medskip\noindent
% Normally the +\tikzset+ should be part of your preamble, I used it this way to
% show the differences.
% \end{example}
% \subsection{How can I highlight all symbols/syllables?}
% \textbf{Way 1}\qquad Just call your desired highlighting style before using on of the macros
% \cs{metrics} or \cs{metricsymbols}. You may enclose this in a group to not affect the other following
% sequences. Mind that the higlighting styles must be in a way changing the +every ...+ styles
% to make this way work.
% \begin{example}
% \begin{verbatim}
% {% begin group
% \tikzset{colored highlight}
% \metrics{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% }% end group
% \end{verbatim}
% \tikzset{colored highlight}
% \metrics{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{example}
% \par\medskip\noindent
% \textbf{Way 2}\qquad Change the +every metrix ...+ styles.
% \begin{example}
% \begin{verbatim}
% {% begin group
% \tikzset{every metrix symbol/.append style={red}}
% \metrics{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% }% end group
% \end{verbatim}
% \tikzset{every metrix symbol/.append style={red}}
% \metrics{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{example}
% Leave out the grouping (and put this to your preamble) if yout want to highlight
% the symbols in your whole document.
% \subsection{How can I change the size of a symbol?}
% Change the two base vector units.\pagebreak
% \begin{example}
% \begin{verbatim}
% \setmetrixvar{baseunit}{1em}
% \setmetrixvar{bigbaseunit}{1.6em}
% \end{verbatim}
% \end{example}
% If you want to change the size of a single symbol to highlight it you must
% create your own highlighting style.
% \begin{example}
% \begin{verbatim}
% \tikzset{
% bigger highlight/.style={
% every metrix symbol/.append style={x=2.5em,y=2.5em,line width=1.5pt},
% },
% }
% % later
% \metricsymbols[2=bigger highlight]{u_uu x _ || u _ n x}
% \end{verbatim}
% \tikzset{
% bigger highlight/.style={
% every metrix symbol/.append style={x=2.5em,y=2.5em,line width=1.5pt},
% },
% }
% \metricsymbols[2=bigger highlight]{u_uu x _ || u _ n x}
% \end{example}
% \subsection{How can I stop highlighting the syllables too?}\label{faq:highlight}
% \textbf{Way 1}\qquad Change the highlight styles (in your preamble).
% \begin{example}
% \begin{verbatim}
% \tikzset{
% colored highlight/.style={
% every metrix symbol/.append style={
% draw=\usemetrixvar{highlightcolor},
% },
% },
% }
% % later ...
% \metrics[3=colored highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{verbatim}
% {\tikzset{
% colored highlight/.style={
% every metrix symbol/.append style={draw=\usemetrixvar{highlightcolor}},
% }
% }
% \metrics[3=colored highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}}
% \end{example}
% \par\medskip\noindent
% \textbf{Way 2}\qquad Create your own highlighting style, which is very similar
% to way 1, as the following example shows. Every own style should change the apperance
% by appending the settings to one of the +every ...+ styles.
% \begin{example}
% \begin{verbatim}
% \tikzset{
% my highlight/.style={
% every metrix symbol/.append style={draw=blue,line width=0.07em},
% }
% }
% \metrics[5=my highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{verbatim}
% \tikzset{
% my highlight/.style={
% every metrix symbol/.append style={draw=blue,line width=0.1em},
% }
% }
% \metrics[5=my highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{example}
% \subsection{Why got the highlight styles that long names?}
% To prevent conflict with other packages.
% \begin{example}
% If you want to shorten it create your own style as described above or use
% \begin{verbatim}
% \tikzset{
% hl/.style={colored highlight}
% }
% \end{verbatim}
% to map the style to a shorter name. Then you can use it like in
% \begin{verbatim}
% \metricsymbols[2=hl]{u _ _ u}
% \end{verbatim}
% \end{example}
% \subsection{How can I change the font of all syllables?}
% Extend the +every metrix syllable node+ style
% \begin{example}
% Print all syllables in italic with the following extension.
% \begin{verbatim}
% \tikzset{
% every metrix syllable node/.append sytle={font=\itshape},
% }
% \end{verbatim}
% \end{example}
%
% \section{Customization}
% Some hints were already given in the FAQ section (see section~\ref{sec:faq}) but here I will
% list all variables and \TikZ/ styles that are in use and can be changed to customize
% \metrix/ easily.
% \subsection{Variables}
% \begin{function}{\setmetrixvar,\usemetrixvar}
% To customize the rendering of the symbols, accents and bow \metrix/ has some variables
% that you can change.
% \begin{syntax}
% \cs{setmetrixvar}\Arg{variable}\Arg{value}
% \end{syntax}
% Use \cs{setmetrixvar} to change a value. The variables and the default values are listed
% in table~\ref{tab:variables}. To access a value you can use \cs{usemetrixvar}\Arg{variable}.
% \end{function}
% It is highly recommended to use font size depending units, i.e. +em+ or +ex+, for all lengthen
% to keep the symbols usable in different font sizes, for example in headlines or footnotes.
% \begin{example}
% Change the highlighting color to blue.
% \begin{verbatim}
% \setmetrixvar{higlightcolor}{blue}
% % later
% \metrics[5=colored highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{verbatim}
% \setmetrixvar{highlightcolor}{blue}
% \metrics[5=colored highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{example}
% \begin{example}
% Create your own highlighting style but use the default highlighting color.
% \begin{verbatim}
% \tikzset{
% my highlight/.style={
% every metrix symbol/.append style={
% draw=\usemetrixvar{highlightcolor},
% line width=0.15em
% },
% },
% }
% \metrics[5=my highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{verbatim}
% \tikzset{
% my highlight/.style={
% every metrix symbol/.append style={
% draw=\usemetrixvar{highlightcolor},
% line width=0.15em
% },
% },
% }
% \metrics[5=my highlight]{_ u u _ _ _ }
% {flos ve-te-ris vi-ni}
% \end{example}
% \begin{longtabu}to \textwidth {ll>{\strut}X}
% \caption{Variables\label{tab:variables}}\\
% \toprule
% \rowfont{\bfseries\sffamily} variable & default & explanation \\
% \midrule
% \endfirsthead
% \caption{Variables (cont.)}\\
% \toprule
% \rowfont{\bfseries\sffamily} variable & default & explanation \\
% \midrule
% \endhead
% \multicolumn{3}{r}{\dots}
% \endfoot
% \bottomrule
% \endlastfoot
% +symbollinewidth+ & +0.04em+ & line width of symbols above syllables and small stand alone symbols \\
% +bigsymbollinewidth+ & +0.06em+ & line width of big stand alone symbols \\
% +accentlinewidth+ & +0.03em+ & line width of accents (\cs{lng} and \cs{brv}) \\
% +bowlinewidth+ & +0.03em+ & line width of bows (\cs{bow}) \\
% +symbolsep+ & +0.4em+ & gap between symbols in stand alone lists \\
% +baseunit+ & +0.9em+ & length of the base vector for drawing symbols above
% syllables, small stand alone symbols, accents and bows\\
% +bigbaseunit+ & +1.4em+ & length of the base vector for drawing stand alone symbols \\
% +shortsyllablelimit+ & +0.8em+ & all syllables shorter than this can be treated specially, e.g.
% they'll get a shorter elementum longum. \\
% +gap+ & +0.09em+ & small gap between lines of the symbols, e.g. the distance between the
% two lines of a verse break \\
% +symbolshift+ & +1.1em+ & leght to shift the symbols above or below the syllables
% (try +-0.6em+ to display the symbols below the base line) \\
% +lngshift+ & +0.8em+ & length to shift the longa accent \\
% +lngshortening+ & +0.075em+ & length to shorten the longa accent a little \\
% +lngminlength+ & +0.25em+ & minimum width of a longa accent \\
% +brvshift+ & +0.9em+ & length to shift the brevis accent \\
% +dotshift+ & +-0.15em+ & length to shift the dot accent \\
% +itcorrection+ & +0.11em+ & length to shift the accents above italic/slanted letters \\
% +accentxshift+ & +-0.025em+ & length to shift the accents horizontally \\
% +bowshift+ & +-0.15em+ & length to shift the bow below the base line \\
% +bowshortening+ & +0.15em+ & length to shrink the bow a little \\
% +bowlooseness+ & +0.75+ & value to influence the bending of the bow \\
% +symbolcolor+ & +.+ (curr. color) & color of metric symbols \\
% +accentcolor+ & +.+ (curr. color) & color of accents (\cs{lng} and \cs{brv}) \\
% +bowcolor+ & +.+ (curr. color) & color of bows (\cs{bow}) \\
% +highlightcolor+ & +red+ & color of highlighted symbols and syllabels
% used in +colored highlight+ style \\
% +fillcolor+ & +yellow+ & color of filled symbol +node+s
% used in +filled highlight+ style \\
% +arrow+ & +\$+\cs{downarrow}+\$+ & arrow for highlighting \\
% +breakgap+ & +0.6em+ & gap before and after a (verse) break \\
% +emptywidth+ & +1em+ & gap replacing an empty symbol (abbreviation +e+) \\
% +acute+ & +\string\textasciiacute+ & acute accent character/symbol \\
% +grave+ & +\string\textasciigrave+ & grave accent character/symbol \\
% \end{longtabu}
%
% \subsection{\TikZ/ styles}\label{sec:styles}
% Beside the variables you may change the \TikZ/ styles used by \metrix/. But please mind