[TeX slo] ConTeXt predloga oz. stil

Mojca Miklavec mojca.miklavec.lists na gmail.com
Tor Okt 7 12:39:21 CEST 2008


2008/10/7 Bostjan Vesnicer:
> Pozdravljeni,
>
> ima mogoče kdo pri roki kak ConTeXt stil za pisanje diplomskih nalog,
> disertacij ipd., ki bi lahko služil kot izhodišče pri oblikovanju lastnega
> stila.

Zivijo Bostjan,

Matija je na wiki-ju objavil tole:

http://wiki.contextgarden.net/Law_Faculty_University_of_Ljubljana_Styling_and_citations

Eden od naprednejsih uporabnikov je objavil svoj doktorat (nisem
gledala izvorne kode):
Thesis:
    http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.pdf
Source:
    http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz
Presentation:
    http://www.eecs.umich.edu/~adityam/publications/thesis/thesis-presentation.pdf


Odvisno od tega, kaj zelis imeti. Prilagam par nastavitev, ki sem jih
uporabljala za domace naloge. (Se vedno moras najbrz imeti posebej
kazalo in prvo stran in ...), ampak lahko zacnes tu oz. vprasas, ce te
kaj muci. Willi ima se par dobrih slajdov za "introduction to
ConTeXt", ki pa jih se vedno cakam.

Mojca


\setupcolors
	[state=start]
\enableregime
	[utf-8]
\mainlanguage
	[sl]
\setuppapersize
	[A4][A4]
\setuplayout
	[backspace=1in,
	 topspace=1in,
	 width=middle,
	 height=middle,
	 header=25pt,
	 headerdistance=20pt]
\usemodule
	[bib]
\setuppublications
	[alternative=num,
	 criterium=all,
	 sorttype=cite]
\setuppublicationlist
	[artauthor=\normalshortauthor,
	 author=\normalshortauthor]

%\input literatura
%\input slikce

\setuphead
	[title]
	[style=\bfc,
	 page=yes,
	 align=middle]
\setuphead
	[section]
	[style=\bfb,
	 color=blue,
	 before=]
\setuphead
	[subsection]
	[style=\bfa]

\setupwhitespace
	[big]

\setupbodyfont
	[11pt]
\setupinteraction
	[state=start,
	 author={Ime in Priimek},
	 title={naslov},
	 subject={kaj je to}
	 keyword={ključne besede},
	 %color=MainColor,
	]
\setuppagenumbering
	[location=footer]
\setupheadertexts
	[\slx{\framed[align=flushright,frame=off]{Domača naloga iz XXX:\\\sc YY}}]
	[\slx{\framed[frame=off]{ime in priimek, datum}}]
\setupbackgrounds
	[header]
	[text]
	[bottomframe=on]

\setupframedtexts
	[background=screen,
	 frame=off,
	 width=1.0\textwidth,
	 style=slanted]

\def\mol#1{$\rm #1$}
\def\unit#1{\ {\rm #1}}
\def\degC{^{\circ}{\rm C}}
\def\Angstroem{\text{\Aring}}
\def\angle{\mathematics{<\!\!\!)}}

%\definemathcommand [trace] [nolop] [\mfunction{Tr}]
\def\trace{\text{\ss Tr}}

\setupexternalfigures[directory={../img}]

\useexternalfigure[SF6 0][sf6-0]

\starttext

\title{Naslov}

\centerline{\tfx Ime in Priimek, Fakulteta za XY}

\startbuffer[abstract]
\input tufte
\stopbuffer

\startframedtext
\getbuffer[abstract]
\stopframedtext

\section{Povzetek}

...

\stoptext


Dodatne informacije o seznamu TeX-list