From d02c785c8d756ed17c94b31ed7c85716b6751f7d Mon Sep 17 00:00:00 2001
From: mirabilos <m@mirbsd.org>
Date: Fri, 17 Aug 2018 05:19:21 +0200
Subject: [PATCH] =?UTF-8?q?properly=20spaced=20and=20scaled=20=E2=9A=A0;?=
 =?UTF-8?q?=20retire=20\Warning=20for=20it?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

% test file

\documentclass{article}%

\usepackage[utf8]{inputenc}%
\usepackage[LY1,TS1,T1]{fontenc}%
\usepackage[varqu,varl]{inconsolata}%	for table example
\usepackage{unicodepoints}%
\usepackage[a4paper,top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}%

\setlength{\parskip}{0.3cm plus 5mm minus 1mm}%
\setlength{\parindent}{0cm}%

\begin{document}

âš  Default size mâš m

{\tiny âš  size tiny}

{\scriptsize âš  size scriptsize}

{\footnotesize âš  size footnotesize}

{\small âš  size small}

{\normalsize âš  size normalsize}

{\large âš  size large}

{\Large âš  size Large}

{\LARGE âš  size LARGE}

{\huge âš  size huge}

{\Huge âš  size Huge}

{\sffamily%
âš  sans Default size

{\tiny âš  size tiny}

{\scriptsize âš  size scriptsize}

{\footnotesize âš  size footnotesize}

{\small âš  size small}

{\normalsize âš  size normalsize}

{\large âš  size large}

{\Large âš  size Large}

{\LARGE âš  size LARGE}

{\huge âš  size huge}

{\Huge âš  size Huge}
}

EOF

\end{document}
---
 unicodepoints.sty | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/unicodepoints.sty b/unicodepoints.sty
index 8db6426..2b78365 100644
--- a/unicodepoints.sty
+++ b/unicodepoints.sty
@@ -37,7 +37,7 @@
 % \usepackage[utf8]{inputenc}%
 
 \NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{unicodepoints}[2018/08/05 2.2 Unicode codepoints]%
+\ProvidesPackage{unicodepoints}[2018/08/16 2.3 Unicode codepoints]%
 \makeatletter%
 
 \ifx\UTFviii@defined\@undefined%
@@ -94,10 +94,16 @@
 }%
 
 % Render command for âš  (U+26A0)
-\DeclareRobustCommand\Warning{%
- \makebox[1.4em][c]{%
-  \makebox[0pt][c]{\raisebox{.2em}{\footnotesize!}}%
-  \makebox[0pt][c]{\color{red}\huge$\bigtriangleup$}%
+\DeclareRobustCommand\unicodepoints@warn{%
+ \resizebox{!}{\fontcharht\font`A}{%
+  \fontencoding{OMS}\fontfamily{cmsy}\fontseries{m}\fontshape{n}\fontsize{20.74}{25}\selectfont%
+  \makebox[\fontcharwd\font"34][c]{%
+   \makebox[0pt][c]{\color{red}\symbol{"34}}%
+   \makebox[0pt][c]{\raisebox{2pt}{%
+    \fontencoding{T1}\fontfamily{cmr}\fontsize{11}{13}\selectfont%
+    !%
+   }}%
+  }%
  }%
 }%
 
@@ -1686,7 +1692,7 @@
 \newunicodechar{♲}{\Recycling}%
 \newunicodechar{♿}{\Wheelchair}%
 \newunicodechar{âš’}{\MineSign}%
-\newunicodechar{âš }{\Warning}%
+\newunicodechar{âš }{\unicodepoints@warn}%
 \newunicodechar{⚢}{\FemaleFemale}%
 \newunicodechar{⚣}{\MaleMale}%
 \newunicodechar{⚤}{\FemaleMale}%
-- 
GitLab