diff options
author | Karl Berry <karl@freefriends.org> | 2008-10-28 00:23:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-10-28 00:23:03 +0000 |
commit | 3763fa67896d561bf1715831807d0bf173a87736 (patch) | |
tree | 1f4c6c374f68d5353f5cef4197bb598a7ed46ceb /Master/texmf-dist | |
parent | 82c50ef60580b22f3f55e214da923d46ab440d61 (diff) |
new latex package arsclassica (27oct08)
git-svn-id: svn://tug.org/texlive/trunk@11083 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
22 files changed, 2897 insertions, 0 deletions
diff --git a/Master/texmf-dist/bibtex/bst/arsclassica/classic.bst b/Master/texmf-dist/bibtex/bst/arsclassica/classic.bst new file mode 100644 index 00000000000..0294c71a7b6 --- /dev/null +++ b/Master/texmf-dist/bibtex/bst/arsclassica/classic.bst @@ -0,0 +1,1548 @@ +%% +%% This is file `classic.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% merlin.mbs (with options: `head,exlang,ay,nat,lang,nm-rev,ed-rev,jnrlst,nmlm,x3,m1,nmft,nmft-sc,nmand-rm,keyxyr,dt-beg,yr-par,tit-qq,qt-g,qx,bt-qq,atit-u,vnum-sp,volp-com,pgsep-s,jwdpg,jwdvol,num-xser,blk-com,italian,pp,abr,xedn,jabr,and-xcom,etal-it,url,url-blk,nfss,,{}') +%% italian.mbs (with options: `exlang,ay,nat,lang,nm-rev,ed-rev,jnrlst,nmlm,x3,m1,nmft,nmft-sc,nmand-rm,keyxyr,dt-beg,yr-par,tit-qq,qt-g,qx,bt-qq,atit-u,vnum-sp,volp-com,pgsep-s,jwdpg,jwdvol,num-xser,blk-com,italian,pp,abr,xedn,jabr,and-xcom,etal-it,url,url-blk,nfss,,{}') +%% merlin.mbs (with options: `tail,exlang,ay,nat,lang,nm-rev,ed-rev,jnrlst,nmlm,x3,m1,nmft,nmft-sc,nmand-rm,keyxyr,dt-beg,yr-par,tit-qq,qt-g,qx,bt-qq,atit-u,vnum-sp,volp-com,pgsep-s,jwdpg,jwdvol,num-xser,blk-com,italian,pp,abr,xedn,jabr,and-xcom,etal-it,url,url-blk,nfss,,{}') +%% ---------------------------------------- +%% *** *** +%% +%% Copyright 1994-2004 Patrick W Daly + % =============================================================== + % IMPORTANT NOTICE: + % This bibliographic style (bst) file has been generated from one or + % more master bibliographic style (mbs) files, listed above. + % + % This generated file can be redistributed and/or modified under the terms + % of the LaTeX Project Public License Distributed from CTAN + % archives in directory macros/latex/base/lppl.txt; either + % version 1 of the License, or any later version. + % =============================================================== + % Name and version information of the main mbs file: + % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)] + % For use with BibTeX version 0.99a or later + %------------------------------------------------------------------- + % This bibliography style file is intended for texts in + % ITALIAN + % This is an author-year citation style bibliography. As such, it is + % non-standard LaTeX, and requires a special package file to function properly. + % Such a package is natbib.sty by Patrick W. Daly + % The form of the \bibitem entries is + % \bibitem[Jones et al.(1990)]{key}... + % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}... + % The essential feature is that the label (the part in brackets) consists + % of the author names, as they should appear in the citation, with the year + % in parentheses following. There must be no space before the opening + % parenthesis! + % With natbib v5.3, a full list of authors may also follow the year. + % In natbib.sty, it is possible to define the type of enclosures that is + % really wanted (brackets or parentheses), but in either case, there must + % be parentheses in the label. + % The \cite command functions as follows: + % \citet{key} ==>> Jones et al. (1990) + % \citet*{key} ==>> Jones, Baker, and Smith (1990) + % \citep{key} ==>> (Jones et al., 1990) + % \citep*{key} ==>> (Jones, Baker, and Smith, 1990) + % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2) + % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990) + % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32) + % \citeauthor{key} ==>> Jones et al. + % \citeauthor*{key} ==>> Jones, Baker, and Smith + % \citeyear{key} ==>> 1990 + %--------------------------------------------------------------------- + +ENTRY + { address + author + booktitle + chapter + edition + editor + eid + howpublished + institution + journal + key + language + month + note + number + organization + pages + publisher + school + series + title + type + url + volume + year + } + {} + { label extra.label sort.label short.list } +INTEGERS { output.state before.all mid.sentence after.sentence after.block } +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} +STRINGS { s t} +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} +FUNCTION {add.blank} +{ " " * before.all 'output.state := +} + +FUNCTION {date.block} +{ + skip$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} +FUNCTION {non.stop} +{ duplicate$ + "}" * add.period$ + #-1 #1 substring$ "." = +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "\emph{" swap$ * "}" * } + if$ +} +FUNCTION {scaps} +{ duplicate$ empty$ + { pop$ "" } + { "\textsc{" swap$ * "}" * } + if$ +} +FUNCTION {bib.name.font} +{ scaps } +FUNCTION {bib.fname.font} +{ bib.name.font } +FUNCTION {tie.or.space.prefix} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ +} + +FUNCTION {capitalize} +{ "u" change.case$ "t" change.case$ } + +FUNCTION {space.word} +{ " " swap$ * " " * } + % Here are the language-specific definitions for explicit words. + % Each function has a name bbl.xxx where xxx is the English word. + %------------------------------------------------------------------- + % Begin module: + % \ProvidesFile{italian.mbs}[2003/11/06 4.2 (PWD/GP)] + + % The language selected here is ITALIAN +FUNCTION {bbl.and} +{ "e" } + +FUNCTION {bbl.etal} +{ "et~al." } + +FUNCTION {bbl.editors} +{ "curatori" } + +FUNCTION {bbl.editor} +{ "curatore" } + +FUNCTION {bbl.edby} +{ "curato da" } + +FUNCTION {bbl.edition} +{ "ed." } + +FUNCTION {bbl.volume} +{ "vol." } + +FUNCTION {bbl.of} +{ "di" } + +FUNCTION {bbl.number} +{ "no." } + +FUNCTION {bbl.nr} +{ "no." } + +FUNCTION {bbl.in} +{ "in" } + +FUNCTION {bbl.pages} +{ "p." } + +FUNCTION {bbl.page} +{ "p." } + +FUNCTION {bbl.chapter} +{ "cap." } + +FUNCTION {bbl.techrep} +{ "Rap. Tecn." } + +FUNCTION {bbl.mthesis} +{ "Tesi di laurea" } + +FUNCTION {bbl.phdthesis} +{ "Tesi di dottorato" } + +MACRO {jan} {"gen."} + +MACRO {feb} {"feb."} + +MACRO {mar} {"mar."} + +MACRO {apr} {"apr."} + +MACRO {may} {"mag"} + +MACRO {jun} {"giu."} + +MACRO {jul} {"lug."} + +MACRO {aug} {"ago."} + +MACRO {sep} {"set."} + +MACRO {oct} {"ott."} + +MACRO {nov} {"nov."} + +MACRO {dec} {"dic."} + + % End module: italian.mbs +%% Copyright 1994-2004 Patrick W Daly +MACRO {acmcs} {"ACM Comput. Surv."} + +MACRO {acta} {"Acta Inf."} + +MACRO {cacm} {"Commun. ACM"} + +MACRO {ibmjrd} {"IBM J. Res. Dev."} + +MACRO {ibmsj} {"IBM Syst.~J."} + +MACRO {ieeese} {"IEEE Trans. Software Eng."} + +MACRO {ieeetc} {"IEEE Trans. Comput."} + +MACRO {ieeetcad} + {"IEEE Trans. Comput. Aid. Des."} + +MACRO {ipl} {"Inf. Process. Lett."} + +MACRO {jacm} {"J.~ACM"} + +MACRO {jcss} {"J.~Comput. Syst. Sci."} + +MACRO {scp} {"Sci. Comput. Program."} + +MACRO {sicomp} {"SIAM J. Comput."} + +MACRO {tocs} {"ACM Trans. Comput. Syst."} + +MACRO {tods} {"ACM Trans. Database Syst."} + +MACRO {tog} {"ACM Trans. Graphic."} + +MACRO {toms} {"ACM Trans. Math. Software"} + +MACRO {toois} {"ACM Trans. Office Inf. Syst."} + +MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."} + +MACRO {tcs} {"Theor. Comput. Sci."} + +FUNCTION {bibinfo.check} +{ swap$ + duplicate$ missing$ + { + pop$ pop$ + "" + } + { duplicate$ empty$ + { + swap$ pop$ + } + { swap$ + pop$ + } + if$ + } + if$ +} +FUNCTION {bibinfo.warn} +{ swap$ + duplicate$ missing$ + { + swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ + "" + } + { duplicate$ empty$ + { + swap$ "empty " swap$ * " in " * cite$ * warning$ + } + { swap$ + pop$ + } + if$ + } + if$ +} +FUNCTION {format.url} +{ url empty$ + { "" } + { "\urlprefix\url{" url * "}" * } + if$ +} + +STRINGS { bibinfo} +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 'bibinfo := + duplicate$ empty$ 'skip$ { + 's := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}{, f.}{, jj}" + format.name$ + bib.name.font + bibinfo bibinfo.check + 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { numnames #2 > + { " " * } + 'skip$ + if$ + t "others" = + { " " * bbl.etal emphasize * } + { bbl.and space.word * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ + } if$ +} +FUNCTION {format.names.ed} +{ + format.names +} +FUNCTION {format.key} +{ empty$ + { key field.or.null } + { "" } + if$ +} + +FUNCTION {format.authors} +{ author "author" format.names +} +FUNCTION {get.bbl.editor} +{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } + +FUNCTION {format.editors} +{ editor "editor" format.names duplicate$ empty$ 'skip$ + { + "," * + " " * + get.bbl.editor + * + } + if$ +} +FUNCTION {select.language} +{ duplicate$ empty$ + 'pop$ + { language empty$ + 'skip$ + { "{\selectlanguage{" language * "}" * swap$ * "}" * } + if$ + } + if$ +} + +FUNCTION {format.note} +{ + note empty$ + { "" } + { note #1 #1 substring$ + duplicate$ "{" = + 'skip$ + { output.state mid.sentence = + { "l" } + { "u" } + if$ + change.case$ + } + if$ + note #2 global.max$ substring$ * "note" bibinfo.check + } + if$ +} + +FUNCTION {format.title} +{ title + "title" bibinfo.check + duplicate$ empty$ 'skip$ + { + "\enquote{" swap$ * + "}, " * + select.language + } + if$ +} +FUNCTION {end.quote.title} +{ title empty$ + 'skip$ + { before.all 'output.state := } + if$ +} +FUNCTION {end.quote.btitle} +{ booktitle empty$ + 'skip$ + { before.all 'output.state := } + if$ +} +FUNCTION {format.full.names} +{'s := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}" format.name$ + 't := + nameptr #1 > + { + nameptr #1 + #1 + = + numnames #3 + > and + { "others" 't := + #1 'namesleft := } + 'skip$ + if$ + namesleft #1 > + { ", " * t * } + { + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " " * bbl.etal emphasize * + } + { + bbl.and + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {author.editor.key.full} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {author.key.full} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {editor.key.full} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ +} + +FUNCTION {make.full.names} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.full + { type$ "proceedings" = + 'editor.key.full + 'author.key.full + if$ + } + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem[{" write$ + label write$ + ")" make.full.names duplicate$ short.list = + { pop$ } + { * } + if$ + "}]{" * write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {if.digit} +{ duplicate$ "0" = + swap$ duplicate$ "1" = + swap$ duplicate$ "2" = + swap$ duplicate$ "3" = + swap$ duplicate$ "4" = + swap$ duplicate$ "5" = + swap$ duplicate$ "6" = + swap$ duplicate$ "7" = + swap$ duplicate$ "8" = + swap$ "9" = or or or or or or or or or +} +FUNCTION {n.separate} +{ 't := + "" + #0 'numnames := + { t empty$ not } + { t #-1 #1 substring$ if.digit + { numnames #1 + 'numnames := } + { #0 'numnames := } + if$ + t #-1 #1 substring$ swap$ * + t #-2 global.max$ substring$ 't := + numnames #5 = + { duplicate$ #1 #2 substring$ swap$ + #3 global.max$ substring$ + "\," swap$ * * + } + 'skip$ + if$ + } + while$ +} +FUNCTION {n.dashify} +{ + n.separate + 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {word.in} +{ bbl.in + " " * } + +FUNCTION {format.date} +{ year "year" bibinfo.check duplicate$ empty$ + { + "empty year in " cite$ * "; set to ????" * warning$ + pop$ "????" + } + 'skip$ + if$ + extra.label * + before.all 'output.state := + " (" swap$ * ")" * +} +FUNCTION {format.btitle} +{ title "title" bibinfo.check + duplicate$ empty$ 'skip$ + { + emphasize + select.language + } + if$ +} +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { bbl.volume volume tie.or.space.prefix + "volume" bibinfo.check * * + series "series" bibinfo.check + duplicate$ empty$ 'pop$ + { swap$ bbl.of space.word * swap$ + emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { series empty$ + { number "number" bibinfo.check } + { output.state mid.sentence = + { bbl.number } + { bbl.number capitalize } + if$ + number tie.or.space.prefix "number" bibinfo.check * * + bbl.in space.word * + series "series" bibinfo.check * + } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition duplicate$ empty$ 'skip$ + { + output.state mid.sentence = + { "l" } + { "t" } + if$ change.case$ + "edition" bibinfo.check + " " * bbl.edition * + } + if$ +} +INTEGERS { multiresult } +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} +FUNCTION {format.pages} +{ pages duplicate$ empty$ 'skip$ + { duplicate$ multi.page.check + { + bbl.pages swap$ + n.dashify + } + { + bbl.page swap$ + } + if$ + tie.or.space.prefix + "pages" bibinfo.check + * * + } + if$ +} +FUNCTION {format.journal.pages} +{ pages duplicate$ empty$ 'pop$ + { swap$ duplicate$ empty$ + { pop$ pop$ format.pages } + { + ", " * + swap$ + n.dashify + pages multi.page.check + 'bbl.pages + 'bbl.page + if$ + swap$ tie.or.space.prefix + "pages" bibinfo.check + * * + * + } + if$ + } + if$ +} +FUNCTION {format.journal.eid} +{ eid "eid" bibinfo.check + duplicate$ empty$ 'pop$ + { swap$ duplicate$ empty$ 'skip$ + { + ", " * + } + if$ + swap$ * + } + if$ +} +FUNCTION {format.vol.num.pages} +{ volume field.or.null + duplicate$ empty$ 'skip$ + { + bbl.volume swap$ tie.or.space.prefix + "volume" bibinfo.check + * * + } + if$ + number "number" bibinfo.check duplicate$ empty$ 'skip$ + { + swap$ duplicate$ empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + swap$ + "~(" swap$ * ")" * + } + if$ * + eid empty$ + { format.journal.pages } + { format.journal.eid } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { bbl.chapter } + { type "l" change.case$ + "type" bibinfo.check + } + if$ + chapter tie.or.space.prefix + "chapter" bibinfo.check + * * + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {bt.enquote} +{ duplicate$ empty$ 'skip$ + { "\enquote{" swap$ * + "}, " * + } + if$ +} +FUNCTION {format.booktitle} +{ + booktitle "booktitle" bibinfo.check + bt.enquote +} +FUNCTION {format.in.ed.booktitle} +{ format.booktitle duplicate$ empty$ 'skip$ + { + editor "editor" format.names.ed duplicate$ empty$ 'pop$ + { + "," * + " " * + get.bbl.editor + ", " * + * swap$ + * } + if$ + word.in swap$ * + } + if$ +} +FUNCTION {format.thesis.type} +{ type duplicate$ empty$ + 'pop$ + { swap$ pop$ + "t" change.case$ "type" bibinfo.check + } + if$ +} +FUNCTION {format.tr.number} +{ number "number" bibinfo.check + type duplicate$ empty$ + { pop$ bbl.techrep } + 'skip$ + if$ + "type" bibinfo.check + swap$ duplicate$ empty$ + { pop$ "t" change.case$ } + { tie.or.space.prefix * * } + if$ +} +FUNCTION {format.article.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} +FUNCTION {format.book.crossref} +{ volume duplicate$ empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + pop$ word.in + } + { bbl.volume + swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * + } + if$ + " \cite{" * crossref * "}" * +} +FUNCTION {format.incoll.inproc.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} +FUNCTION {format.org.or.pub} +{ 't := + "" + address empty$ t empty$ and + 'skip$ + { + t empty$ + { address "address" bibinfo.check * + } + { t * + address empty$ + 'skip$ + { ", " * address "address" bibinfo.check * } + if$ + } + if$ + } + if$ +} +FUNCTION {format.publisher.address} +{ publisher "publisher" bibinfo.warn format.org.or.pub +} + +FUNCTION {format.organization.address} +{ organization "organization" bibinfo.check format.org.or.pub +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + end.quote.title + crossref missing$ + { + journal + "journal" bibinfo.check + emphasize + "journal" output.check + format.vol.num.pages output + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.url output + format.note output + fin.entry +} +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output + } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.date "year" output.check + date.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.number.series output + format.publisher.address output + } + { + format.book.crossref output.nonnull + } + if$ + format.edition output + format.url output + format.note output + fin.entry +} +FUNCTION {booklet} +{ output.bibitem + format.authors output + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + end.quote.title + howpublished "howpublished" bibinfo.check output + address "address" bibinfo.check output + format.url output + format.note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output + } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.date "year" output.check + date.block + format.btitle "title" output.check + crossref missing$ + { + format.bvolume output + format.chapter.pages "chapter and pages" output.check + format.number.series output + format.publisher.address output + } + { + format.chapter.pages "chapter and pages" output.check + format.book.crossref output.nonnull + } + if$ + format.edition output + format.url output + format.note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + end.quote.title + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + end.quote.btitle + format.bvolume output + format.number.series output + format.chapter.pages output + format.publisher.address output + format.edition output + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.url output + format.note output + fin.entry +} +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + end.quote.title + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + end.quote.btitle + format.bvolume output + format.number.series output + format.pages output + publisher empty$ + { format.organization.address output } + { organization "organization" bibinfo.check output + format.publisher.address output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.url output + format.note output + fin.entry +} +FUNCTION {conference} { inproceedings } +FUNCTION {manual} +{ output.bibitem + format.authors output + author format.key output + format.date "year" output.check + date.block + format.btitle "title" output.check + organization "organization" bibinfo.check output + address "address" bibinfo.check output + format.edition output + format.url output + format.note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.btitle + "title" output.check + bbl.mthesis format.thesis.type output.nonnull + school "school" bibinfo.warn output + address "address" bibinfo.check output + format.url output + format.note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + author format.key output + format.date "year" output.check + date.block + format.title output + end.quote.title + howpublished "howpublished" bibinfo.check output + format.url output + format.note output + fin.entry +} +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.btitle + "title" output.check + bbl.phdthesis format.thesis.type output.nonnull + school "school" bibinfo.warn output + address "address" bibinfo.check output + format.url output + format.note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + format.editors output + editor format.key output + format.date "year" output.check + date.block + format.btitle "title" output.check + format.bvolume output + format.number.series output + publisher empty$ + { format.organization.address output } + { organization "organization" bibinfo.check output + format.publisher.address output + } + if$ + format.url output + format.note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title + "title" output.check + end.quote.title + format.tr.number output.nonnull + institution "institution" bibinfo.warn output + address "address" bibinfo.check output + format.url output + format.note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + end.quote.title + format.url output + format.note "note" output.check + fin.entry +} + +FUNCTION {default.type} { misc } +READ +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} +INTEGERS { len } +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} +FUNCTION {format.lab.names} +{ 's := + "" 't := + s #1 "{vv~}{ll}" format.name$ + s num.names$ duplicate$ + #2 > + { pop$ + " " * bbl.etal emphasize * + } + { #2 < + 'skip$ + { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { + " " * bbl.etal emphasize * + } + { bbl.and space.word * s #2 "{vv~}{ll}" format.name$ + * } + if$ + } + if$ + } + if$ +} + +FUNCTION {author.key.label} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {author.editor.key.label} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {editor.key.label} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ +} + +FUNCTION {calc.short.authors} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.label + { type$ "proceedings" = + 'editor.key.label + 'author.key.label + if$ + } + if$ + 'short.list := +} + +FUNCTION {calc.label} +{ calc.short.authors + short.list + "(" + * + year duplicate$ empty$ + short.list key field.or.null = or + { pop$ "" } + { purify$ #-1 #4 substring$ } + if$ + * + 'label := +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" + format.name$ 't := + nameptr #1 > + { + nameptr #1 + #1 + = + numnames #3 + > and + { "others" 't := + #1 'namesleft := } + 'skip$ + if$ + " " * + namesleft #1 = t "others" = and + { "zzzzz" * } + { t sortify * } + if$ + } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} +FUNCTION {editor.sort} +{ editor empty$ + { key empty$ + { "to sort, need editor or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ +} +FUNCTION {presort} +{ calc.label + label sortify + " " + * + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.sort + 'author.sort + if$ + } + if$ + #1 entry.max$ substring$ + 'sort.label := + sort.label + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} +SORT +STRINGS { last.label next.extra } +INTEGERS { last.extra.num number.label } +FUNCTION {initialize.extra.label.stuff} +{ #0 int.to.chr$ 'last.label := + "" 'next.extra := + #0 'last.extra.num := + #0 'number.label := +} +FUNCTION {forward.pass} +{ last.label label = + { last.extra.num #1 + 'last.extra.num := + last.extra.num int.to.chr$ 'extra.label := + } + { "a" chr.to.int$ 'last.extra.num := + "" 'extra.label := + label 'last.label := + } + if$ + number.label #1 + 'number.label := +} +FUNCTION {reverse.pass} +{ next.extra "b" = + { "a" 'extra.label := } + 'skip$ + if$ + extra.label 'next.extra := + extra.label + duplicate$ empty$ + 'skip$ + { "{\natexlab{" swap$ * "}}" * } + if$ + 'extra.label := + label extra.label * 'label := +} +EXECUTE {initialize.extra.label.stuff} +ITERATE {forward.pass} +REVERSE {reverse.pass} +FUNCTION {bib.sort.order} +{ sort.label + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} +ITERATE {bib.sort.order} +SORT +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" number.label int.to.str$ * "}" * + write$ newline$ + "\ProvideTextCommand{\guillemotleft}{OT1}{%" + write$ newline$ + " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}" + write$ newline$ + "\ProvideTextCommand{\guillemotright}{OT1}{%" + write$ newline$ + " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}" + write$ newline$ + "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}" + write$ newline$ + "\providecommand{\natexlab}[1]{#1}" + write$ newline$ + "\providecommand{\url}[1]{\texttt{#1}}" + write$ newline$ + "\providecommand{\urlprefix}{URL }" + write$ newline$ + "\providecommand{\selectlanguage}[1]{\relax}" + write$ newline$ +} +EXECUTE {begin.bib} +EXECUTE {init.state.consts} +ITERATE {call.type$} +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} +EXECUTE {end.bib} +%% End of customized bst file +%% +%% End of file `abu.bst'. diff --git a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf Binary files differnew file mode 100644 index 00000000000..e90122a3096 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.pdf diff --git a/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex new file mode 100644 index 00000000000..a52b5737360 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/ArsClassica.tex @@ -0,0 +1,64 @@ +\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn, + cleardoubleempty,abstracton,pointlessnumbers,% + headinclude,footinclude,BCOR5mm,% + tablecaptionabove]{scrreprt} + +\newcommand{\myName}{Lorenzo Pantieri\xspace} +\newcommand{\myTitle}{Personalizzare ClassicThesis con il pacchetto ArsClassica\xspace} +\newcommand{\mySubTitle}{Manuale d'uso\xspace} +\newcommand{\myLocation}{Cesena\xspace} +\newcommand{\myGroup}{Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX\xspace} +\newcommand{\myUrl}{\url{http://www.guit.sssup.it/}\xspace} +\newcommand{\myTime}{Novembre 2008\xspace} +\newcommand{\myDate}{1 novembre 2008\xspace} + +\usepackage[latin1]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{amsfonts,amssymb,amsthm} +\usepackage[italian]{varioref} +\usepackage[square,numbers]{natbib} +\usepackage{indentfirst} +\usepackage[tight,italian]{minitoc} +\usepackage{makeidx} +\usepackage{multicol} +\usepackage{chngpage,calc} +\usepackage[dvipsnames,table]{xcolor} +\usepackage{lipsum} +\usepackage[english,italian]{babel} +\usepackage[writefile]{listings} +\usepackage{classicthesis-ldpkg} +\usepackage[eulerchapternumbers,subfig,beramono, +eulermath,pdfspacing]{classicthesis} +\usepackage[italian]{arsclassica} +\usepackage{adhoc} +\usepackage{guit} + +\begin{document} +\pagenumbering{roman} +\pagestyle{plain} +%****************************************************************** +% Materiale iniziale +%****************************************************************** +\input{MaterialeInizialeFinale/Frontespizio} +\input{MaterialeInizialeFinale/DietroAlTitolo} +\clearpage +\input{MaterialeInizialeFinale/Sommario+Abstract} +\input{MaterialeInizialeFinale/Ringraziamenti} +\pagestyle{scrheadings} +\clearpage +\input{MaterialeInizialeFinale/Indici} +\cleardoublepage +%****************************************************************** +% Materiale principale +%****************************************************************** +\pagenumbering{arabic} +\input{Capitoli/Basi} +\input{Capitoli/Codice} +% ***************************************************************** +% Materiale finale +%****************************************************************** +\clearpage +\input{MaterialeInizialeFinale/Bibliografia} +\clearpage +\input{MaterialeInizialeFinale/IndiceAnalitico} +\end{document} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib b/Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib new file mode 100644 index 00000000000..789df3b1a51 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Bibliografia.bib @@ -0,0 +1,31 @@ +@BOOK{bringhurst:elementi, + AUTHOR = {Bringhurst, Robert}, + TITLE = {Gli Elementi dello Stile Tipografico}, + PUBLISHER = {\inglese{Sylvestre Bonnard}}, + YEAR = {2001, ed.~or.~1992}, + ADDRESS = {Milano} +} + + +@MANUAL{miede:classicthesis, + AUTHOR = {Miede, AndrŽ}, + TITLE = {\inglese{A Classic Thesis style}}, + YEAR = {2007}, + NOTE = {{Manuale} d'uso dello stile \classicthesis, \url{http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/ClassicThesis.pdf}} +} + + +@MANUAL{pantieri:classicthesis, + AUTHOR = {Pantieri, Lorenzo}, + TITLE = {Introduzione allo stile \classicthesis}, + YEAR = {2008}, + NOTE = {\url{http://www.lorenzopantieri.net/LaTeX_files/ClassicThesis.pdf}} +} + + +@MANUAL{pantieri:arte, + AUTHOR = {Pantieri, Lorenzo}, + TITLE = {L'arte di scrivere con \LaTeX}, + YEAR = {2008}, + NOTE = {\url{http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf}} +}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex b/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex new file mode 100644 index 00000000000..39232534d72 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Basi.tex @@ -0,0 +1,159 @@ +%************************************************ +\myChapter{Le basi} +\label{cap:basi} +\minitoc\mtcskip +%************************************************ + +In questo capitolo vengono presentate le nozioni, veramente semplici, +che sono alla base del funzionamento di \arsclassica{} +e ne vengono presentate le idee di fondo e le peculiarità. + + + +\section{Introduzione} + +Il\graffito{L'arte di scrivere con \LaTeX} pacchetto \arsclassica{} modifica alcuni aspetti tipografici dello stile \classicthesis, di André Miede~\citep{miede:classicthesis,pantieri:classicthesis}. Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:arte} (e del presente documento). Lo spunto per l'originale rielaborazione di \classicthesis{} mi è stato offerto da Daniel Gottschlag. + + + +\section{Uso del pacchetto} + +Il pacchetto è configurato per essere eseguito su un'installazione \emph{completa} di \miktex{} o \texlive{} e usa font liberamente disponibili. + +L'installazione di \arsclassica{} non presenta particolari difficoltà. Si scarica il file \texttt{ArsClassica.zip} da \url{http://www.lorenzopantieri.net/LaTeX.html} e, dopo averlo decompresso, si installa \texttt{arsclassica.sty} nel solito modo~\citep[p.~25]{pantieri:arte}. + +Il\graffito{ArsClassica richiede la versione~2.5 di ClassicThesis; va caricato dopo quest'ultimo.} pacchetto funziona con le classi \classe{KOMA-Script} (\classe{scrreprt}, \classe{scrbook} e \classe{scrartcl}) e richiede i pacchetti \pacchetto{classicthesis} e \pacchetto{classicthesis-ldpkg} \emph{aggiornati all'ultima versione disponibile (la~2.5)}; deve essere caricato \emph{dopo} questi ultimi. Si carica semplicemente con +\begin{code} +\documentclass[£*\meta{\dots\unkern}*£]{scrreprt} % o scrbook o scrartcl + +\usepackage[£*\meta{\dots\unkern}*£]{classicthesis-ldpkg} +\usepackage[£*\meta{\dots\unkern}*£]{classicthesis} +\usepackage[£*\meta{\dots\unkern}*£]{arsclassica} + +\begin{document} +£*\dots*£ +\end{document} +\end{code} + +Ad esempio, il presente documento è stato ottenuto con il seguente codice: +\begin{code} +\documentclass[10pt,a4paper,twoside,openright,titlepage,fleqn,% + cleardoubleempty,abstracton,pointlessnumbers,% + headinclude,footinclude,BCOR5mm,% + tablecaptionabove]{scrreprt} + +\usepackage{£*\meta{\dots\unkern}*£} +\usepackage{classicthesis-ldpkg} +\usepackage[eulerchapternumbers,subfig,beramono,% + eulermath,pdfspacing]{classicthesis} +\usepackage[italian]{arsclassica} +\usepackage{£*\meta{\dots\unkern}*£} + +\begin{document} +£*\dots*£ +\end{document} +\end{code} + + + +\section{Opzioni del pacchetto} + +Il\graffito{Riferimenti bibliografici finali in italiano} pacchetto \arsclassica{} ha una sola opzione disponibile, l'opzione \opzione{italian}, +\begin{code} +\usepackage[italian]{arsclassica} +\end{code} +che permette di avere in italiano anziché in inglese i riferimenti bibliografici finali (generati dal pacchetto \pacchetto{backref}, caricato automaticamente da \pacchetto{classicthesis-ldpkg}). + + + +\section{Lo stile di ArsClassica} + +Rispetto\graffito{Le peculiarità rispetto a ClassicThesis} a \classicthesis, lo stile tipografico ottenuto con \arsclassica{} si differenzia per i seguenti aspetti: +\begin{itemize} +\item uso del font Iwona,\index{Iwona} di Janusz M.~Nowacki, +per i titoli delle sezioni (capitoli, paragrafi, sottoparagrafi, sotto-sottoparagrafi, capoversi), per le etichette degli elenchi descrittivi, per le testatine e per le intestazioni delle didascalie (\classicthesis{} non usa alcun font sans serif); +\item numeri dei capitoli personalizzati; +\item testatine semitrasparenti; +\item didascalie con intestazioni in neretto (che \classicthesis{} non usa); +\item elenchi puntati con etichette semitrasparenti; +\item indice analitico su due colonne con bilanciamento; +\item interlinea sempre fissata a 1.00 (\classicthesis{} la pone uguale a 1.05, se si usa il font Palatino); +\item note a margine simmetriche (allineate a destra nelle pagine pari, a sinistra in quelle dispari~---~nei documenti fronte-retro), come fa Bringhurst nei suoi \emph{Elementi}~\citep{bringhurst:elementi} (ma non \classicthesis, che allinea le note a margine sempre a sinistra). +\item corpo del testo ``a doppio quadrato'' (come nella versione~2.3 dello stile), per documenti composti in formato~A4 con font Palatino. +\end{itemize} + +Il\graffito{È sconsigliabile modificare le impostazioni di ArsClassica.} pacchetto \arsclassica{} è nato per mettere a disposizione dell'utente uno stile tipografico pronto per l'uso: se si modificano le impostazioni precedenti si corre il rischio di distruggere l'equilibrio dello stile, per cui è \emph{decisamente consigliabile} lasciarle invariate. + +Uno dei punti di forza di \LaTeX{} è che consente di disinteressarsi completamente delle questioni tipografiche, per dar modo all'autore di +concentrarsi unicamente sulla struttura e sui contenuti del proprio documento. Questo fatto dovrebbe sempre essere tenuto presente: +utilizzando uno stile scritto da altri, infatti, l'utente accetta per buone tutte le impostazioni tipografiche scelte per lui dall'autore dello stile e non è più tenuto a studiare tipografia per mettere a punto l'aspetto delle proprie pubblicazioni. Questo vale anche per \arsclassica: modificarne le impostazioni significa contraddire questa filosofia e, di conseguenza, comporta l'obbligo di studiare un (bel) po' di tipografia per ottenere risultati accettabili. + +\looseness=1 +Lo stile ottenuto con \arsclassica{} non è quindi configurabile o personalizzabile (l'unica eccezione è l'opzione \opzione{italian}). Lo stile è qualcosa di molto personale e relativo: se l'utente è soddisfatto da quello messo a disposizione dal pacchetto e trova allettante l'idea di disinteressarsi al problema della definizione dello stile, allora potrà utilizzare con soddisfazione \arsclassica; altrimenti, se un autore ha +esigenze diverse o non è soddisfatto dalla resa grafica del pacchetto, allora può provare a rivolgersi ad altre classi o pacchetti, eventualmente costruendosi da solo lo stile che corrisponde alle proprie aspettative. + + + +\section{Nuovi comandi} + +\subsection{Loghi particolari} +Il\graffito{I comandi \textbackslash ctLaTeX, \textbackslash ctLaTeXe, \textbackslash ctTeX} pacchetto mette a disposizione i comandi \comando{ctLaTeX}, \comando{ctLaTeXe} e \comando{ctTeX}, che permettono di avere rispettivamente i loghi \LaTeX, \LaTeXe{} e \TeX{} composti correttamente se scritti in Iwona.\index{Iwona} + +\subsection{Immagini con lo sfondo colorato} +È\graffito{Il comando \textbackslash myincludegraphics} definito il comando \comando{myincludegraphics}, che permette di inserire un'immagine con lo sfondo di colore ``Azzurro Alice''; il suo funzionamento è analogo a quello di \comando{includegraphics}. +Affinché tutto funzioni, è fondamentale che l'immagine da inserire abbia lo sfondo trasparente. + + + +\section{Esempi} + +\begin{figure}[tb] +\centering +\subfloat[Asia personas duo.] +{\includegraphics[width=.45\linewidth]{Immagini/esempio_1}} \quad +\subfloat[Pan ma signo.] +{\label{fig:example-b}% +\includegraphics[width=.45\linewidth]{Immagini/esempio_2}} \\ +\subfloat[Methodicamente o uno.] +{\includegraphics[width=.45\linewidth]{Immagini/esempio_3}} \quad +\subfloat[Titulo debitas.] +{\includegraphics[width=.45\linewidth]{Immagini/esempio_4}} +\caption[Tu duo titulo debitas latente]{Tu duo titulo debitas +latente.}\label{fig:example} +\end{figure} + +Lorem\graffito{Il contenuto di questo paragrafo è solo del testo fittizio.} ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. + +\subsection*{Un sottoparagrafo} +\lipsum[2] + +\subsubsection*{Un sotto-sottoparagrafo} +\lipsum[3] + +\paragraph{Un capoverso con paragraph} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. + +\bigskip + +\lipsum[2] + +\begin{description} +\item[Mane] Lorem\graffito{Le etichette degli elenchi descrittivi sono in Iwona.\index{Iwona}} ipsum dolor sit amet, consectetuer adipiscing elit. +\item[Tekel] Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. +\item[Fares] Nam arcu libero, nonummy eget, consectetuer +id, vulputate a, magna. +\end{description} + +\begin{table}[tb] +\caption[Lorem ipsum dolor]{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur dictum gravida mauris.} +\centering +\begin{tabular}{cc} +\toprule +$p$ & $\lnot p$ \\ +\midrule +V & F \\ +F & V \\ +\bottomrule +\end{tabular} +\end{table} + +\lipsum[1] diff --git a/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex b/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex new file mode 100644 index 00000000000..ed96ccb34e6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Capitoli/Codice.tex @@ -0,0 +1,394 @@ +%************************************************ +\myChapter{Il codice} +\label{cap:codice} +%************************************************ + + +\lstset{numbers=left, + numberstyle=\scriptsize, + stepnumber=1, + numbersep=8pt +} + +Annuncio del pacchetto e richiesta dei pacchetti necessari. +\begin{lstlisting} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{arsclassica}[2008/10/18 v2.5 Customising + ClassicThesis (LP)] +\RequirePackage{classicthesis-ldpkg} +\RequirePackage{classicthesis} + +\end{lstlisting} +Dichiarazione dell'opzione \opzione{italian}. +\begin{lstlisting}[firstnumber=last] +\newboolean{italian} +\DeclareOption{italian}{\setboolean{italian}{true}} +\ProcessOptions\relax + +\end{lstlisting} +% +Bilanciamento delle colonne dell'indice analitico (se presente). +\begin{lstlisting}[firstnumber=last] +\@ifpackageloaded{makeidx} +{% + \RequirePackage{multicol} + \let\orgtheindex\theindex + \let\orgendtheindex\endtheindex + \def\theindex{% + \def\twocolumn{\begin{multicols}{2}}% + \def\onecolumn{}% + \clearpage + \orgtheindex} + \def\endtheindex{% + \end{multicols}% + \orgendtheindex} + \makeindex +} +{\relax} + +\end{lstlisting} +% +Riferimenti di \pacchetto{backref} in italiano. +\begin{lstlisting}[firstnumber=last] +\ifthenelse{\boolean{italian}}% +{% + \PackageInfo{arsclassica}{Using option "italian". % + This activates italian language in "backref".} + \renewcommand*{\backreftwosep}{ e~} + \renewcommand*{\backreflastsep}{ e~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Citato a pagina~#2.)% + \else + (Citato alle pagine~#2.) + \fi} +} +{\relax} + +\end{lstlisting} +% +Impostazioni di \pacchetto{minitoc}. +\begin{lstlisting}[firstnumber=last] +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{italian}}% + {% + \def\ptctitle{indice} + \def\mtctitle{indice} + \def\stctitle{indice} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + +\end{lstlisting} +Uso di Iwona\index{Iwona} come font sans serif. +\begin{lstlisting}[firstnumber=last] +\renewcommand{\sfdefault}{iwona} + +\end{lstlisting} +% +Numeri dei capitoli personalizzati. +\begin{lstlisting}[firstnumber=last] +\let\chapterNumber\undefined +\ifthenelse{\boolean{eulerchapternumbers}} +{\newfont{\chapterNumber}{eurb10 scaled 5000}}% +{\newfont{\chapterNumber}{pplr9d scaled 5000}} + +\end{lstlisting} +% +Maiuscoletto sans serif. +\begin{lstlisting}[firstnumber=last] +\ifthenelse{\boolean{minionprospacing}}% +{% + \DeclareRobustCommand{\spacedallcaps}[1]{\sffamily% + \textssc{\MakeTextUppercase{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\sffamily\textssc{\MakeTextLowercase{#1}}}% +}{% + \ifthenelse{\boolean{pdfspacing}}% + {% + \microtypesetup{expansion=false}% + \DeclareRobustCommand{\spacedallcaps}[1]% + {\sffamily\textls[160]{\MakeTextUppercase{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\sffamily\textls[80]{\scshape\MakeTextLowercase{#1}}}% + }{% + \RequirePackage{soul} + \sodef\allcapsspacing{\sffamily\upshape}% + {0.15em}{0.65em}{0.6em}% + \sodef\lowsmallcapsspacing{\sffamily\scshape}% + {0.075em}{0.5em}{0.6em}% + \DeclareRobustCommand{\spacedallcaps}[1]% + {\MakeTextUppercase{\allcapsspacing{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\MakeTextLowercase{\textsc% + {\lowsmallcapsspacing{#1}}}}% + }% +} + +\end{lstlisting} +% +Testatine semitrasparenti e numeri di pagina in Iwona. +\begin{lstlisting}[firstnumber=last] +\renewcommand{\sectionmark}[1]{\markright{\textsc% +{\MakeTextLowercase{\thesection}} \spacedlowsmallcaps{#1}}} +\lehead{\mbox{\llap{\small\thepage\kern1em\color{halfgray}% +\vline}% +\color{halfgray}\hspace{0.5em}\headmark\hfil}} +\rohead{\mbox{\hfil{\color{halfgray}% +\headmark\hspace{0.5em}}% +\rlap{\small{\color{halfgray}\vline}\kern1em\thepage}}} +\renewcommand{\headfont}{\normalfont\sffamily} +\renewcommand{\pnumfont}{\small\sffamily} + +\end{lstlisting} +% +Uso del font Iwona\index{Iwona} per i titoli delle sezioni (capitoli, paragrafi, sottoparagrafi, sotto-sottoparagrafi, capoversi) e delle etichette degli elenchi descrittivi. +\begin{lstlisting}[firstnumber=last] +\RequirePackage{titlesec} + % parts + \ifthenelse{\boolean{parts}}% + {% + \titleformat{\part}[display] + {\normalfont\centering\large}% + {\thispagestyle{empty}\partname~\thepart}{1em}% + {\color{Maroon}\spacedallcaps} + }{\relax} + % chapters + \ifthenelse{\boolean{linedheaders}}% + {% + \titleformat{\chapter}[display]% + {\relax}{\raggedleft{\color{halfgray}% + \chapterNumber\thechapter} \\ }{0pt}% + {\titlerule\vspace*{.9\baselineskip}\raggedright% + \spacedallcaps}% + [\normalsize\vspace*{.8\baselineskip}\titlerule]% + }{% + \titleformat{\chapter}[block]% + {\normalfont\Large\sffamily}% + {{\color{halfgray}\chapterNumber\thechapter% + \hspace{10pt}\vline} }{10pt}% + {\spacedallcaps}} + % sections + \titleformat{\section} + {\normalfont\Large\sffamily}{\textsc% + {\MakeTextLowercase{\thesection}}}% + {1em}{\spacedlowsmallcaps} + % subsections + \titleformat{\subsection} + {\normalfont\sffamily}{\textsc{\MakeTextLowercase% + {\thesubsection}}}{1em}{\normalsize} + % subsubsections + \titleformat{\subsubsection} + {\normalfont\sffamily\itshape}{\textsc% + {\MakeTextLowercase{\thesubsubsection}}}% + {1em}{\normalsize\itshape} + % paragraphs + \titleformat{\paragraph}[runin] + {\normalfont\normalsize\sffamily}{\textsc% + {\MakeTextLowercase{\theparagraph}}}% + {0pt}{\spacedlowsmallcaps} + % descriptionlabels + \renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}% + \bfseries\spacedlowsmallcaps{#1}} + \titlespacing*{\chapter}{0pt}{1\baselineskip}% + {2\baselineskip} + \titlespacing*{\section}{0pt}{2\baselineskip}% + {.8\baselineskip}[\marginparsep] + \titlespacing*{\subsection}{0pt}{1.5\baselineskip}% + {.8\baselineskip}[\marginparsep] + \titlespacing*{\paragraph}{0pt}{1\baselineskip}% + {1\baselineskip} + +\end{lstlisting} +% +Elenchi puntati con etichette semitrasparenti. +\begin{lstlisting}[firstnumber=last] +\renewcommand\labelitemi{\color{halfgray}$\bullet$} + +\end{lstlisting} +% +Impostazione delle didascalie. +\begin{lstlisting}[firstnumber=last] +\captionsetup{format=hang,font=small,labelfont={sf,bf}} +\captionsetup[table]{skip=\medskipamount} + +\end{lstlisting} +% +Note a margine simmetriche. +\begin{lstlisting}[firstnumber=last] +\let\graffito\relax +\def\graffito@setup{% + \slshape\footnotesize% + \parindent=0pt \lineskip=0pt \lineskiplimit=0pt % + \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300 + \doublehyphendemerits=100000 + \finalhyphendemerits=\doublehyphendemerits} +\DeclareRobustCommand{\graffito}[1]{\marginpar + [\graffito@setup\raggedleft\hspace{0pt}{#1}] + {\graffito@setup\raggedright\hspace{0pt}{#1}}} + +\end{lstlisting} +% +Interlinea. +\begin{lstlisting}[firstnumber=last] +\linespread{1.00} + +\end{lstlisting} +% +Corpo del testo ``a doppio quadrato'' (come nella versione~2.3 dello stile), per documenti composti in formato A4 con font Palatino. +\begin{lstlisting}[firstnumber=last] +\ifthenelse{\boolean{@a5paper}}% + {\relax}% + {% A4 + \ifthenelse{\boolean{@minionpro}}% + {\relax}% + {% Palatino or other + \PackageInfo{classicthesis}{A4 paper, Palatino or other} + \areaset[5mm]{312pt}{699pt} + % 624 + 33 head + 42 head \the\footskip + \setlength{\marginparwidth}{7em}% + \setlength{\marginparsep}{2em}% + }% + } + +\end{lstlisting} +% +Si definisce il comando +{\ttfamily\textbackslash\color{RoyalBlue}{myincludegraphics}}, +%\comando{myincludegraphics}, +che permette di inserire un'immagine con lo sfondo di colore ``Azzurro Alice''. +\begin{lstlisting}[firstnumber=last] +\definecolor{aliceblue}{RGB}{240,248,255} + +\newcommand{\myincludegraphics}[2][]{% +\begingroup\setlength{\fboxsep}{0pt}% +\colorbox{aliceblue}{\includegraphics[#1]{#2}}% +\endgroup} + +\end{lstlisting} +Impostazioni di \pacchetto{hyperref}. +\begin{lstlisting}[firstnumber=last] +\hypersetup{% + colorlinks=true, linktocpage=true, pdfstartpage=3, + pdfstartview=FitV, breaklinks=true, pdfpagemode=UseNone, + pageanchor=true, pdfpagemode=UseOutlines,% + plainpages=false, bookmarksnumbered, + bookmarksopen=true,% + bookmarksopenlevel=1,% + hypertexnames=true, pdfhighlight=/O,% + urlcolor=webbrown, linkcolor=RoyalBlue, + citecolor=RoyalBlue,% + pagecolor=RoyalBlue,% + pdfsubject={},% + pdfkeywords={},% + pdfcreator={pdfLaTeX},% + pdfproducer={LaTeX con hyperref e ClassicThesis}% +} + +\ifdefined\myTitle + \hypersetup{pdftitle={\myTitle}} +\else + \relax +\fi + +\ifdefined\myName + \hypersetup{pdfauthor={\textcopyright\ \myName}} +\else + \relax +\fi + +\end{lstlisting} +% +Definizione dei comandi +{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeX}}, +{\ttfamily\textbackslash\color{RoyalBlue}{ctLaTeXe}} e +{\ttfamily\textbackslash\color{RoyalBlue}{ctTeX}}, +per avere rispettivamente i loghi \LaTeX, \LaTeXe{} e \TeX{} composti correttamente se scritti in Iwona.\index{Iwona} +\begin{lstlisting}[firstnumber=last] +\def\@ppljLaTeX{{\upshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont A}% + \sbox\tw@ T% + L\kern-.55\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.25\wd0 + \@ctTeX}} +\def\@ppljTeX{{\upshape T\kern -.08em \lower .3ex\hbox{E}% +\kern -.08em X}} + +\def\@ppljscLaTeX{{\upshape\scshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont a}% + \sbox\tw@ t% + l\kern-.6\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.25\wd0 + \@ctTeX}} +\def\@ppljscTeX{{\upshape\scshape t\kern -.085em +\lower .25ex\hbox{e}\kern -.085em x}} + +\def\@iwonaLaTeX{{\upshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont A}% + \sbox\tw@ T% + L\kern-.5\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.2\wd0 + \@ctTeX}} +\def\@iwonaTeX{{\upshape T\kern -.12em \lower .3ex\hbox{E}% + \kern -.12em X}} + +\def\@iwonascLaTeX{{\upshape\scshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse% + \selectfont a}% + \sbox\tw@ t% + l\kern-.5\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.2\wd0 + \@ctTeX}} +\def\@iwonascTeX{{\upshape\scshape t\kern -.1em + \lower .25ex\hbox{e}\kern -.1em x}} + +\def\ct@sc{sc} +\def\@ctTeX{\csname @\f@family\ifx\f@shape\ct@sc sc% +\fi TeX\endcsname} + +\DeclareRobustCommand\ctLaTeX{% + \texorpdfstring{\textls[1]{\csname @\f@family\ifx% + \f@shape\ct@sc sc\fi LaTeX\endcsname}}{LaTeX}} +\DeclareRobustCommand\ctLaTeXe{% + \texorpdfstring{\textls[1]{\ctLaTeX\csname @\ifx% + \f@shape\ct@sc sc\fi twoe\endcsname}}{LaTeX2e}} + +\def\@twoe{\kern.1em$\m@th2_{\textstyle\varepsilon}$} +\def\@sctwoe{\kern.15em$\m@th{\scriptscriptstyle2}% +_\varepsilon$} + +\DeclareRobustCommand\ctTeX{% + \texorpdfstring{\textls[1]{\csname @\f@family\f@shape TeX% + \endcsname}}{TeX}} + +\end{lstlisting} +% +Il codice seguente permette di avere, nell'indice generale, le testatine in maiuscoletto spaziato, anche quando l'indice occupa più di due pagine (rimediando ad un piccolo difetto di \classicthesis). +\begin{lstlisting}[firstnumber=last] +\def\toc@headingbkORrp{% + \def\toc@heading{% + \chapter*{\contentsname}% + \@mkboth{\spacedlowsmallcaps{\contentsname}} + {\spacedlowsmallcaps{\contentsname}}}} +\@ifclassloaded{scrreprt}{\toc@headingbkORrp}{} +\@ifclassloaded{scrbook}{\toc@headingbkORrp}{} +\end{lstlisting} diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg Binary files differnew file mode 100644 index 00000000000..4153f62b87b --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Immagini/Uccelli.jpg diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg Binary files differnew file mode 100644 index 00000000000..530ede18c47 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_1.jpg diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg Binary files differnew file mode 100644 index 00000000000..ba7e101e8fd --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_2.jpg diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg Binary files differnew file mode 100644 index 00000000000..46113f520b0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_3.jpg diff --git a/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg Binary files differnew file mode 100644 index 00000000000..d15a4472855 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/Immagini/esempio_4.jpg diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex new file mode 100644 index 00000000000..c2ba4a43e35 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Bibliografia.tex @@ -0,0 +1,16 @@ +%******************************************************* +% Bibliografia +%******************************************************* +\manualmark +\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} +\refstepcounter{dummy} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax + +\addcontentsline{toc}{chapter}{\tocEntry{\bibname}} +\bibliographystyle{classic} +\bibliography{Bibliografia} +\nocite{bringhurst:elementi,miede:classicthesis,pantieri:classicthesis,pantieri:arte} +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex new file mode 100644 index 00000000000..f28bb0c1ad7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/DietroAlTitolo.tex @@ -0,0 +1,26 @@ +%******************************************************* +% Dietro al titolo +%******************************************************* +\thispagestyle{empty} + +\hfill + +\vfill + +\noindent\myName: +\textit{\myTitle,} \mySubTitle, +\textcopyright\ \MakeTextLowercase{\myTime}. + +\medskip +\noindent{\spacedlowsmallcaps{Sito Web}}: \\ +\url{http://www.lorenzopantieri.net/} + +\medskip +\noindent{\spacedlowsmallcaps{E-mail}}: \\ +\mail{lorenzo.pantieri@iperbole.bologna.it} + +\vspace{1cm} +\hrule +\bigskip + +\noindent Nel frontespizio è riprodotta un'incisione di Maurits C.~Escher, dal titolo \textit{Tassellazione del piano con Uccelli} (l'immagine è tratta da \url{http://www.mcescher.com/}). diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex new file mode 100644 index 00000000000..d8b3b9bfa23 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Frontespizio.tex @@ -0,0 +1,34 @@ +\begin{titlepage} +\pdfbookmark[1]{Frontespizio}{Frontespizio} +\changetext{}{}{}{((\paperwidth - \textwidth) / 2) - \oddsidemargin - \hoffset - 1in}{} +\null\vfill +\begin{center} +\large + +\bigskip + +{\LARGE\spacedlowsmallcaps{\myTitle} \\ +} +\bigskip + +\spacedlowsmallcaps{\myName} + +\vspace{9cm} + +\begin{tabular} {cc} +\parbox{0.3\textwidth}{\includegraphics[width=2.5cm]{Uccelli}} +& +\parbox{0.7\textwidth}{{\Large\spacedlowsmallcaps{\mySubTitle}} \\ + + {\normalsize + + \myGroup \\ + \myUrl \\ + \myTime}} + \end{tabular} +\end{center} +\vfill +\end{titlepage} + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex new file mode 100644 index 00000000000..f87eba03418 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/IndiceAnalitico.tex @@ -0,0 +1,14 @@ +%******************************************************* +% Indice analitico +%******************************************************* +\manualmark +\markboth{\spacedlowsmallcaps{\indexname}}{\spacedlowsmallcaps{\indexname}} +\refstepcounter{dummy} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax +\pagestyle{scrheadings} +\addcontentsline{toc}{chapter}{\tocEntry{\indexname}} +\printindex +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex new file mode 100644 index 00000000000..46f56a47ff6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Indici.tex @@ -0,0 +1,20 @@ +%******************************************************* +% Indici +%******************************************************* +\refstepcounter{dummy} +\pdfbookmark[1]{\contentsname}{tableofcontents} +\setcounter{tocdepth}{2} +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax + +\dominitoc\tableofcontents +\endgroup +\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}} + +\begingroup + \let\clearpage\relax + \let\cleardoublepage\relax + \let\cleardoublepage\relax +\endgroup diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex new file mode 100644 index 00000000000..e81ed9b1118 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Ringraziamenti.tex @@ -0,0 +1,21 @@ +%******************************************************* +% Ringraziamenti +%******************************************************* +\pdfbookmark[1]{Ringraziamenti}{ringraziamenti} + +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Ringraziamenti} + +Desidero ringraziare in primo luogo i membri dello Staff del Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\guit*, \url{http://www.guit.sssup.it/}), in particolare il Prof.~Enrico Gregorio e Andrea Tonelli, per l'impagabile aiuto fornito nella redazione di questo lavoro, le spiegazioni dettagliate, la pazienza e la precisione nei suggerimenti, le soluzioni fornite, la competenza e la disponibilità. +Grazie anche tutti quelli che hanno discusso con me sul forum del \guit*, prodighi di preziose osservazioni e di validi consigli. + +Ringrazio infine André Miede, per aver realizzato lo splendido stile \classicthesis, e Daniel Gottschlag, che mi ha dato lo spunto per realizzarne un'originale rielaborazione. + +\endgroup + + + diff --git a/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex new file mode 100644 index 00000000000..427cd2c3de0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/MaterialeInizialeFinale/Sommario+Abstract.tex @@ -0,0 +1,33 @@ +%******************************************************* +% Sommario+Abstract +%******************************************************* + +\pdfbookmark[1]{Sommario}{Sommario} +\begingroup +\let\clearpage\relax +\let\cleardoublepage\relax +\let\cleardoublepage\relax + +\chapter*{Sommario} +Il pacchetto modifica alcuni aspetti tipografici dello stile \classicthesis, di André Miede. +Permette di riprodurre la veste grafica della guida \emph{L'arte di scrivere con \LaTeX}~\citep{pantieri:arte}. +Lo spunto per l'originale rielaborazione di \classicthesis{} mi è stato offerto da Daniel Gottschlag. +Il pacchetto è stato scritto per il Gruppo Utilizzatori Italiani di \TeX{} e \LaTeX{} (\GuIT, \url{http://www.guit.sssup.it/}). + +\vfill + +\selectlanguage{english} +\pdfbookmark[1]{Abstract}{Abstract} +\chapter*{Abstract} +The package changes some typographical points of the \classicthesis{} style, by André Miede. +It allows to reproduce the look of the guide \emph{The art of writing with \LaTeX} (in Italian)~\citep{pantieri:arte}. +The hint for the original modification of \classicthesis{} was gave to me by Daniel Gottschlag. +The package was written for the Italian \TeX{} User Group (\GuIT, \url{http://www.guit.sssup.it/}). + + +\selectlanguage{italian} + +\endgroup + +\vfill + diff --git a/Master/texmf-dist/doc/latex/arsclassica/README b/Master/texmf-dist/doc/latex/arsclassica/README new file mode 100644 index 00000000000..6ed4f38ef7b --- /dev/null +++ b/Master/texmf-dist/doc/latex/arsclassica/README @@ -0,0 +1,38 @@ +********************************************************** +* Package ArsClassica * +********************************************************** + +Copyright (C) 2008 Lorenzo Pantieri + + http://www.lorenzopantieri.net/ + sit6113@iperbole.bologna.it + + +License + + This software is provided under the terms of the + LaTeX Project Public License distributed from CTAN + archives in directory macros/latex/base/lppl.txt. + + +Abstract + + The package changes some typographical points of + the ClassicThesis style, by AndrŽ Miede. + It allows to reproduce the look of the guide + "The art of writing with LaTeX" (in Italian; + http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf). + The hint for the original modification of + ClassicThesis was gave to me by Daniel Gottschlag. + The package was written for the Italian TeX User + Group (GuIT, http://www.guit.sssup.it/). + Your comments are highly appreciated. + + +Installation + + Move arsclassica.sty into a directory searched + by LaTeX. If necessary, refresh the database + to finish installation. + To produce the documentation, run ArsClassica.tex + through pdfLaTeX.
\ No newline at end of file diff --git a/Master/texmf-dist/makeindex/arsclassica/classic.ist b/Master/texmf-dist/makeindex/arsclassica/classic.ist new file mode 100644 index 00000000000..d0295c3f44f --- /dev/null +++ b/Master/texmf-dist/makeindex/arsclassica/classic.ist @@ -0,0 +1,7 @@ +headings_flag 1 +heading_prefix "\n \\item \\textsc{" +heading_suffix "}" +symhead_positive "Simboli" +symhead_negative "simboli" +numhead_positive "Numeri" +numhead_negative "numeri" diff --git a/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty b/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty new file mode 100644 index 00000000000..505464593a7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arsclassica/adhoc.sty @@ -0,0 +1,113 @@ +\graphicspath{{Immagini/}} + +\newcommand{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} + +\newcommand{\inglese}[1]{% + \begin{otherlanguage*}{english}#1\end{otherlanguage*}} + +\DeclareRobustCommand*{\pacchetto}[1]{{\normalfont\ttfamily#1}% +\index{Pacchetto!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\ambiente}[1]{{\normalfont\ttfamily#1}% +\index{Ambiente!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\opzione}[1]{{\normalfont\ttfamily#1}% +\index{Opzione!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\classe}[1]{{\normalfont\ttfamily#1}% +\index{Classe!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\programma}[1]{{\normalfont\ttfamily#1}% +\index{Programma!#1@\texttt{#1}}% +\index{#1@\texttt{#1}}} + +\DeclareRobustCommand*{\comando}[1]{\mbox{\lstinline!\\#1!}% +\index{#1@\texttt{\hspace*{-1.2ex}\textbackslash#1}}} + +\DeclareRobustCommand*{\classicthesis}{Classic\-Thesis} + +\DeclareRobustCommand*{\arsclassica}{{\normalfont\ttfamily ArsClassica}} + +\newcommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$} + +\DeclareRobustCommand*{\miktex}{MiK\TeX% +\index{miktex@MiK\protect\TeX}} + +\DeclareRobustCommand*{\texlive}{\TeX{}~Live% +\index{texlive@\protect\TeX{}~Live}} + +\lstset{ morekeywords=% + {RequirePackage,newboolean,DeclareOption,setboolean,% + ProcessOptions,PackageError,ifthenelse,boolean,% + chapterNumber,sodef,textls,allcapsspacing,% + MakeTextLowercase,orgtheindex,endtheindex,% + @ifpackageloaded,undefined,sfdefault,% + DeclareRobustCommand,spacedallcaps,% + microtypesetup,MakeTextUppercase,lowsmallcapsspacing,% + lowsmallcapsspacing,spacedlowsmallcaps, + spacedlowsmallcaps,lehead,headmark,color,% + headfont,partname,thepart,titleformat,part, + titlerule,chapter,thechapter,thesection,% + subsection,thesubsection,thesubsubsection,% + paragraph,theparagraph,descriptionlabel,titlespacing,% + graffito,lineskiplimit,finalhyphendemerits,% + colorbox,captionsetup,labelitemi,% + myincludegraphics,hypersetup,setlength,% + definecolor,lsstyle,textssc,subsubsection,% + graffito@setup,includegraphics,ifdefined,% + myTitle,textcopyright,myName,lstset,lstnewenvironment,% + setkeys,lst@BeginAlsoWriteFile,contentsname,% + toc@heading,@ppljLaTeX,z@,check@mathfonts,% + sf@size,ptctitle,mtctitle,stctitle,lst@intname,% + @empty,math@fontsfalse,@ppljscTeX,@iwonaTeX,% + @iwonascLaTeX,@ctTeX,tw@,ct@sc,@ctTeX,f@family,% + f@shape,ct@sc,ctLaTeX,ctLaTeXe,@twoe,@sctwoe,% + texorpdfstring,m@th,ctTeX,@mkboth,ProvidesPackage,% + theindex,PackageInfo,PackageWarningNoLine,% + mtifont,mtcindent,@iwonaLaTeX,@ppljTeX,@iwonascTeX,% + rohead,orgendtheindex,@ppljscLaTeX,% + @ifclassloaded,toc@headingbkORrp,backreftwosep,% + backrefalt,backreflastsep,areaset,pnumfont},% + commentstyle=\color{Emerald}\ttfamily,% + frame=lines} + +\lstset{basicstyle=\normalfont\ttfamily} +\lstset{flexiblecolumns=false} +\lstset{moredelim={[is][\ttfamily]{!?}{?!}}} +\lstset{escapeinside={£*}{*£}} + +\lstnewenvironment{code}% +{\setkeys{lst}{columns=fullflexible,keepspaces=true}% +\lstset{basicstyle=\small\ttfamily}% +}{} + +\lstset{extendedchars} +\lstnewenvironment{sidebyside}{% + \global\let\lst@intname\@empty + \setbox\z@=\hbox\bgroup + \setkeys{lst}{columns=fullflexible,% + linewidth=0.45\linewidth,keepspaces=true,% + breaklines=true,% + breakindent=0pt,% + boxpos=t,% + basicstyle=\small\ttfamily +}% + \lst@BeginAlsoWriteFile{\jobname.tmp}% +}{% + \lst@EndWriteFile\egroup + \begin{center}% + \begin{minipage}{0.45\linewidth}% + \hbox to\linewidth{\box\z@\hss} + \end{minipage}% + \qquad + \begin{minipage}{0.45\linewidth}% + \setkeys{lst}{frame=none}% + \leavevmode \catcode`\^^M=5\relax + \small\input{\jobname.tmp}% + \end{minipage}% + \end{center}% +} diff --git a/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty b/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty new file mode 100644 index 00000000000..8d526b359b3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arsclassica/arsclassica.sty @@ -0,0 +1,379 @@ +%************************************************************ +% arsclassica.sty +% +% copyright (C) 2008 Lorenzo Pantieri +% http://www.lorenzopantieri.net/ +% +%************************************************************ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{arsclassica}[2008/10/18 v2.5 Customising ClassicThesis (LP)] +\RequirePackage{classicthesis-ldpkg} +\RequirePackage{classicthesis} + + +%************************************************************ +% Options +%************************************************************ +\newboolean{italian} +\DeclareOption{italian}{\setboolean{italian}{true}} +\ProcessOptions\relax + + +%************************************************************ +% The index +%************************************************************ +\@ifpackageloaded{makeidx} +{% + \RequirePackage{multicol} + \let\orgtheindex\theindex + \let\orgendtheindex\endtheindex + \def\theindex{% + \def\twocolumn{\begin{multicols}{2}}% + \def\onecolumn{}% + \clearpage + \orgtheindex} + \def\endtheindex{% + \end{multicols}% + \orgendtheindex} + \makeindex +} +{\relax} + + +%************************************************************ +% backref +%************************************************************ +\ifthenelse{\boolean{italian}}% +{% + \PackageInfo{arsclassica}{Using option "italian". % + This activates italian language in "backref".} + \renewcommand*{\backreftwosep}{ e~} + \renewcommand*{\backreflastsep}{ e~} + \renewcommand*{\backrefalt}[4]{% + \ifcase #1 % + \relax% + \or + (Citato a pagina~#2.)% + \else + (Citato alle pagine~#2.) + \fi} +} +{\relax} + + +%************************************************************ +% minitoc +%************************************************************ +\@ifpackageloaded{minitoc} +{% + \ifthenelse{\boolean{italian}}% + {% + \def\ptctitle{indice} + \def\mtctitle{indice} + \def\stctitle{indice} + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } + {% + \setlength{\mtcindent}{0pt} + \renewcommand{\mtifont}{\normalsize\sffamily% + \scshape\lsstyle} + } +} +{\relax} + + +%************************************************************ +% Iwona +%************************************************************ +\renewcommand{\sfdefault}{iwona} + + +%************************************************************ +% Chapter numbers +%************************************************************ +\let\chapterNumber\undefined +\ifthenelse{\boolean{@eulerchapternumbers}} +{\newfont{\chapterNumber}{eurb10 scaled 5000}}% +{\newfont{\chapterNumber}{pplr9d scaled 5000}} + + +%************************************************************ +% Fancy stuff +%************************************************************ +\ifthenelse{\boolean{@minionprospacing}}% +{% + \DeclareRobustCommand{\spacedallcaps}[1]{\sffamily% + \textssc{\MakeTextUppercase{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\sffamily\textssc{\MakeTextLowercase{#1}}}% +}{% + \ifthenelse{\boolean{@pdfspacing}}% + {% + \microtypesetup{expansion=false}% + \DeclareRobustCommand{\spacedallcaps}[1]% + {\sffamily\textls[160]{\MakeTextUppercase{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\sffamily\textls[80]{\scshape\MakeTextLowercase{#1}}}% + }{% + \RequirePackage{soul} + \sodef\allcapsspacing{\sffamily\upshape}% + {0.15em}{0.65em}{0.6em}% + \sodef\lowsmallcapsspacing{\sffamily\scshape}% + {0.075em}{0.5em}{0.6em}% + \DeclareRobustCommand{\spacedallcaps}[1]% + {\MakeTextUppercase{\allcapsspacing{#1}}}% + \DeclareRobustCommand{\spacedlowsmallcaps}[1]% + {\MakeTextLowercase{\textsc% + {\lowsmallcapsspacing{#1}}}}% + }% +} +%************************************************************ + + +%************************************************************ +% Headlines +%************************************************************ +\renewcommand{\sectionmark}[1]{\markright{\textsc% +{\MakeTextLowercase{\thesection}} \spacedlowsmallcaps{#1}}} +\lehead{\mbox{\llap{\small\thepage\kern1em\color{halfgray}% +\vline}% +\color{halfgray}\hspace{0.5em}\headmark\hfil}} +\rohead{\mbox{\hfil{\color{halfgray}% +\headmark\hspace{0.5em}}% +\rlap{\small{\color{halfgray}\vline}\kern1em\thepage}}} +\renewcommand{\headfont}{\normalfont\sffamily} +\renewcommand{\pnumfont}{\small\sffamily} + + +%************************************************************ +% Layout of the chapter-, section-, subsection-, +% subsubsection-, paragraph and description-headings +%************************************************************ +\RequirePackage{titlesec} + % parts + \ifthenelse{\boolean{@parts}}% + {% + \titleformat{\part}[display] + {\normalfont\centering\large}% + {\thispagestyle{empty}\partname~\thepart}{1em}% + {\color{Maroon}\spacedallcaps} + }{\relax} + % chapters + \ifthenelse{\boolean{@linedheaders}}% + {% + \titleformat{\chapter}[display]% + {\relax}{\raggedleft{\color{halfgray}% + \chapterNumber\thechapter} \\ }{0pt}% + {\titlerule\vspace*{.9\baselineskip}\raggedright% + \spacedallcaps}% + [\normalsize\vspace*{.8\baselineskip}\titlerule]% + }{% + \titleformat{\chapter}[block]% + {\normalfont\Large\sffamily}% + {{\color{halfgray}\chapterNumber\thechapter% + \hspace{10pt}\vline} }{10pt}% + {\spacedallcaps}} + % sections + \titleformat{\section} + {\normalfont\Large\sffamily}{\textsc% + {\MakeTextLowercase{\thesection}}}% + {1em}{\spacedlowsmallcaps} + % subsections + \titleformat{\subsection} + {\normalfont\sffamily}{\textsc{\MakeTextLowercase% + {\thesubsection}}}{1em}{\normalsize} + % subsubsections + \titleformat{\subsubsection} + {\normalfont\sffamily\itshape}{\textsc% + {\MakeTextLowercase{\thesubsubsection}}}% + {1em}{\normalsize\itshape} + % paragraphs + \titleformat{\paragraph}[runin] + {\normalfont\normalsize\sffamily}{\textsc% + {\MakeTextLowercase{\theparagraph}}}% + {0pt}{\spacedlowsmallcaps} + % descriptionlabels + \renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}% + \bfseries\spacedlowsmallcaps{#1}} + \titlespacing*{\chapter}{0pt}{1\baselineskip}% + {2\baselineskip} + \titlespacing*{\section}{0pt}{2\baselineskip}% + {.8\baselineskip}[\marginparsep] + \titlespacing*{\subsection}{0pt}{1.5\baselineskip}% + {.8\baselineskip}[\marginparsep] + \titlespacing*{\paragraph}{0pt}{1\baselineskip}% + {1\baselineskip} + + +%************************************************************ +% itemize +%************************************************************ +\renewcommand\labelitemi{\color{halfgray}$\bullet$} + + +%************************************************************ +% caption +%************************************************************ +\captionsetup{format=hang,font=small,labelfont={sf,bf}} +\captionsetup[table]{skip=\medskipamount} + + +%************************************************************ +% graffito +%************************************************************ +\let\graffito\relax +\def\graffito@setup{% + \slshape\footnotesize% + \parindent=0pt \lineskip=0pt \lineskiplimit=0pt % + \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300 + \doublehyphendemerits=100000 + \finalhyphendemerits=\doublehyphendemerits} +\DeclareRobustCommand{\graffito}[1]{\marginpar + [\graffito@setup\raggedleft\hspace{0pt}{#1}] + {\graffito@setup\raggedright\hspace{0pt}{#1}}} + + +%************************************************************ +% linespread +%************************************************************ +\linespread{1.00} + + +%************************************************************ +% text body +%************************************************************ +\ifthenelse{\boolean{@a5paper}}% + {\relax}% + {% A4 + \ifthenelse{\boolean{@minionpro}}% + {\relax}% + {% Palatino or other + \PackageInfo{classicthesis}{A4 paper, Palatino or other} + \areaset[5mm]{312pt}{699pt} + % 624 + 33 head + 42 head \the\footskip + \setlength{\marginparwidth}{7em}% + \setlength{\marginparsep}{2em}% + }% + } + + +%************************************************************ +% graphicx, xcolor +%************************************************************ +\definecolor{aliceblue}{RGB}{240,248,255} + +\newcommand{\myincludegraphics}[2][]{% +\begingroup\setlength{\fboxsep}{0pt}% +\colorbox{aliceblue}{\includegraphics[#1]{#2}}% +\endgroup} + + +%************************************************************ +% hyperref +%************************************************************ +\hypersetup{% + colorlinks=true, linktocpage=true, pdfstartpage=3, + pdfstartview=FitV, breaklinks=true, pdfpagemode=UseNone, + pageanchor=true, pdfpagemode=UseOutlines,% + plainpages=false, bookmarksnumbered, + bookmarksopen=true,% + bookmarksopenlevel=1,% + hypertexnames=true, pdfhighlight=/O,% + urlcolor=webbrown, linkcolor=RoyalBlue, + citecolor=RoyalBlue,% + pagecolor=RoyalBlue,% + pdfsubject={},% + pdfkeywords={},% + pdfcreator={pdfLaTeX},% + pdfproducer={LaTeX con hyperref e ClassicThesis}% +} + +\ifdefined\myTitle + \hypersetup{pdftitle={\myTitle}} +\else + \relax +\fi + +\ifdefined\myName + \hypersetup{pdfauthor={\textcopyright\ \myName}} +\else + \relax +\fi + + +%************************************************************ +% \ctLaTeX, \ctLaTeXe, \ctTeX +%************************************************************ +\def\@ppljLaTeX{{\upshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont A}% + \sbox\tw@ T% + L\kern-.55\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.25\wd0 + \@ctTeX}} +\def\@ppljTeX{{\upshape T\kern -.08em \lower .3ex\hbox{E}% +\kern -.08em X}} + +\def\@ppljscLaTeX{{\upshape\scshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont a}% + \sbox\tw@ t% + l\kern-.6\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.25\wd0 + \@ctTeX}} +\def\@ppljscTeX{{\upshape\scshape t\kern -.085em +\lower .25ex\hbox{e}\kern -.085em x}} + +\def\@iwonaLaTeX{{\upshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse\selectfont A}% + \sbox\tw@ T% + L\kern-.5\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.2\wd0 + \@ctTeX}} +\def\@iwonaTeX{{\upshape T\kern -.12em \lower .3ex\hbox{E}% + \kern -.12em X}} + +\def\@iwonascLaTeX{{\upshape\scshape + \sbox\z@{\check@mathfonts\fontsize\sf@size\z@% + \math@fontsfalse% + \selectfont a}% + \sbox\tw@ t% + l\kern-.5\wd\z@ + \vbox to\ht\tw@{\copy\z@\vss}% + \kern-.2\wd0 + \@ctTeX}} +\def\@iwonascTeX{{\upshape\scshape t\kern -.1em + \lower .25ex\hbox{e}\kern -.1em x}} + +\def\ct@sc{sc} +\def\@ctTeX{\csname @\f@family\ifx\f@shape\ct@sc sc% +\fi TeX\endcsname} + +\DeclareRobustCommand\ctLaTeX{% + \texorpdfstring{\textls[1]{\csname @\f@family\ifx% + \f@shape\ct@sc sc\fi LaTeX\endcsname}}{LaTeX}} +\DeclareRobustCommand\ctLaTeXe{% + \texorpdfstring{\textls[1]{\ctLaTeX\csname @\ifx% + \f@shape\ct@sc sc\fi twoe\endcsname}}{LaTeX2e}} + +\def\@twoe{\kern.1em$\m@th2_{\textstyle\varepsilon}$} +\def\@sctwoe{\kern.15em$\m@th{\scriptscriptstyle2}% +_\varepsilon$} + +\DeclareRobustCommand\ctTeX{% + \texorpdfstring{\textls[1]{\csname @\f@family\f@shape TeX% + \endcsname}}{TeX}} + +\def\toc@headingbkORrp{% + \def\toc@heading{% + \chapter*{\contentsname}% + \@mkboth{\spacedlowsmallcaps{\contentsname}} + {\spacedlowsmallcaps{\contentsname}}}} +\@ifclassloaded{scrreprt}{\toc@headingbkORrp}{} +\@ifclassloaded{scrbook}{\toc@headingbkORrp}{}
\ No newline at end of file |