\ProvidesPackage{JunicodeManual}

\usepackage{microtype}

\usepackage[
  MainFeatures={
    StylisticSet={9,10}
  },
  MainRegularSizeFeatures={
    {size=8.6,wght=550,wdth=120},
    {size=10.99,wght=475,wdth=115},
    {size=21.59,wght=400,wdth=112.5},
    {size=21.59,wght=351,wdth=100}
  },
  MainItalicSizeFeatures={
    {size=8.6,wght=550,wdth=118},
    {size=10.99,wght=475,wdth=114},
    {size=21.59,wght=450,wdth=111},
    {size=21.59,wght=372,wdth=98}
  },
  MainBoldSizeFeatures={
    {size=8.6,wght=700,wdth=120},
    {size=10.99,wght=700,wdth=115},
    {size=21.59,wght=650,wdth=112.5},
    {size=21.59,wght=600,wdth=100}
  },
  MainBoldItalicSizeFeatures={
    {size=8.6,wght=700,wdth=118},
    {size=10.99,wght=700,wdth=114},
    {size=21.59,wght=650,wdth=111},
    {size=21.59,wght=600,wdth=98}
  },
  CondSizeFeatures={
    {size=8.5,wght=420,wdth=75},
    {size=11,wght=400,wdth=75},
    {size=22,wght=350,wdth=75},
    {size=22,wght=345,wdth=75}
  },
  SmCondLightFeatures={StylisticSet=9},
  SmCondFeatures={StylisticSet=9}
]{junicodevf}
\setfontface\samplefootnote{JunicodeVF}[
    Renderer = HarfBuzz,
    SizeFeatures = {{Size={5-}, RawFeature={axis={wght=490,wdth=115}}}},
]
\setfontface\sampleheader{JunicodeVF}[
    Renderer = HarfBuzz,
    StylisticSet = 9,
    SizeFeatures = {{Size={5-}, RawFeature={axis={wght=350,wdth=95}}}}
]
\setmonofont{Fira Mono}[Scale=MatchLowercase,Numbers=Lowercase]
\setsansfont{Fira Sans}[Scale=MatchLowercase,Numbers=Lowercase]

%\usepackage{showidx}
\usepackage{imakeidx}
\usepackage{idxlayout}

\makeindex[title=Index of OpenType Features,intoc]

\usepackage{fancyhdr}
\usepackage{realscripts}
\usepackage{graphicx}
\usepackage[table,dvipsnames]{xcolor}
\definecolor{BrickRed}{RGB}{146,18,6}
\definecolor{SlateGray}{RGB}{112,128,144}
\definecolor{GGOrange}{RGB}{240,74,6}
\definecolor{RViolet}{RGB}{70,18,87}
\definecolor{myRed}{rgb}{0.5,0,0}
\definecolor{myBlue}{rgb}{0,0,0.5}
\definecolor{myLightRed}{RGB}{255,232,244}
\definecolor{myLightYellow}{RGB}{239,249,218}
\definecolor{myLightBlue}{RGB}{203,228,249}
\definecolor{myLightGreen}{RGB}{234,255,244}
\definecolor{myLightPurple}{RGB}{214,205,234}
\definecolor{GunMetalGray}{RGB}{42,52,57}
\usepackage{multicol}
\usepackage{array}
\usepackage{tabto}
\usepackage{supertabular}
\usepackage{hhline}
\usepackage{metalogo}
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue,%
  urlcolor=blue, pdftitle=, pdfauthor=, pdfsubject=, pdfkeywords=,}
