CTAN Comprehensive TeX Archive Network

CTAN up­date: nc­c­tools

Date: Fe­bru­ary 4, 2002 2:10:12 PM CET
The nc­c­tools pack­age has been up­dated at tug.ctan.org and should have made its way throught the mir­ror­ing pro­cess. Jim Hef­feron ftp­maint at tug.ctan.org ================================================ The fol­low­ing in­for­ma­tion was pro­vided by our fel­low con­trib­u­tor. Name of con­tri­bu­tion: nc­c­tools Author's name: Alexan­der I Rozhenko Lo­ca­tion on CTAN: macros/la­tex/con­trib/sup­ported/nc­c­tools Sum­mary de­scrip­tion: A new re­lease of the NCCTOOLS bun­gle for LaTeX Project Li­cense type: lppl An­nounce­ment text given by the con­tri­bu­tion's au­thor: - ------------------------------------------------------------------- % % NCCTOOLS, Re­lease 2.0 %====================== % % HISTORICAL NOTES % ================ The `nc­c­tools' bun­dle con­sists of a num­ber of pack­age's ex­tracted from NCC style (de­vel­oped by A. Rozhenko in 1992-1996 for LaTeX-2.09) while reim­ple­men­ta­tion it for LaTeX-2e. This job is not com­pleted yet. So, some pack­age's will be added to the bun­dle later. Four of the pack­age's, namely dcounter, extdash, many­foot, and nc­c­foots, are doc­u­mented in cor­re­spond­ing `.dtx' files. Others are par­tially doc­u­mented just in­side `.sty' files. % % CONTENTS OF THE NCCTOOLS BUNDLE % =============================== crop­box.sty Im­ple­ments the \crop­box com­mand which pre­pares a box with crop marks at its cor­ners look­ing like an­gles. An­gle pa­ram­e­ters are cus­tomiz­able. crop­mark.sty Im­ple­ments the \crop­mark com­mand pro­duc­ing crop box around page text area (header area, footer area and marginal notes are op­tion­ally taken into con­sid­er­a­tion). The \crop­mark com­mand is used in­side \wa­ter­mark com­mands. It ac­cu­rately in­ter­prets cur­rent state of two-col­umn, two-side, and re­verse-mar­gin modes. dcounter.dtx Dy­namic coun­ters. The counter de­clared as dy­namic is re­ally cre­ated at the first use and re­ceives at that mo­ment the count style which was es­tab­lished by the \countstyle com­mand. The spe­cial use of \coun­style com­mand with op­tional pa­ram­e­ter al­lows mod­i­fy­ing of sub­or­di­na­tion of ex­ist­ing counter. For ex­am­ple, while us­ing the book class you can re­ject the sub­or­di­na­tion of the sec­tion counter to the chap­ter counter and re­sub­or­di­nate fig­ures, ta­bles and equa­tions to sec­tions. de­sclist.sty Im­ple­ments the de­sclist en­vi­ron­ment. It is con­sid­ered as an im­prove­ment of the de­scrip­tion en­vi­ron­ment. The ap­pear­ance of item mark­ers is easy cus­tomiz­able on the fly. An op­tional pa­ram­e­ter al­lows set a marker pro­to­type for cal­cu­la­tion of hang in­den­ta­tion skip. The de­scrip­tion en­vi­ron­ment is re­de­fined to use an op­tional pa­ram­e­ter also. extdash.dtx The pack­age im­ple­ments the com­mands, \Hyph­dash, \En­dash, \Em­dash, and their *-forms, to con­trol hy­phen­ation of com­pound words and or­di­nary words dashed by em-dash. You can also use the short­cuts \-/ \=/ \-- \== \--- \=== in­stead. On con­trary to ger­manb style of the Ba­bel pack­age no ac­tive sym­bols added. You can also de­crease the length of em-dash by the op­tion `cyrem­dash' to sat­isfy the rus­sian type­set­ting rules. many­foot.dtx The pack­age im­ple­ments a com­mand, \new­foot­note, that adds foot­note lev­els to the stan­dard LaTeX's foot­note mech­a­nism. Foot­notes of ev­ery ad­di­tional level are au­to­mat­i­cally grouped to­gether on a LaTeX-2e out­put page and are sep­a­rated from an­other lev­els by the spe­cial ver­ti­cal space and (maybe) rule. You can cus­tomize the type­set­ting style of ad­di­tional foot­notes choos­ing be­tween or­di­nary foot­notes and run-in para­graph foot­notes (use­ful for crit­i­cal edi­tions). nc­cbbb.sty Im­ple­men­ta­tion of poor Black Board Bold sym­bols. Ported from old NCC-LaTeX. It is use­less in mod­ern LaTeX but kept just in case. nc­cboxes.sty Ad­di­tional boxes from NCC-LaTeX. The \jh­box and \jvbox can hor­i­zon­tally and ver­ti­cally align a body with re­spect to a pro­to­type. The \ad­dbox ad­justs the height and depth of the box body (it is al­ter­na­tive to us­ing the `calc' pack­age). The \pbox is a sim­ple ver­sion of one-col­umn ta­ble. It is in­de­pen­dent on \ar­raystretch value. The \cbox is in­tended for de­sign of fancy head­ers in ta­bles. nc­c­fan­cy­hdr.sty Ab­so­lutely new im­ple­men­ta­tion of func­tion­al­ity of the fan­cy­hdr pack­age. It is more trans­par­ent, sim­ple, non-ag­gres­sive (re­defin­ing of stan­dard page styles is op­tional), and bug-free (I hope :). Header width con­trol is im­proved with two com­mands, namely \ex­tend­ed­head­ers (ex­tended upon marginal notes) and \nor­mal­head­ers. The com­mand \this­pagestyle cor­rectly works with fancy page styles (in fan­cy­hdr, it didn't work be­cause of use of global def­i­ni­tions). nc­c­foots.dtx The pack­age im­ple­ments com­mands for gen­er­at­ing foot­notes with man­ual marks. For ex­am­ple, to mark foot­note by star you can write \Foot­note{*}{Foot­note text}. nc­c­math.sty Ex­ten­sion of the `ams­math' pack­age. Its main aim is to com­bine AMS's type­set­ting of dis­play equa­tions and NCC-LaTeX's one. In ams­math, the `eq­nar­ray' en­vi­ron­ment leaves un­changed. This pack­age re­de­fines `eq­nar­ray' to al­low us­ing of ams­math tag con­trol fea­tures and dis­play breaks. In­ter­col­umn dis­tance is re­duced to the dis­tance typ­i­cal for re­la­tion op­er­a­tions. All columns are pre­pared in the \dis­playstyle. A new `dar­ray' en­vi­ron­ment is a mix of the AMS's `aligned' en­vi­ron­ment and LaTeX's `ar­ray' en­vi­ron­ment. It is typed out in the same way as `aligned' en­vi­ron­ment but has columns def­i­ni­tion pa­ram­e­ter as `ar­ray' en­vi­ron­ment. The use of col­umn spec­i­fi­ca­tions is re­stricted to the nec­es­sary com­mands only: l,c,r,@, and * are al­lowed. The im­ple­men­ta­tion is com­pat­i­ble with the ar­ray pack­age. Some ad­di­tional com­mands are in­tro­duced also. nc­cpic.sty En­velop for the `graph­icx' pack­age. It cus­tomizes graph­ics ex­ten­sions list for most pop­u­lar drivers, namely dvips, dvidpf, and dvipdfm, and for use with pdf­tex also. Ex­ten­sion list now con­tains ex­ten­sions of graph­ics files which are pro­cessed on the fly with­out ad­di­tional ef­forts. Us­ing this fea­ture sim­pli­fies type­set­ting. You need not spec­ify a graph­ics file ex­ten­sion when use the \in­clude­graph­ics com­mand. Depend­ing on a dvi driver spec­i­fied, a graph­ics file with an ap­pro­pri­ate ex­ten­sion is searched. So, you only need to cre­ate a num­ber of ver­sions of a graph­ics file in dif­fer­ent for­mats (for ex­am­ple, `.bmp' for dvips or Yap and `.png' for pdf­tex). After that you can pro­duce re­sult­ing `.ps' and `.pdf' file with­out any changes in the source file. The rec­om­mended stor­age for graph­ics files is the graph­ics/ sub­di­rec­tory of the di­rec­tory the `.tex' file is trans­lated. Some ad­di­tional com­mands are in­tro­duced also. ncc­sect.sty Ex­ten­sion of LaTeX's sec­tion, cap­tion, and toc-en­tries gen­er­a­tion tech­nique. The pack­age con­tains many im­prove­ments. More in­ter­est­ing of them are: * sim­ple declar­ing of sec­tions of any level (in­clud­ing sec­tions of 0th level and cap­tions for floats); * user-con­trolled type­out for dis­play sec­tions (user can se­lect one of the fol­low­ing type­out styles: hangin­dent, parindent, cen­ter); * cus­tomiz­ing of sec­tion or cap­tion tag by the man­ner sim­i­lar to AMS equa­tion tag; * sim­ple declar­ing of toc-en­tries us­ing pro­to­types for cal­cu­la­tion of hang in­den­ta­tions; * \num­ber­line com­mand newer over­laps the text go­ing af­ter; * \PnumPro­to­type{} is used for cal­cu­la­tion of right mar­gin in ta­ble of con­tents; * dif­fer­ent cap­tions for dif­fer­ent float types; * sim­ple han­dle of new types of floats (af­ter reg­is­tra­tion of a new float in the pack­age you can de­clare a cap­tion and toc-en­try for it; be sure that the \chap­ter com­mand will au­to­mat­i­cally pro­duce a ver­ti­cal skip in a toc for the new float also). nc­c­thm.sty Yet an­other ex­ten­sion to the \newthe­o­rem com­mand. Four or­thog­o­nal prop­er­ties of the­o­rems are used: num­ber­ing mode - stan­dard or APAR (a num­ber be­fore header); the­o­rem type - de­fines an ap­pear­ance of a the­o­rem (what fonts are used for header, com­ment, and body). The `the­o­rem' and `re­mark' types a pre­de­fined; in­dent style - mar­gin, no­mar­gin, in­dent, noin­dent (se­lected in pack­age op­tions); break mode - do break af­ter header or not? Hard­coded when a new the­o­rem is de­clared. Can be over­rid­den on the fly for con­crete math state­ment. Easy cus­tomiza­tion of spac­ing and com­mands in­serted af­ter head­ers. Two types of QED sym­bol (white and black). The \proof com­mand is in­tro­duced. The \newthe­o­rem­type com­mand al­lows cre­ate new the­o­rem types. The \likeTYPE com­mand is au­to­mat­i­cally cre­ated for ev­ery new type. It sim­pli­fies type­out of rare math state­ments. In­stead of cre­ation of a new the­o­rem en­vi­ron­ment you can use \likethe­o­rem{Header}{Num­ber}[Com­ment] for it, or \lik­ere­mark, or ... Every the­o­rem en­vi­ron­ment and the­o­rem type can be re­de­fined with \re­newthe­o­rem and \re­newthe­o­rem­type. Coun­ters of all the­o­rem-like en­vi­ron­ments are dy­namic. So, they are cre­ated at the first use. This is very help­ful for pack­age writer. A num­ber of the­o­rem-like en­vi­ron­ments can be cre­ated in a pack­age or class, and a user only se­lects the count style for them (in sim­ple case this can be done with only one \countstyle com­mand in the doc­u­ment pream­ble). parskip.sty Use­ful for doc­u­ments with non-zero skips be­tween para­graphs. In this case, the ad­di­tional ver­ti­cal space in­serted by lists is un­likely. The pack­age pro­vides iden­ti­cal dis­tance be­tween all para­graphs ex­cept sec­tion markups. It re­de­fines con­trol list com­mands and sup­press \top­skip, \par­top­skip, and \item­sep in lists. As a re­sult, the dis­tance be­tween or­di­nary para­graphs and para­graphs pre­pared by lists is the same. The com­mand \SetParskip{dis­tance} is de­scribed to con­trol this dis­tance. to­cen­ter.sty Pro­vides two com­mands, namely \ToCen­ter and \FromMar­gins, which sim­plify the cus­tomiza­tion of page lay­out. It is now easy to change text width and height and cen­ter the text area on the page (the header, footer, and marginal note fields are op­tion­ally taken into con­sid­er­a­tion). Other way is like-Word declar­ing of pa­per lay­out: you set mar­gins from the left, right, top, and bot­tom. wa­ter­mark.sty Pro­vides wa­ter­marks on out­put pages. A wa­ter­mark is some text or pic­ture printed at the back­ground of pa­per. A wa­ter­mark is usu­ally stored in the page header. This way is in­con­ve­nient: it needs re­def­i­ni­tion of page style com­mands. We use an­other method that is or­thog­o­nal to page mark com­mands and needs no re­def­i­ni­tion of page marks. The left and right wa­ter­marks are al­lowed. Tem­po­rary \thiswa­ter­mark acts on the cur­rent page only. Us­ing this way it is easy to sub­sti­tute a page header by your own page header with the \this­page­head­ing com­mand.

nc­c­tools – A col­lec­tion of gen­eral pack­ages for

The NCC­tools bun­dle con­tains many pack­ages for gen­eral use un­der ; many are also used by NCC . The bun­dle in­cludes tools for:

Pack­agenc­c­tools
Ver­sion3.5.2 2018-06-24
Main­tainerAlexan­der I. Rozhenko

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author