Files

3.5 KiB

Commands of glossaries package

% pandoc -f latex -t native
Many programming languages provide \glspl{API}. Each \gls{API} should provide a documentation.
^D
[ Para
    [ Str "Many programming languages provide "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "plural+short" )
          ]
        )
        [ Str "APIs" ]
    , Str ". Each "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+short" )
          ]
        )
        [ Str "API" ]
    , Str " should provide a documentation."
    ]
]
% pandoc -f latex -t native
\Glsdesc{API} XYZ ist not as performant as \glsdesc{API} ZXY.
^D
[ Para
    [ Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+long" )
          ]
        )
        [ Str "API" ]
    , Str " XYZ ist not as performant as "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+long" )
          ]
        )
        [ Str "API" ]
    , Str " ZXY."
    ]
]
% pandoc -f latex -t native
\Acrlong{API} XYZ ist not as performant as \acrlong{API} ZXY.
^D
[ Para
    [ Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+long" )
          ]
        )
        [ Str "API" ]
    , Str " XYZ ist not as performant as "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+long" )
          ]
        )
        [ Str "API" ]
    , Str " ZXY."
    ]
]
% pandoc -f latex -t native
\Acrfull{API} XYZ ist not as performant as \acrfull{API} ZXY.
^D
[ Para
    [ Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+full" )
          ]
        )
        [ Str "API" ]
    , Str " XYZ ist not as performant as "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+full" )
          ]
        )
        [ Str "API" ]
    , Str " ZXY."
    ]
]
% pandoc -f latex -t native
\Acrshort{API} XYZ ist not as performant as \acrshort{API} ZXY.
^D
[ Para
    [ Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+abbrv" )
          ]
        )
        [ Str "API" ]
    , Str " XYZ ist not as performant as "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+abbrv" )
          ]
        )
        [ Str "API" ]
    , Str " ZXY."
    ]
]

Commands of acronym package

% pandoc -f latex -t native
Many programming languages provide \acp{API}. Each \ac{API} should provide a documentation.
^D
[ Para
    [ Str "Many programming languages provide "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "plural+short" )
          ]
        )
        [ Str "APIs" ]
    , Str ". Each "
    , Span
        ( ""
        , []
        , [ ( "acronym-label" , "API" )
          , ( "acronym-form" , "singular+short" )
          ]
        )
        [ Str "API" ]
    , Str " should provide a documentation."
    ]
]