\pdfstringdefDisableCommands{%
	\def\unic{}%
	\def\textSourceText{}%
	\def\addfontfeature\@gobble
}
\urlstyle{same}
% Footnotes configuration
\makeatletter
\renewcommand\thefootnote{\arabic{footnote}}
\makeatother
% Text styles
\linespread{1.1}
\newopentypefeature{MyStyle}{mirrored}{+rtlm}
\newopentypefeature{MyStyle}{IPA}{+ss03}
\newopentypefeature{MyStyle}{thornswap}{+ss01}
\newopentypefeature{MyStyle}{noentities}{-ss10}
\newopentypefeature{Ligatures}{histoff}{-hlig}
\newcommand{\noent}[1]{{\addfontfeature{MyStyle=noentities}#1}}
\newcommand\textex[1]{\textrm{\textbf{\color{BrickRed}#1}}}
\newcommand\textUName[1]{\textsc{#1}}
\newcommand\textSourceText[1]{{\color{GGOrange}\texttt{#1}}}
\newcommand\cvc[1]{{\color{magenta}#1}}
\newcommand\textstyleEmphasis[1]{\textit{#1}}
\newcommand\textstyleEntityRef[1]{\textrm{#1}}
\newcommand{\cvd}[3][0]{{\addfontfeature{CharacterVariant=#2:#1}#3}}
\newcommand{\salti}[2]{{\addfontfeature{StylisticAlternates=#1}#2}}
\newcommand{\hlig}[1]{{\addfontfeature{Ligatures=Historic}#1}}
\newcommand{\sups}[1]{{\addfontfeature{VerticalPosition = Superior}#1}}
\newcommand{\subs}[1]{{\addfontfeature{VerticalPosition = Inferior}#1}}
\newcommand{\oprop}[1]{{\addfontfeature{Numbers={Lowercase,Proportional}}#1}}
\newcommand{\lprop}[1]{{\addfontfeature{Numbers={Uppercase,Proportional}}#1}}
\newcommand{\otab}[1]{{\addfontfeature{Numbers={Lowercase,Monospaced}}#1}}
\newcommand{\ltab}[1]{{\addfontfeature{Numbers={Uppercase,Monospaced}}#1}}
\newcommand{\ornm}[2][0]{{\addfontfeature{Ornament=#1}#2}}
\newcommand{\unic}[1]{{\jSmCond\addfontfeature{Numbers={Uppercase,Monospaced}}#1}}
\newcommand{\src}[1]{{\color{BrickRed}\texttt{#1}}}
\newcommand{\option}[1]{{\color{RViolet}\sffamily#1}}
\newcommand{\enla}[1]{{\EnlargedOne#1}}
\newcommand{\enlax}[1]{{\EnlargedTwo#1}}
\newcommand{\ltech}{Lua\kern-1.5pt\TeX}
\newcommand{\restag}[1]{{\addfontfeature{StylisticSet=10}#1}}
\newcommand{\mufi}{\rowcolor{myLightGreen}}
\newcommand{\prob}{\cellcolor{myLightPurple}}
\newcommand{\opua}{\rowcolor{myLightYellow}}
\newcommand{\stdu}{\rowcolor{myLightBlue}}
\newcommand{\bluerow}{\rowcolor{myLightBlue}}
\newcommand{\nuni}{\rowcolor{myLightRed}}
\newcommand{\tcomp}{\jCond\addfontfeature{Numbers=Uppercase}}
\newcommand{\ctosc}[1]{{\addfontfeature{Letters=UppercaseSmallCaps}#1}}
\newcommand{\secletter}[1]{\textbf{#1}}
\newcommand{\fspec}{{\sffamily fontspec}}
\newcommand{\grk}[1]{{\addfontfeature{Language=Greek}#1}}
\makeatletter
\newcommand\arraybslash{\let\\\@arraycr}
\makeatother
\setlength\headheight{15pt}
\pagestyle{fancy}
\footskip = 30pt
\headsep = 30pt
\renewcommand{\headrule}{}
\fancyhead[L]{}
\fancyhead[C]{}
\fancyhead[R]{}
\fancyfoot[L]{}
\fancyfoot[C]{}
\fancyfoot[R]{}
\setlength\tabcolsep{1mm}
\renewcommand\arraystretch{1.3}
% Headers
\usepackage{titlesec}
\titleformat{\chapter}[hang]{\huge\jSmCondLight\color{RViolet}}{\thechapter.}{1em}{}
\titleformat{\section}[hang]{\Large\jSmCond\color{GunMetalGray}}{\thesection.}{1em}{}
\titleformat{\subsection}[hang]{\large\color{BrickRed}}{\thesubsection.}{1em}{}
% List styles
\newcommand\liststyleLi{%
\renewcommand\labelitemi{{\textbullet}}
\renewcommand\labelitemii{{\textbullet}}
\renewcommand\labelitemiii{{\textbullet}}
\renewcommand\labelitemiv{{\textbullet}}
}
\newcommand\liststyleLii{%
\renewcommand\labelitemi{{\textbullet}}
\renewcommand\labelitemii{{\textbullet}}
\renewcommand\labelitemiii{{\textbullet}}
\renewcommand\labelitemiv{{\textbullet}}
}
\newcounter{Feature}
\renewcommand\theFeature{\arabic{Feature}}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
\tolerance=1500
\widowpenalty=500
\clubpenalty=500
\frenchspacing
\raggedbottom
\usepackage{unicodefonttable}
