texlive[51647] Master: unizgklasa (15jul19)
commits+karl at tug.org
commits+karl at tug.org
Mon Jul 15 22:49:54 CEST 2019
Revision: 51647
http://tug.org/svn/texlive?view=revision&revision=51647
Author: karl
Date: 2019-07-15 22:49:54 +0200 (Mon, 15 Jul 2019)
Log Message:
-----------
unizgklasa (15jul19)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/unizgklasa/
trunk/Master/texmf-dist/doc/latex/unizgklasa/README.md
trunk/Master/texmf-dist/doc/latex/unizgklasa/example.pdf
trunk/Master/texmf-dist/doc/latex/unizgklasa/example.tex
trunk/Master/texmf-dist/tex/latex/unizgklasa/
trunk/Master/texmf-dist/tex/latex/unizgklasa/unizgklasa.cls
trunk/Master/tlpkg/tlpsrc/unizgklasa.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/unizgklasa/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unizgklasa/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/unizgklasa/README.md 2019-07-15 20:49:54 UTC (rev 51647)
@@ -0,0 +1,57 @@
+unizg_klasa Package, version 1.0
+
+Author: Matea Milin
+
+
+* Copyright
+===========
+
+ Copyright (C) 2019 Matea Milin
+
+ This material is subject to the LaTeX Project Public License.
+ See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+ for the details of that license.
+
+
+Unizg_klasa consists of the following files:
+
+ ----
+ unizg_klasa.ins
+ README.md
+ example.tex
+ -------
+
+
+
+
+* Description / Opis
+=============
+
+This class file is intended for students of Faculty Of Graphic Arts in Zagreb to use as a template for typesetting graduate and final thesis.
+However it is certainly free for anyone who likes it.
+
+Ova klasa prvenstveno je namijenjena studentima Grafičkog fakulteta u Zagrebu kao predložak za oblikovanje diplomskih i završnih radova.
+Međutim, svakako je besplatna za svakog kome se sviđa.
+
+
+
+
+* Installation / Instalacija
+==============
+
+ To install the package, please follow these steps:
+
+ - Run LaTeX on the file `unizg_klasa.ins' to create the style file `unizg_klasa.sty'.
+ - Run LaTeX on the file `unizg_klasa.dtx' to create the doc file `unizg_klasa.cls'.
+ - Install these files anywhere you see fit.
+ - Copy .cls file to directory with main.tex file.
+
+ - You will need to install these packages in order for class to function: graphicx, tocbibind, caption, hyperref, subcaption, titlesec, babel, geometry, fancyhdr
+
+
+
+ Za instaliranje klase pratite ove upute:
+ - Pokrenite `unizg_klasa.ins' datoteku u LaTeX-u za stvaranje unizg_klasa.sty'
+ - Pokrenite `unizg_klasa.dtx' datoteku u LaTeX-u za stvaranje.cls datoteke
+ - Instalirajte ovo datoteke gdje vam odgovara
+ - Kopirajte .cls datoteku u mapu s glavnim .tex dokumentom
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/unizgklasa/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/unizgklasa/example.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/unizgklasa/example.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unizgklasa/example.pdf 2019-07-15 20:48:56 UTC (rev 51646)
+++ trunk/Master/texmf-dist/doc/latex/unizgklasa/example.pdf 2019-07-15 20:49:54 UTC (rev 51647)
Property changes on: trunk/Master/texmf-dist/doc/latex/unizgklasa/example.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/unizgklasa/example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unizgklasa/example.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/unizgklasa/example.tex 2019-07-15 20:49:54 UTC (rev 51647)
@@ -0,0 +1,87 @@
+\documentclass{unizgklasa}
+%\graphicspath{} %folder za slike, pročitati upute za pisanje u LaTeXu
+%na računalu je potrebno imati pakete:
+%upgreek
+%titlesec
+%tocbibind
+%babel
+%hypperref
+
+%ubacivanje Unizg fonta ako je potrebno
+
+%\usepackage{fontspec}
+%\setmainfont{UniZGLight.ttf}[
+%BoldFont=UniZgBold.ttf,
+%ItalicFont=UniZgLightItalic.ttf]
+
+\begin{document}
+
+\imestudenta{Matea Milin}
+\sveuciliste{Sveučilište u Zagrebu}
+\fakultet{Grafički fakultet}
+\naslovrada{\textit{Unizgklasa} - primjer i kratke upute za korištenje}
+\rad{\textit{Unizgklasa} - example file and short instructions}
+\mentor{Ante Poljičak}
+\grad{Zagreb}
+\logo{LOGO} % ubaci logo svog fakulteta i definiraj dimenzije
+%provjeri kako se adresira folder sa slikama u uputama
+
+\prvanaslovna
+\druganaslovna
+
+\section{Uvod/Introduction}
+Ova klasa namijenjena je generiranju diplomskih i završnih radova prema uputama Grafičkog fakulteta Sveučilišta u Zagrebu. Ne odgovara nužno uvjetima svake sastavnice Sveučilišta no izrađena je kao ideja za povezivanje i uniformiranje izgleda svih diplomskih radova. \\
+
+\verb=unizgklasa= distribuira se preko LaTeX Project Public Licence (LPPL) i moguće ju je mijenjati i ponovo distribuirati uz obavezno mijenjanje imena klase kako ne bi dolazilo do zabune. \\
+
+\textit{\textbf{English}}
+This class is intended for generating graduate and final theses according to the instructions of the Faculty of Graphic Arts, University of Zagreb. It does not necessarily correspond to the requirements of each component of the University, but it is designed as an idea for linking and uniformizing the look of all graduate papers.\\
+
+\verb=unizgklasa = is distributed through the LaTeX Project Public License (LPPL) and can be changed and redistributed with the mandatory changing of the class name so that there is no confusion.
+
+\section{Upute/Instructions}
+
+Ova klasa zahtjeva pakete \begin{verbatim} upgreek, titlesec , tocbibind , babel , hypperref
+\end{verbatim}
+
+
+Da bi klasa funkcionirala važno je pravilno popuniti tokene \begin{itemize}
+\item imestudenta - upisuje se ime i prezime studenta
+\item sveuciliste - upisuje se inaziv sveučilišta
+\item fakultet - upisuje se inaziv fakulteta
+\item naslovrada - upisuje se naslov rada
+\item rad - upisuje se vrsta rada (diplomski, završni, seminar,...)
+\item mentor - upisuje se ime, prezime i titula mentora
+\item grad - upisuje se grad u kojem je se nalazi fakultet
+\item logo - dodaje se logotip sveučilišta i sastavnice s naredbom \verb=\includegraphics=
+\end{itemize}
+
+Da bi se generirale početne naslovne stranice pozivaju se naredbe \verb=\prvanaslovna= i \verb=\druganaslovna=.
+
+Detaljnija objašnjenja klase nalaze se u diplomskom radu \LaTeX\ program za oblikovanje dokumenata i izrada predloška za diplomski rad u \LaTeX\-u dostupnom na repozitoriju Grafičkog fakulteta.\\
+
+\textit{\textbf{English}}\\
+This class requires packages \begin{verbatim} upgreek, titlesec , tocbibind , babel , hypperref
+\end{verbatim}
+
+To make the class work, it is important to properly fill out the tokens \begin{itemize}
+\item imestudenta - write the name and surname of the student
+\item sveuciliste - write the name of univerity
+\item fakultet - name of faculty
+\item naslovrada - the title of the paper
+\item rad - write the type of paper (graduate, final, seminar, ...)
+\item mentor - write the name, last name and title of the mentor
+\item grad - write the city where the faculty is located
+\item logo - add the logo of the university and its component with \verb=\includegraphics= command.
+\end{itemize}
+
+In order to generate the title pages, the commands \verb=\ prvanaslovna= and \verb=\druganaslovna= need to be called.
+
+More detailed explanations of the class are provided in the "\LaTeX{} program za oblikovanje dokumenata i izrada \LaTeX{} predloška za diplomski rad" graduate thesis available on Repository of Faculty of Graphic Arts.
+\section{Kontakt/Contact}
+
+Za sva pitanja, komentare i probleme u vezi klase javite se na matea.milin at yahoo.com ili ante.poljicak at grf.hr .\\
+
+For any questions, comments, and class file issues, please contact matea.milin at yahoo.com or ante.poljicak at grf.hr.
+
+\end{document}
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/unizgklasa/example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/unizgklasa/unizgklasa.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/unizgklasa/unizgklasa.cls (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/unizgklasa/unizgklasa.cls 2019-07-15 20:49:54 UTC (rev 51647)
@@ -0,0 +1,160 @@
+%%
+%% Copyright (C) 2019 by Matea Milin
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{unizg_klasa}[2019/04/03]
+\LoadClass[12pt]{article}
+\usepackage[english]{babel}
+\RequirePackage{graphicx} %za ubacivanje slika
+
+\RequirePackage[nottoc,numbib]{tocbibind}%za spajanje literature i sadržaja i dodavanje broja na sadržaj
+\renewcommand\refname\MakeUppercase
+
+\RequirePackage{caption}%za uredivanje captiona
+\captionsetup{labelsep=period} %dodavanje točke Slika 1.
+\RequirePackage{hyperref}%prikazuje url kao link
+\urlstyle{same}%naredba da koristi isti font kao u dokumentu a ne monospace
+\RequirePackage{subcaption}%za podopis slike
+
+\RequirePackage{titlesec}%za uredivanje naslova i naslovnih
+
+\RequirePackage{upgreek}%za olakšano upisivanje grčkih znakova, broj pi
+\setlength\parindent{0pt}%naredba za brisanje uvlaka koje dolaze s klasom article
+
+
+
+
+
+%definiranje margina
+\RequirePackage{geometry}
+ \geometry{
+ a4paper,
+ left=35mm,
+ right=25mm,
+ top=25mm,
+ bottom=35mm,
+}
+
+
+
+%---definiranje tokena---------------
+\newtoks\imestudenta
+\newtoks\sveuciliste
+\newtoks\fakultet
+\newtoks\rad
+\newtoks\naslovrada
+\newtoks\grad
+\newtoks\mentor
+\newtoks\logo
+
+
+%------definiranje kako title page izgleda---
+\renewcommand{\titlepage}{
+ \centering
+ \thispagestyle{empty}
+ \fontsize{24}{36}
+ }
+
+
+
+
+%--def oblikovanja naslova------------
+\newcommand{\ime}[1]{
+ {\Large{#1}}
+}
+
+\newcommand{\uni}[1]{
+ {\huge{#1}}
+}
+
+
+
+
+
+%----def prve naslovne stranice
+\newcommand{\prvanaslovna}{
+ \begin{titlepage}
+\uni{\the\sveuciliste}
+\\
+\uni{\the\fakultet}
+
+\vspace{4cm}
+\ime{\the\imestudenta}
+
+\vspace{4cm}
+\uni{\the\naslovrada}
+
+\vspace{36pt}
+\ime{\the\rad}
+\vfill
+{\the\grad}, \the\year.
+\end{titlepage}
+
+}
+
+
+%----def druge naslovne stranice----
+\newcommand{\druganaslovna}{
+ \begin{titlepage}
+
+
+{\the\logo}
+\\
+\vspace{2.5cm}
+\ime{\the\imestudenta}
+\\
+\vspace{3cm}
+\uni{\the\naslovrada}
+\\
+\vspace{24pt}
+\ime{\the\rad}
+\vfill
+Mentor:
+\hfill
+Student:
+\\
+{\the\mentor}
+\hfill
+{\the\imestudenta}
+\vspace{24pt}
+\\
+{\the\grad}, \the\year.
+
+\end{titlepage}
+}
+
+
+%------------------------------------------------
+
+
+\titleformat*{\section}{\LARGE\bfseries}
+\renewcommand
+{\@seccntformat}[1]
+{\csname the#1\endcsname.\enskip} %DODAVANJE TOČKE na sectione i malog razmaka(enskip) između točke i riječi
+
+\titleformat*{\subsection}{\large}
+\titleformat*{\subsubsection}{\large}
+
+\renewcommand{\baselinestretch}{1.5}%--------prored
+
+
+
+%----------- def numeriranja na desnu stranu--------
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+\renewcommand\headrulewidth{0pt} % nema linije u headeru
+\fancyhead{} %prazan header
+\fancyfoot{} % prazan footer
+\fancyfoot[R]{\thepage} % broj na desnoj strani
+
+
Property changes on: trunk/Master/texmf-dist/tex/latex/unizgklasa/unizgklasa.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check 2019-07-15 20:48:56 UTC (rev 51646)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2019-07-15 20:49:54 UTC (rev 51647)
@@ -718,7 +718,8 @@
unam-thesis unamth-template unamthesis
undergradmath underlin underoverlap underscore undolabl
unfonts-core unfonts-extra
- uni-wtal-ger uni-wtal-lin unicode-data unicode-bidi unicode-math unisugar
+ uni-wtal-ger uni-wtal-lin unicode-data unicode-bidi unicode-math
+ unizgklasa unisugar
unitn-bimrep units unitsdef universa universalis univie-ling
unravel unswcover
uothesis uowthesis uowthesistitlepage
Modified: trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc 2019-07-15 20:48:56 UTC (rev 51646)
+++ trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc 2019-07-15 20:49:54 UTC (rev 51647)
@@ -207,6 +207,7 @@
depend unamthesis
depend unitn-bimrep
depend univie-ling
+depend unizgklasa
depend unswcover
depend uothesis
depend urcls
Added: trunk/Master/tlpkg/tlpsrc/unizgklasa.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list