Added some unicode chars, fixed older ones so that they do not cause weird conflicts.

This commit is contained in:
Georges Dupéron 2017-05-16 15:35:46 +02:00
parent 2a5653e5c5
commit ee1fc8459f

View File

@ -33,23 +33,17 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
%\ProvidesPackage{unicode-chars}[2013/10/08] %\ProvidesPackage{unicode-chars}[2013/10/08]
%\DeclareUnicodeCharacter{00A0}{~}% \DeclareUnicodeCharacter{00A0}{~}% " " (nbsp)
%\DeclareUnicodeCharacter{00A3}{\pounds}% £ \DeclareUnicodeCharacter{00A3}{\pounds}% £
%\DeclareUnicodeCharacter{00AC}{\ensuremath{\neg}} ¬ \DeclareUnicodeCharacter{00AB}{%
%\DeclareUnicodeCharacter{00AE}{\textsuperscript{\textregistered}} \ifmmode\textrm{\guillemotleft}\else\guillemotleft\fi}
%\DeclareUnicodeCharacter{00AF}{\ensuremath{^-}}% ¯ \DeclareUnicodeCharacter{00AC}{\ensuremath{\neg}}% ¬
%\DeclareUnicodeCharacter{00D7}{\ensuremath{\times}}% × \DeclareUnicodeCharacter{00AE}{\textsuperscript{\textregistered}}% ®
\DeclareUnicodeCharacter{00AF}{\ensuremath{^-}}% ¯
%%%%%%%%%%%%%%%%%%%%%%%%% vvv % NO-BREAK SPACE here (unicode 00A0) \DeclareUnicodeCharacter{00BB}{%
\catcode`\^^a0=13\relax\def {~}% " " (nbsp) \ifmmode\textrm{\guillemotright}\else\guillemotright\fi}
\catcode`\^^a3=13\relax\def£{\pounds}% £ \DeclareUnicodeCharacter{00D7}{\ensuremath{\times}}% ×
\catcode`\^^ae=13\relax\def®{\textsuperscript{\textregistered}}% ® \DeclareUnicodeCharacter{00F1}{{\ifmmode\tilde{n}\else\~{n}\fi}}% ñ
% macron: overline, overbar
\catcode`\^^af=13\relax\def¯{\ensuremath{^-}}% ¯ % macron
% \catcode`\^^f1=13\relax\defñ{\~{n}}% ñ
% Declared by MnSymbol:
% \catcode`\^^d7=13\relax\def×{\ensuremath{\times}}% ×
% \catcode`\^^ac=13\relax\def¬{\ensuremath{\neg}}\relax% ¬
\DeclareUnicodeCharacter{00F1}{{\ifmmode\tilde{n}\else\~{n}\fi}} \DeclareUnicodeCharacter{00F1}{{\ifmmode\tilde{n}\else\~{n}\fi}}
% Declared by MnSymbol: % Declared by MnSymbol:
@ -162,6 +156,7 @@
\DeclareUnicodeCharacter{208E}{\ensuremath{_)}}% \DeclareUnicodeCharacter{208E}{\ensuremath{_)}}%
\DeclareUnicodeCharacter{2098}{\ensuremath{_m}}% \DeclareUnicodeCharacter{2098}{\ensuremath{_m}}%
\DeclareUnicodeCharacter{2099}{\ensuremath{_n}}% \DeclareUnicodeCharacter{2099}{\ensuremath{_n}}%
\DeclareUnicodeCharacter{2095}{\ensuremath{_h}}%
\DeclareUnicodeCharacter{1D62}{\ensuremath{_i}}% \DeclareUnicodeCharacter{1D62}{\ensuremath{_i}}%
\DeclareUnicodeCharacter{2C7C}{\ensuremath{_j}}% \DeclareUnicodeCharacter{2C7C}{\ensuremath{_j}}%
\DeclareUnicodeCharacter{2096}{\ensuremath{_k}}% \DeclareUnicodeCharacter{2096}{\ensuremath{_k}}%
@ -247,5 +242,7 @@
\DeclareUnicodeCharacter{1D4CD}{\ensuremath{\mathcal{x}}}% 𝓍 \DeclareUnicodeCharacter{1D4CD}{\ensuremath{\mathcal{x}}}% 𝓍
\DeclareUnicodeCharacter{1D4CE}{\ensuremath{\mathcal{y}}}% 𝓎 \DeclareUnicodeCharacter{1D4CE}{\ensuremath{\mathcal{y}}}% 𝓎
\DeclareUnicodeCharacter{1D4CF}{\ensuremath{\mathcal{z}}}% 𝓏 \DeclareUnicodeCharacter{1D4CF}{\ensuremath{\mathcal{z}}}% 𝓏
\DeclareUnicodeCharacter{220C}{\ensuremath{\not\ni}}%
\DeclareUnicodeCharacter{220B}{\ensuremath{\ni}}%
\makeatother \makeatother
}>>>|) }>>>|)