//.....................................................................
        /// <summary>
        ///
        /// </summary>
        /// <param name="matBase"></param>
        /// <param name="matSubn"></param>
        /// <returns></returns>
        public static M.Subscript MakeScriptLower(string matBase, string matSubn)
        {
            M.SubscriptProperties properties = new M.SubscriptProperties( );

            properties.Append(OpenDocxMathExprs.MakeControlProperties(true));

            //---------------------------------------------
            M.Subscript subscript = new M.Subscript( );

            subscript.Append(properties);

            subscript.Append(OpenDocxMathExprs.MakeMathBase(matBase));
            subscript.Append(OpenDocxMathExprs.MakeScriptArgumentLower(matSubn));

            return(subscript);
        }
        //.....................................................................
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public static M.SubSuperscript MakeScriptBoth(string strBase, string strUpper, string strLower)
        {
            M.SubSuperscript script = new M.SubSuperscript( );

            M.SubSuperscriptProperties properties = new M.SubSuperscriptProperties( );

            properties.Append(OpenDocxMathExprs.MakeControlProperties(true));

            script.Append(properties);

            script.Append(OpenDocxMathExprs.MakeMathBase(strBase));
            script.Append(OpenDocxMathExprs.MakeScriptArgumentLower(strLower));
            script.Append(OpenDocxMathExprs.MakeScriptArgumentUpper(strUpper));

            return(script);
        }
        private static M.SubSuperscript MakeScriptBoth( )
        {
            M.SubSuperscript subSuperscript1 = new M.SubSuperscript( );

            M.SubSuperscriptProperties subSuperscriptProperties1 = new M.SubSuperscriptProperties( );

            subSuperscriptProperties1.Append(OpenDocxMathExprs.MakeControlProperties(true));

            M.Base base1 = OpenDocxMathExprs.MakeMathBase("A");      // new M.Base( );

            //---------------------------------------------
            M.SubArgument subArgument1 = OpenDocxMathExprs.MakeScriptArgumentLower("i");

            M.SuperArgument superArgument1 = OpenDocxMathExprs.MakeScriptArgumentUpper("w");

            //---------------------------------------------
            subSuperscript1.Append(subSuperscriptProperties1);
            subSuperscript1.Append(base1);
            subSuperscript1.Append(subArgument1);
            subSuperscript1.Append(superArgument1);

            return(subSuperscript1);
        }