Skip to content

Instantly share code, notes, and snippets.

@wbzyl
Created December 25, 2009 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wbzyl/263715 to your computer and use it in GitHub Desktop.
Save wbzyl/263715 to your computer and use it in GitHub Desktop.
Szablon pracy mgr: xelatex + amsrefs
\documentclass[12pt]{amsbook}
\usepackage{amsrefs}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage[polish]{polyglossia}
\raggedbottom
\begin{document}
\begin{bibdiv}
\begin{biblist}
\bib{Goldfarb2002}{book}{
author={Charles F. Goldfarb},
author={Paul Prescod},
title={Charles F. Goldfarb's XML handbook},
edition={Fourth},
publisher={Princeton-Hall},
address={Englewood Cliffs, NJ 07632, USA},
date={2002},
ISBN={0-13-065198-2; 978-0-13-065198-3},
}
\bib{Eisenberg2002}{article}{
author={Andrew Eisenberg},
author={Jim Melton},
title={SQL\slash XML is making good progress},
date={2002},
ISSN={0000-0000},
journal={SIGMOD},
volume={31},
number={2},
pages={101\ndash 108},
}
\end{biblist}
\end{bibdiv}
\end{document}
\documentclass[brudnopis]{xmgr}
\usepackage{amsrefs}
%
% kompilacja:
%
% xelatex szablon
% xelatex szablon
% tak można zmienić domyślną rodzinę fontów Latin Modern
% na Minion + Myriad:
%\defaultfontfeatures{Scale=MatchLowercase}
%\setmainfont[Mapping=tex-text]{Minion Pro:+onum}
%\setsansfont[Mapping=tex-text]{Myriad Pro}
%\setmonofont[Scale=0.75]{Monaco}
\wersja {wersja wstępna [\ymdtoday]}
\author {Imię Nazwisko}
\nralbumu {xxx\,xxx}
\email {login@inf.ug.edu.pl}
\title {Tytuł pracy}
\date {????}
\miejsce {Gdańsk}
\opiekun {prof. dr hab. D. Htunk}
\begin{document}
\begin{abstract}
Streszczenie…
\end{abstract}
\keywords{Ruby,
programowanie,
dokumenty strukturalne}
% tytuł i spis treści
\maketitle
% wstęp
\introduction
Jak pisać pracę magisterską?
\url{http://sinatra.inf.ug.edu.pl/seminarium/info/jak-pisac}.
Dokumentację pakietu \emph{amsref} można znaleźć tutaj:
\url{http://www.ctan.org/tex-archive/macros/latex/contrib/amsrefs/}.
\chapter{Tytuł rozdziału}
SGML~\cite{Goldfarb2002} jest to \emph{metajęzyk}
służący do opisywania struktury i~zawartości dokumentów.
\section{Tytuł rozdziału}
Typowy proces produkcji dokumentów w~standardzie SGML
podzielony jest na kilka części. Najważniejsze elementy tego
procesu są opisane w~\cite{Eisenberg2002}.
\subsection{Tytuł podrozdziału}
\summary
Streszczenie…
% załączniki (opcjonalnie):
\appendix
\chapter{Tytuł załącznika}
Załącznik…
\chapter{Tytuł załącznika}
Załącznik…
% literatura
\begin{bibdiv}
\begin{biblist}
\bibselect{literatura}
\end{biblist}
\end{bibdiv}
% spis tabel
%\listoftables
% spis rysunków
%\listoffigures
\oswiadczenie
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment