PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Koma3 SCRBOOK M.P. - geometry oder layout calc?



lauravd
03-03-2009, 11:44
Hallo,

ich kenne Latex erst seit ein paar Tagen und nutze so zum Glück die hervorragende Vorlage von Matthias Pospiech, die Koma 3 nutzt.
Die Klasse ist scrbook und ich schreibe einseitig, denn so wird es bei mir gefordert. Es ist eine Diplomarbeit.

Ich hatte verschiedene Probleme die Vorgaben meines Instituts umzusetzen. Vor allem habe ich es trotz des Lesens der scrguide es nicht geschafft mit layoutarea bzw. Koma-Optionen alleine.

Deshalb habe ich versucht alles in der genannten Vorlage, was nach Koma aussah, im Zusammenhang mit layout auskommentiert und das geometry Paket aktiviert.

Zufrieden bin ich noch nicht und ich weiß auch nicht, ob ich es so richtig gemacht habe, denn gewisse Sachen stimmen nicht.
Zb. die Zeilenanzahl und die Anschläge pro Zeile. Stelle ich die geforderten Ränder ein, habe ich zu viel Text pro Seite :) Nun, dafür ist ja eigentlich so weit ich weiß, Latex bzw. KOMA perfekt, um das einzustellen.
Zwar vor allem mit DIV calc glaube ich, aber wie gesagt damit bekomme ich die Ränder nicht hin, auch wenn vielleicht eher die Zeilen mit Anschlägen Priorität haben. Aber das weiß ich nicht.


Hier meine Vorgaben:
1) Font 12pt Helvetica-Klasse
2) ca. 37 Zeilen mit 60 Anschlägen pro DinA4 Seite (~2200 Zeichen/Seite)
3) 1,5 Zeilig
4) Seitenzahlen stehen bündig über dem rechten Textrand
5) Randbreiten: oberer Rand bis zur Seitenzahl 1,5 cm bzw. !! bis zur ersten Textzeile ca. 4cm. Der untere Rand soll 2,5 cm betragen, der linke 4 und der rechte 2 cm.

Ich bin nun in Pospiechs Vorlage so vorgegangen, dass
1) in den Klassenoptionen eingestellt wird.
3) per \usepackage{setspace}.
4) wird durch die Vorlage schon erreicht zum Glück. Die Randbreiten habe ich versucht per Koma einzustellen mit font 12pt, bcorr 2mm und DIV9 aber ich muss gestehen, die Anleitung habe ich nicht verstanden. Habe auch den Abschnitt gelesen mit dem Beispiel für feste Vorgaben aber auch den habe ich nicht verstanden leider. Vielleicht wäre das die Lösung? Es heißt:


Angenommen, ein Text auf A4-Papier soll genau die Breite von
60 Zeichen in der Typewriter-Schrift haben und exakt 30 Zeilen
je Seite besitzen. Dann könnte mit folgender Präambel gearbeitet
werden:

\documentclass[a4paper,11pt]{article}
\usepackage{typearea}
50 Kapitel 2.
\newlength{\CharsLX}% Breite von 60 Zeichen
\newlength{\LinesXXX}% Hoehe von 30 Zeilen
\settowidth{\CharsLX}{\texttt{1234567890}}
\setlength{\CharsLX}{6\CharsLX}
\setlength{\LinesXXX}{\topskip}
\addtolength{\LinesXXX}{29\baselineskip}
\areaset{\CharsLX}{\LinesXXX}

Aber wie gesagt, habe ich das nicht geschafft. Warum weiß ich nicht. Daher alles auskommentiert was mit Koma Layout zutun hatte, so weit ich es ausmachen konnte und geometry aktiviert mit:


\usepackage[verbose]{layout}
%

% Layout mit 'geometry'
%%% Doc: ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/geometry/manual.pdf

\usepackage{geometry}

