diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-24 03:01:03 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-24 03:01:03 +0000 |
commit | 30e494c68ef358eeb09d53920dd0658dc9238f51 (patch) | |
tree | 6126efb698a9eece711552040e1057a38a1d9554 /graphics/pgf/contrib/scrabble | |
parent | 208ecf90e1d5a239ff2a8cd506c077d194d348c0 (diff) |
CTAN sync 202401240301
Diffstat (limited to 'graphics/pgf/contrib/scrabble')
-rw-r--r-- | graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.pdf | bin | 540950 -> 558131 bytes | |||
-rw-r--r-- | graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.tex | 28 | ||||
-rw-r--r-- | graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.pdf | bin | 582871 -> 593634 bytes | |||
-rw-r--r-- | graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.tex | 28 | ||||
-rw-r--r-- | graphics/pgf/contrib/scrabble/tex/Scrabble.sty | 230 |
5 files changed, 272 insertions, 14 deletions
diff --git a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.pdf b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.pdf Binary files differindex cf1cabf2cc..38bb624bde 100644 --- a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.pdf +++ b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.pdf diff --git a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.tex b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.tex index eb6f8d5eaa..e854e66201 100644 --- a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.tex +++ b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-en.tex @@ -46,8 +46,8 @@ \setlength{\parindent}{0pt} \definecolor{LightGray}{gray}{0.9} -\def\TPversion{0.1.4} -\def\TPdate{03/12/2023} +\def\TPversion{0.1.5} +\def\TPdate{23/01/2024} \usepackage[most]{tcolorbox} \tcbuselibrary{minted} @@ -354,8 +354,32 @@ Online Scrabble word test positioning \ScrabbleWord{TE*ST} to see ! \newpage +\subsection{Special letters} + +It is possible to use special characters, for the languages \textsf{<DE>} and \textsf{<ES>}, but for compatibility reasons, special characters are \textit{coded} by numbers : + +\begin{itemize} + \item \texttt{0} code the letter \fbox{\"A} with 6 points ; + \item \texttt{1} code the letter \fbox{\"O} with 8 points ; + \item \texttt{4} code the letter \fbox{\"U} with 6 points ; + \item \texttt{6} code the \textit{letter} \fbox{CH} with 5 points ; + \item \texttt{7} code the letter \fbox{\~{N}} with 8 points ; + \item \texttt{8} code the \textit{letter} \fbox{RR} with 8 points ; + \item \texttt{9} code the \textit{letter} \fbox{LL} with 8 points. +\end{itemize} + +\begin{PresentationCode}{} +{\Huge \ScrabbleWord[Lang=DE,Font=\ttfamily,Scale=0.75]{104AAA}} + +{\Huge \ScrabbleWord[Lang=ES,Font=\sffamily,Scale=0.75]{RO7OSO}} +\end{PresentationCode} + +\newpage + \part*{History} +\verb|v0.1.5|~:~~~~Special letters for \textsf{<DE>} and \textsf{<ES>} + \verb|v0.1.4|~:~~~~Command to insert \textit{inline} words \verb|v0.1.3|~:~~~~Words in uppercase or lowercase, adjusted codes for language (ISO 639-1) diff --git a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.pdf b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.pdf Binary files differindex 659b47854a..654ead73cf 100644 --- a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.pdf +++ b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.pdf diff --git a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.tex b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.tex index 560ad35342..44d5f171e4 100644 --- a/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.tex +++ b/graphics/pgf/contrib/scrabble/doc/Scrabble-doc-fr.tex @@ -48,8 +48,8 @@ \setlength{\parindent}{0pt} \definecolor{LightGray}{gray}{0.9} -\def\TPversion{0.1.4} -\def\TPdate{3 décembre 2023} +\def\TPversion{0.1.5} +\def\TPdate{23 janvier 2024} \usepackage[most]{tcolorbox} \tcbuselibrary{minted} @@ -384,8 +384,32 @@ Le package ayant potentiellement une portée \textit{internationale}, les comman \newpage +\subsection{Lettres spéciales} + +Il est possible d'utiliser des jetons spéciaux, pour les langues \textsf{<DE>} et \textsf{<ES>}, mais pour des raisons de compatibilité, les caractères spéciaux sont \textit{codés} par des chiffres : + +\begin{itemize} + \item \texttt{0} code la lettre \fbox{\"A} avec le score 6 ; + \item \texttt{1} code la lettre \fbox{\"O} avec le score 8 ; + \item \texttt{4} code la lettre \fbox{\"U} avec le score 6 ; + \item \texttt{6} code la \textit{lettre} \fbox{CH} avec le score 5 ; + \item \texttt{7} code la \textit{lettre} \fbox{\~{N}} avec le score 8 ; + \item \texttt{8} code la \textit{lettre} \fbox{RR} avec le score 8 ; + \item \texttt{9} code la \textit{lettre} \fbox{LL} avec le score 8. +\end{itemize} + +\begin{PresentationCode}{} +{\Huge \MotScrabble[Langue=DE,Police=\ttfamily,Echelle=0.75]{104AAA}} + +{\Huge \MotScrabble[Langue=ES,Police=\sffamily,Echelle=0.75]{RO7OSO}} +\end{PresentationCode} + +\newpage + \part*{Historique} +\verb|v0.1.5|~:~~~~Ajout de lettres spéciales pour \textsf{<DE>} et \textsf{<ES>} + \verb|v0.1.4|~:~~~~Ajout d'une commande pour placer en \textit{mot} en mode \og en ligne \fg \verb|v0.1.3|~:~~~~Meilleure gestion de la saisie des mots (sans virgule, majuscule ou minuscule) diff --git a/graphics/pgf/contrib/scrabble/tex/Scrabble.sty b/graphics/pgf/contrib/scrabble/tex/Scrabble.sty index 0d610ea117..59a43cee2f 100644 --- a/graphics/pgf/contrib/scrabble/tex/Scrabble.sty +++ b/graphics/pgf/contrib/scrabble/tex/Scrabble.sty @@ -4,7 +4,8 @@ % Inspiration : Mark Wibrow in https://tex.stackexchange.com/questions/194780/tikz-drawing-a-rectangle-with-spikes-on-borders \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{Scrabble}[2023/12/03 0.1.4 Scrabble] +\ProvidesPackage{Scrabble}[2024/01/23 0.1.5 Scrabble] +% 0.1.5 Ajout de lettres spéciales en Allemand et en Espagnol % 0.1.4 Ajout d'un mode inline % 0.1.3 Refonte des commandes fr/en + gestion mot % 0.1.2 Clé <EchelleLabels> pour les labels des cases @@ -23,15 +24,22 @@ \usetikzlibrary{calc,shapes.geometric} %score par lettre, codes pays par ISO 639-1 -\def\AlphabetMajuscule{ABCDEFGHIJKLMNOPQRSTUVWXYZ} -\def\AlphabetMinuscule{abcdefghijklmnopqrstuvwxyz} -\def\PointsScrabbleFR{1,3,3,2,1,4,2,4,1,8,10,1,1,1,1,3,8,1,1,1,1,4,10,10,10,10} +%1=Ä (DE:=6) +%0=Ö (DE:=8) +%4=Ü (DE:=8) +%6=CH (SP:=5) +%7=Ñ (SP:=8) +%8=RR (SP:=8) +%9=LL (SP:=8) +\def\AlphabetMajuscule{ABCDEFGHIJKLMNOPQRSTUVWXYZ1046789} +\def\AlphabetMinuscule{abcdefghijklmnopqrstuvwxyz1046789} +\def\PointsScrabbleFR{1,3,3,2,1,4,2,4,1,8,10,1,1,1,1,3,8,1,1,1,1,4,10,10,10,10, , , , , , , } \readlist*{\PtsScrbFR}{\PointsScrabbleFR} -\def\PointsScrabbleEN{1,3,3,2,1,4,2,4,1,8,5,1,3,1,1,3,10,1,1,1,1,4,4,8,4,10} +\def\PointsScrabbleEN{1,3,3,2,1,4,2,4,1,8,5,1,3,1,1,3,10,1,1,1,1,4,4,8,4,10, , , , , , , } \readlist*{\PtsScrbEN}{\PointsScrabbleEN} -\def\PointsScrabbleDE{1,3,4,1,1,2,2,2,2,1,6,4,2,3,2,4,10,1,1,1,1,6,3,8,10,3} +\def\PointsScrabbleDE{1,3,4,1,1,2,2,2,2,1,6,4,2,3,2,4,10,1,1,1,1,6,3,8,10,3,6,8,6, , , , } \readlist*{\PtsScrbDE}{\PointsScrabbleDE} -\def\PointsScrabbleES{1,3,3,2,1,4,2,4,1,8, ,1,3,1,1,3,5,1,1,1,1,4, ,8,4,10} +\def\PointsScrabbleES{1,3,3,2,1,4,2,4,1,8, ,1,3,1,1,3,5,1,1,1,1,4, ,8,4,10, , , ,5,8,8,8} \readlist*{\PtsScrbES}{\PointsScrabbleES} \newcommand\scrabblescorelettre[2][EN]{%avec gestion du Joker par * @@ -101,8 +109,48 @@ code={ \IfStrEq{#1}{*}{\node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {};}% {% - \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\expandafter\MakeUppercase\expandafter{#1}};% - \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + \IfInteger{#1}% + {% + \IfEq{#1}{1}%c'est Ä + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\"A};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + \IfEq{#1}{0}%c'est Ö + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\"O};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + \IfEq{#1}{4}%c'est Ü + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\"U};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + \IfEq{#1}{6}%c'est CH + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\scalebox{0.5}[1]{CH}};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + \IfEq{#1}{7}%c'est Ñ + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\~{N}};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + \IfEq{#1}{8}%c'est RR + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\scalebox{0.5}[1]{RR}};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + \IfEq{#1}{9}%c'est LL + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\scalebox{0.5}[1]{LL}};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }{}% + }% + {% + \node[fill=yellow!40,minimum size=0.9 cm,rounded corners=\fpeval{\PLSCRBBLEechelle*0.15} cm,font=\Large\sffamily\bfseries] (JETON) {\expandafter\MakeUppercase\expandafter{#1}};% + \node[inner sep=2pt,font=\sffamily\scriptsize,anchor=south east] at (JETON.south east) { \scrabblescorelettre[\PLSCRBBLElangue]{#1} };% + }% }% } }, @@ -351,6 +399,87 @@ {% {\tikz \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) ;}% }% + {}% + \IfInteger{\ll}% + {% + \IfEq{\ll}{1}%c'est Ä + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\"A}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{0}%c'est Ö + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\"O}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{4}%c'est Ü + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\"U}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{6}%c'est CH + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{0.5}[1]{CH}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{7}%c'est Ñ + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\~{N}}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{8}%c'est RR + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{0.5}[1]{RR}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{9}%c'est LL + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{0.5}[1]{LL}};% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + }% {% {\tikz {% \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\expandafter\MakeUppercase\expandafter{\ll}};% @@ -398,10 +527,91 @@ {% {\tikz \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) ;}% }% + {}% + \IfInteger{\ll}% + {% + \IfEq{\ll}{1}%c'est Ä + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\"A}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{0}%c'est Ö + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\"O}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{4}%c'est Ü + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\"U}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{6}%c'est CH + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{0.5}[1]{CH}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{7}%c'est Ñ + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{1}[0.85]{\~{N}}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{8}%c'est RR + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{0.5}[1]{RR}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + \IfEq{\ll}{9}%c'est LL + {% + {\tikz {% + \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\scalebox{0.5}[1]{LL}};% + \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} + {}% + }% + }% + }% + {}% + }% {% {\tikz {% \filldraw[\ScrWordInlColFond,rounded corners={0.15\tmp@scrabword@total@height}] (0,0) rectangle++ ({0.9\tmp@scrabword@total@height},{0.9\tmp@scrabword@total@height}) node[inner sep=0pt,midway,font=\ScrWordInlFonte,scale=\ScrWordInlScale,text=\ScrWordInlColFonte] {\expandafter\MakeUppercase\expandafter{\ll}};% - \ifboolKV[SCRABBLEWORDINLINEEN]{Score}% + \ifboolKV[SCRABBLEWORDINLINEFR]{Score}% {\draw ({0.9\tmp@scrabword@total@height},0) node[inner sep=0pt,above left={0.075\tmp@scrabword@total@height},font=\ScrWordInlFonte,scale={0.25*\ScrWordInlScale},text=\ScrWordInlColFonte] { \scrabblescorelettre[\ScrWordInlLang]{\ll} } ;} {}% }% |