当前位置: 首页>>代码示例>>Java>>正文


Java SnugglePackage类代码示例

本文整理汇总了Java中uk.ac.ed.ph.snuggletex.SnugglePackage的典型用法代码示例。如果您正苦于以下问题:Java SnugglePackage类的具体用法?Java SnugglePackage怎么用?Java SnugglePackage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

SnugglePackage类属于uk.ac.ed.ph.snuggletex包,在下文中一共展示了SnugglePackage类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: provide

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
@Override
public SnugglePackage provide() {
    SnugglePackage modOperator = new SnugglePackage("mod");
    MathOperatorInterpretation bmodInterpretation = new MathOperatorInterpretation("mod");
    modOperator.addSimpleCommand("bmod", ALL_MODES, bmodInterpretation, new InterpretableSimpleMathHandler(), TextFlowContext.ALLOW_INLINE);

    return modOperator;
}
 
开发者ID:Sevyls,项目名称:latex-formulas-mobi-converter,代码行数:9,代码来源:Modulo.java


示例2: provide

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
@Override
public SnugglePackage provide() {
    SnugglePackage binomPackage = new SnugglePackage("binom");
    MathOperatorInterpretation binomInterpretation = new MathOperatorInterpretation("binom");
    LaTeXMode[] argModes = {LaTeXMode.MATH, LaTeXMode.MATH};

    binomPackage.addComplexCommand("binom", false, 2, ALL_MODES, argModes, new BinomHandler(), TextFlowContext.ALLOW_INLINE);

    return binomPackage;
}
 
开发者ID:Sevyls,项目名称:latex-formulas-mobi-converter,代码行数:11,代码来源:Binomial.java


示例3: Token

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
protected Token(final FrozenSlice slice, final TokenType type, final LaTeXMode latexMode,
        final Interpretation... interpretations) {
    this.slice = slice;
    this.type = type;
    this.latexMode = latexMode;
    this.interpretationMap = SnugglePackage.makeInterpretationMap(interpretations);
}
 
开发者ID:ktisha,项目名称:snuggletex,代码行数:8,代码来源:Token.java


示例4: getPackage

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
public static SnugglePackage getPackage() {
    return ourPackage;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:4,代码来源:IpnbTexPackageDefinitions.java


示例5: getPackages

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
public static List<SnugglePackage> getPackages() {
    List<SnugglePackage> list = new ArrayList<SnugglePackage>();
    list.addAll(providerMap.values());
    return list;
}
 
开发者ID:Sevyls,项目名称:latex-formulas-mobi-converter,代码行数:6,代码来源:SnugglePackageRegistry.java


示例6: getPackage

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
public static SnugglePackage getPackage() {
    return corePackage;
}
 
开发者ID:ktisha,项目名称:snuggletex,代码行数:4,代码来源:CorePackageDefinitions.java


示例7: provide

import uk.ac.ed.ph.snuggletex.SnugglePackage; //导入依赖的package包/类
/**
 * Provide a SnugglePackage implementation for certain missing LaTeX formula objects
 *
 * @return SnugglePackage which can be added to the Runtime's Snuggle Engine
 */
SnugglePackage provide();
 
开发者ID:Sevyls,项目名称:latex-formulas-mobi-converter,代码行数:7,代码来源:SnugglePackageProvider.java



注:本文中的uk.ac.ed.ph.snuggletex.SnugglePackage类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。