\IfPackageLoaded{geometry}{%
\geometry{%
%%% Paper Groesse
a4paper,
%screen, % a special paper size with (W,H) = (225mm,180mm)
%paperwidth=,
%paperheight=,
%papersize=, %{ width , height }
%landscape, % Querformat
portrait, % Hochformat
%%% Koerper Groesse
%hscale=, % ratio of width of total body to \paperwidth
% hscale=0.8 is equivalent to width=0.8\paperwidth. (0.7 by default)
%vscale=, % ratio of height of total body to \paperheight
% vscale=0.9 is equivalent to height=0.9\paperheight.
%scale=, % ratio of total body to the paper. scale={ h-scale , v-scale }
%totalwidth=, % width of total body % (Generally, width >= textwidth)
%totalheight=, % height of total body, excluding header and footer by default
%total=, % total={ width , height }
%textwidth=, % modifies \textwidth, the width of body
%textheight=, % modifies \textheight, the height of body
%body=, % { width , height } sets both \textwidth and \textheight of the body of page.
lines=37, % war 45 !! -- enables users to specify \textheight by the number of lines.
% includehead, % includes the head of the page, \headheight and \headsep, into total body.% WAR AUS !
%includefoot, % includes the foot of the page, \footskip, into body.
%includeheadfoot, % sets both includehead and includefoot to true
%includemp, % includes the margin notes, \marginparwidth and \marginparsep, into body
%includeall, % sets both includeheadfoot and includemp to true.
%ignorehead, % disregards the head of the page, headheight and headsep in determining vertical layout
%ignorefoot, % disregards the foot of page, footskip, in determining vertical layout
%ignoreheadfoot, % sets both ignorehead and ignorefoot to true.
%ignoremp, % disregards the marginal notes in determining the horizontal margins
ignoreall, % sets both ignoreheadfoot and ignoremp to true
heightrounded, % This option rounds \textheight to n-times (n: an integer) of \baselineskip
%hdivide=, % { left margin , width , right margin }
% Note that you should not specify all of the three parameters
%vdivide=, % { top margin , height , bottom margin }
%divide=, % ={A,B,C} % is interpreted as hdivide={A,B,C} and vdivide={A,B,C}.
%%% Margin eg. \geometry{left=4cm,right=2cm,top=2cm,bottom=2cm,sh owframe}
left=35mm, % left margin (for oneside) or inner margin (for twoside) of total body
% alias: lmargin, inner
right=2cm, % right or outer margin of total body
% alias: rmargin outer
top=4cm, % top margin of the page.
% Alias : tmargin
bottom=25mm, % bottom margin of the page
% Alias : bmargin
%hmargin=, % left and right margin. hmargin={ left margin , right margin }
%vmargin=, % top and bottom margin. vmargin={ top margin , bottom margin }
%margin=, % margin={A,B} is equivalent to hmargin={A,B} and vmargin={A,B}
%hmarginratio, % horizontal margin ratio of left (inner) to right (outer).
%vmarginratio, % vertical margin ratio of top to bottom.
%marginratio, % marginratio={ horizontal ratio , vertical ratio }
%hcentering, % sets auto-centering horizontally and is equivalent to hmarginratio=1:1
%vcentering, % sets auto-centering vertically and is equivalent to vmarginratio=1:1
%centering, % sets auto-centering and is equivalent to marginratio=1:1
% twoside, % switches on twoside mode with left and right margins swapped on verso pages.
%asymmetric, % implements a twosided layout in which margins are not swapped on alternate pages
% and in which the marginal notes stay always on the same side.
bindingoffset=5mm, % removes a specified space for binding
%%% Dimensionen
%headheight=, % Alias: head
%headsep=, % separation between header and text
%footskip=, % distance separation between baseline of last line of text and baseline of footer
% Alias: foot
%nohead, % eliminates spaces for the head of the page
% equivalent to both \headheight=0pt and \headsep=0pt.
%nofoot, % eliminates spaces for the foot of the page
% equivalent to \footskip=0pt.
%noheadfoot, % equivalent to nohead and nofoot.
%footnotesep=, % changes the dimension \skip\footins,.
% separation between the bottom of text body and the top of footnote text
marginparwidth=0pt, % width of the marginal notes
% Alias: marginpar
%marginparsep=,% separation between body and marginal notes.
%nomarginpar, % shrinks spaces for marginal notes to 0pt
%columnsep=, % the separation between two columns in twocolumn mode.
%hoffset=,
%voffset=,
%offset=, % horizontal and vertical offset.
% offset={ hoffset , voffset }
%twocolumn, % twocolumn=false denotes onecolumn
%twoside,
%textwidth=400pt, % sets \textwidth directly
%textheight=, % sets \textheight directly
%reversemp, % makes the marginal notes appear in the left (inner) margin
% Alias: reversemarginpar
}
}

Nun scheinen die Ränder zu stimmen. Das heißt der normale Text wie auch die Kapitelüberschriften der 1. Ordnung beginnen mit den geforderten ~4cm vom oberen Rand.
Ich habe noch den vertikalen Abstand mit

\renewcommand*{\chapterheadstartvskip}{\vspace{-2\baselineskip}} geändert, damit nicht all zu viel Platz vor den Kapiteln nach oben ist.

Aber die Zeilenanzahl und die Anschläge stimmten nicht.

Nun las ich, dass das an typographischen Gesetzen liege... Also, dass zB. Helvetica, die ich bis eben eingestellt hatte, nicht gut zu DinA4 einseitig passt. Toll. Was nun? Ich soll mit serifenlos schreiben, einseitig und A4 und die oben erwähnten Ränder einhalten....

Habe nun zumindest mal zu CMBRIGHT als Schrift gewechselt und das scheint nun alles ein wenig relaxter zu sein und kommt nicht mehr so viel Text auf eine Seite. Sollen ja ~37 Zeilen sein pro Seite mit gut 60 Anschlägen...und somit dann halt 2200 Zeichen pro Seite... Oh je.

Ist jemand bereit mir zu helfen, die Vorgaben des Instituts einigermaßermaßen genau und gut umzusetzen?

viele Grüße
Laura