05-21-2010, 01:05 AM | #61 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Mar 2010
Device: none
|
Sorry, I mixed up \chapter* with \addchap (which is only available in scrbook, the book class of KOMA-Script).
For the space above a chapter, in KOMA-Script there is the command \chapterheadstartvskip. With other packages, you'd have to change \@makechapterhead, I guess. For questions like these, I can recommend the usegroup comp.text.tex. Start by searching their archive (http://groups.google.de/groups/searc...Acomp.text.tex), for example for the words "space before chapter. Before posting anything there (using a decent newsreader), please be aware the Usenet etiquette differs from forum rules. So read quite a bit before posting there. For instance, never post a question without a minimal working example. |
05-22-2010, 09:39 PM | #62 |
Member
Posts: 14
Karma: 82814
Join Date: May 2010
Device: nook
|
current progress
close to looking terrific! This is what i have so far:
Code:
\documentclass[8pt,oneside,latin]{extbook}
\usepackage[paperwidth=88.184mm,paperheight=113.854mm,margin=2mm]{geometry}
\title{METAMORPHOSEN}
\author{P. OVIDI NASONIS}
\usepackage{polyglossia}
\setdefaultlanguage{latin}
\usepackage{xltxtra}
\usepackage{hyperref}
\hypersetup{%
pdftitle={METAMORPHOSEN},
pdfauthor={P. OVIDI NASONIS}
}
\setmainfont{DejaVu Sans}
\usepackage[tiny,compact]{titlesec}
\titleformat{\chapter}[block]{\centering\bfseries\large}{LIBER \thechapter}{0pt}{}{}
\titlespacing{\chapter}{0cm}{0cm}{\baselineskip}
\usepackage[absolute]{textpos}
\usepackage[titles]{tocloft}
\addtolength{\cftchapnumwidth}{1.5cm}
\renewcommand{\cftchappresnum}{LIBER }
\setlength\cftparskip{5pt}
\setlength\cftbeforechapskip{7pt}
\setlength\cftaftertoctitleskip{2pt}
\addto\captionslatin{%
\renewcommand\chaptername{LIBER}}
\renewcommand{\thechapter}{\Roman{chapter}}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\fileft\MakeUppercase{\chaptertitlename} \Huge\thechapter}
{4ex}
{\titlerule
\vspace{2ex}%
\filcenter}
[\vspace{2ex}%
\titlerule]
\setcounter{secnumdepth}{-1}
\begin{document}
%\thispagestyle{empty}
%\begin{textblock*}{\paperwidth}(0mm,0mm)
%\noindent\includegraphics[width=\paperwidth,height=\paperheight]{ovid.jpg}
%\end{textblock*}
%\null
%\clearpage
\maketitle
\tableofcontents
\newpage
\chapter{LIBER I}
\label{sec:LIBER I}
\begin{verse}
20audierat, Tyrias olim quae verteret arces; \\
hinc populum late regem belloque superbum \\
venturum excidio Libyae: sic volvere Parcas. \\
Id metuens, veterisque memor Saturnia belli, \\
prima quod ad Troiam pro caris gesserat Argis— \\
25necdum etiam causae irarum saevique dolores \\
exciderant animo: manet alta mente repostum \\
iudicium Paridis spretaeque iniuria formae, \\
et genus invisum, et rapti Ganymedis honores. \\
His accensa super, iactatos aequore toto \\
30Troas, reliquias Danaum atque immitis Achilli, \\
\end{verse}
\chapter{LIBER II}
\label{sec:LIBER II}
\begin{verse}
20audierat, Tyrias olim quae verteret arces; \\
hinc populum late regem belloque superbum \\
venturum excidio Libyae: sic volvere Parcas. \\
Id metuens, veterisque memor Saturnia belli, \\
prima quod ad Troiam pro caris gesserat Argis— \\
25necdum etiam causae irarum saevique dolores \\
exciderant animo: manet alta mente repostum \\
iudicium Paridis spretaeque iniuria formae, \\
et genus invisum, et rapti Ganymedis honores. \\
His accensa super, iactatos aequore toto \\
30Troas, reliquias Danaum atque immitis Achilli, \\
\end{verse}
\end{document}
From the previous revision I made this ammendments by frabjous: Code:
\addto\captionslatin{% \renewcommand\chaptername{LIBER}} Code:
\usepackage{hyperref} \hypersetup{% pdftitle={METAMORPHOSEN}, pdfauthor={P. OVIDI NASONIS} } Lastly I changed my fonts from \usepackage[T1]{fontenc} to \setmainfont{DejaVu Sans}. Although the fonts now look fuller they are too machine like. I would love a traditional font. Oh, the my example above is fully compilable. thanks! |
Advert | |
|
05-22-2010, 10:00 PM | #63 | ||
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
[QUOTE=arma_virumque;923028]close to looking terrific! This is what i have so far:
Quote:
Code:
\usepackage[titles]{tocloft} \addtolength{\cftchapnumwidth}{1.5cm} \renewcommand{\cftchappresnum}{LIBER } Quote:
\setmainfont{DejaVu Serif} ? Serif fonts tend to be more natural and less machine-like than sans serif fonts. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Latex, PDF and the PRS-600 Dictionary | s3ntient | 4 | 11-06-2009 09:35 AM | |
Chaîne complète d'édition : HTML, LaTeX, PDF, EPUB à venir. | Randy11 | Software | 2 | 04-05-2009 11:42 AM |
PDF Generated with LaTeX for the iLiad | Hadrien | iRex | 17 | 07-25-2008 09:59 AM |
latex template for sony reader pdf | technicolor | Sony Reader | 10 | 07-25-2008 09:51 AM |
PDF creation from Latex using CJK fonts | alanine | iRex | 0 | 10-13-2007 11:45 PM |