% !TEX root = kFKM.tex

\documentclass[12pt]{article}
\usepackage{e-jc}
\specs{P1.24}{23(1)}{2016}

\usepackage{amsmath, amsthm, amssymb, amsfonts}
\usepackage{amssymb}
\usepackage{enumitem}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{xcolor}
\usepackage{rotating}
%\usepackage[noend]{algpseudocode}
%\usepackage{algorithm}
%\usepackage{mdframed}
%\usepackage{lineno}
%\linenumbers 

%\algdef{SE}[DOWHILE]{Do}{doWhile}{\algorithmicdo}[1]{\algorithmicwhile\ #1}%

\newcommand{\noteFix}[1]{\textcolor{red}{#1}}
\newcommand{\noteFutureWork}[1]{\textcolor{green!50!black}{#1}}
\newcommand{\noteQuestion}[1]{\textcolor{blue}{#1}}
\newcommand{\noteComment}[1]{\textcolor{blue}{#1}}

\newcommand{\TUPLES}[2]{\mathbf{T}(#1,#2)}
\newcommand{\NECKS}[2]{\mathbf{N}(#1,#2)}
\newcommand{\LYNDON}[2]{\mathbf{L}(\mathbf{T}(#1,#2))}
\newcommand{\POSET}[2]{\mathbf{Poset}(#1,#2)}
\newcommand{\NPOSET}[2]{\mathbf{NPoset}(#1,#2)}
\newcommand{\Rotate}[1]{\textsl{Rot}(#1)}
\newcommand{\FKM}[1]{\textsl{FKM}(#1)}
\newcommand{\GREEDY}[1]{\textsl{Greedy}(#1)}
\newcommand{\aprefix}[1]{\mathsf{ap}(#1)}
\newcommand{\hasPrefix}{\vdash}
\newcommand{\nset}[1]{[#1]}
\newcommand{\last}[2][]{\mathsf{last}_{#1}(#2)}
\newcommand{\CLASS}[2]{\mathcal{C}(#1,#2)}
\newcommand{\NeckSubset}[1]{\mathbf{N}(#1)}

\newcommand{\squishlisttwo}{
 \begin{list}{$\triangleright$}
  { \setlength{\itemsep}{0pt}
     \setlength{\parsep}{0pt}
    \setlength{\topsep}{0pt}
    \setlength{\partopsep}{0pt}
    \setlength{\leftmargin}{2em}
    \setlength{\labelwidth}{1.5em}
    \setlength{\labelsep}{0.5em} } }

\newcommand{\squishend}{
  \end{list}  }

% modified from the following link:    
% http://tex.stackexchange.com/questions/142053/strike-through-text-without-affecting-text-box-size
\makeatletter
\newcommand{\xxx}[1]{%
  \ifmeasuring@
    % we're in the measuring stage, just use the argument
    #1
  \else
    % we're typesetting, add the strikeout rule
    \sbox0{$\displaystyle#1$}%
    \raisebox{0ex}{\rotatebox{50}{\rlap{\color{red}%
          \vrule height 0.65pt depth 0.65pt width 8pt}}}%
    \box0
  \fi
}
\makeatother


\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{remark}{Remark}
\newtheorem{proposition}{Proposition}

