CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/bxenclose

README.md

BXen­close Pack­age

: To en­close the doc­u­ment body with some pieces of code

The pack­age en­ables au­thors to des­ig­nate in the pream­ble to make the doc­u­ment body en­closed with the given pieces of code. As is known, there are al­ready var­i­ous mech­a­nisms pro­vided by ker­nel or pack­ages that at­tach “hooks” at the be­gin­ning and end of doc­u­ments. This pack­age tries harder to win the race, that is, place the given code as close to the real doc­u­ment body as pos­si­ble.

Sys­tem re­quire­ment

  • for­mat: .
    • en­gine: Any­thing.
    • Depen­dent pack­ages: None.

In­stal­la­tion

  • *.sty → $TEXMF/tex/la­tex/BXen­close

Li­cense

This pack­age is dis­tributed un­der the MIT Li­cense.

The bx­en­close Pack­age

Pack­age Load­ing

\usepackage{bxenclose}

No op­tions are avail­able.

Usage

This pack­age de­fines the fol­low­ing sin­gle com­mand:

\enclosebodywith{<begin>}{<end>}

This com­mand makes the doc­u­ment body en­closed with <begin> and <end>. That is, <begin> is ex­e­cuted im­me­di­ately be­fore the body text (prob­a­bly af­ter other “be­gin-doc­u­ment hooks” pro­vided by it­self and other pack­ages) and <end> is ex­e­cuted im­me­di­ately af­ter the body text (prob­a­bly be­fore other “end-doc­u­ment hooks”).

Note that both <begin> and <end> code are treated as part of the doc­u­ment body. In par­tic­u­lar, <begin> code can­not con­tain any pream­ble-re­stricted com­mands (such as \listfiles).

Re­vi­sion His­tory

  • Ver­sion 0.2 〈2016/04/01〉
    • The first pub­lic ver­sion.

Takayuki YATO (aka. "ZR") http://zrbab­bler.sp.land.to/

Down­load the con­tents of this pack­age in one zip archive (3.3k).

bx­en­close – En­close the doc­u­ment body with some pieces of code

The pack­age en­ables au­thors to des­ig­nate in the pream­ble to make the doc­u­ment body en­closed with the given pieces of code. As is known, there are al­ready var­i­ous mech­a­nisms pro­vided by ker­nel or pack­ages that at­tach hooks at the be­gin­ning and end of doc­u­ments.

Pack­agebx­en­close
Ver­sion0.2
Li­censesMIT Li­cense
Main­tainerTakayuki Yato
Con­tained inTeX Live as bx­en­close
MiKTeX as bx­en­close
TopicsMacro sup­port
...
Guest Book Sitemap Contact Contact Author