• No results found

Page layout with reledpar

N/A
N/A
Protected

Academic year: 2021

Share "Page layout with reledpar"

Copied!
4
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Page layout with reledpar

Domenico Cufalo and MaΓ―eul Rouquette

August 17, 2017

1 General

Reledmac doesn’t care neither text width (𝑇 ) nor margins, whose sizes are

cal-culated by LATEX itself or depends on other packages like geometry. In normal

typesetting, line numbers and sidenotes are in the margin.

In parallel typesetting, sidenotes and lines numbers can be, or not, in page margins.

Normally, we get:

𝑇 = 𝐿𝑀 + 𝐿 + 𝐡 + 𝑆 + 𝐴 + 𝑅 + 𝑅𝑀 (1)

The only possible exceptions occur when the user makes mistakes when fixing 𝐿and / or 𝐴 and / or 𝐡 and / or 𝑅.

2 Parameters

The parameters that can be controlled by reledmac are (see fig. 1):

N The numbered text width, i. e. the width of text which is between \beginnumbering

and \endnumbering in normal tyepsetting. By default 𝑁 = 𝑇 , but can be also modified by the reledmac/reledpar option widthliketwocolumns: in this case, 𝑁 = 𝐿 + 𝐡 + 𝑆 + 𝐴 + 𝑅

L \Lcolwidth; fixed width, by default {0.45\textwidth} R \Rcolwidth; fixed width, by default {0.45\textwidth}

S \columnseparator; reledpar inserts a vertical rule of width \columnrulewidth,

by default set to be 0 𝑝𝑑. You can redefine \columnrulewidth by \setlength{\columnrulewidth}{0.4pt}

B \beforecolumnseparator: automatically calculated, but can be

rede-fined by

(2)

textwidth (𝑇 )

πΏπ‘šπ‘Žπ‘Ÿπ‘”π‘–π‘› numb. text width (𝑁) π‘…π‘šπ‘Žπ‘Ÿπ‘”π‘–π‘›

π‘€π‘–π‘‘π‘‘β„Žπ‘™π‘–π‘˜π‘’π‘‘π‘€π‘œπ‘π‘œπ‘™π‘’π‘šπ‘›π‘  colsep (𝑆)

𝐿𝑀 𝐿 𝐡 𝐴 𝑅 𝑅𝑀

Figure 1: Page layout

(3)

\setlength{\beforecolumnseparator}{<length>}

A \aftercolumnseparator: automatically calculated, but can be

rede-fined by

\setlength{\aftercolumnseparator}{<length>}

3 Columns’ position

By default, columns are positioned to the right of the page. However, you can use \columnsposition{L} to align them to the left, or \columnsposition{C} to center them.

In this case 𝐿𝑀 and 𝑅𝑀 are modified:

β€’ with \columnsposition{L}, 𝐿𝑀 = 0 and 𝑅𝑀 is automatically cal-culated;

β€’ with \columnsposition{R}, 𝑅𝑀 = 0 and 𝐿𝑀 is automatically cal-culated;

β€’ with \columnsposition{C}, 𝑅𝑀 and 𝐿𝑀 are automatically calcu-lated.

4 Automatically calculated parameters

Therefore, the lengths automatically calculated are 𝐿𝑀, 𝑅𝑀, and, if not fixed by user, 𝐡 and 𝐴.

4.1 If 𝐿𝑀, 𝑅𝑀, 𝐡 and 𝐴 are calculated

𝐿𝑀 = 𝑅𝑀 = 𝐡 = 𝐴 = 𝑇 βˆ’ (𝐿 + 𝑆 + 𝑅) 4 (2) 4.2 If 𝐿𝑀, 𝑅𝑀, 𝐡 are calculated 𝐿𝑀 = 𝑅𝑀 = 𝐡 = 𝑇 βˆ’ (𝐿 + 𝐴 + 𝑆 + 𝑅) 3 (3) 4.3 If 𝐿𝑀, 𝑅𝑀, 𝐴 are calculated 𝐿𝑀 = 𝑅𝑀 = 𝐴 = 𝑇 βˆ’ (𝐿 + 𝐡 + 𝑆 + 𝑅) 3 (4)

4.4 If only 𝐿𝑀 and 𝑅𝑀 are calculated

𝐿𝑀 = 𝑅𝑀 = 𝑇 βˆ’ (𝐿 + 𝐡 + 𝑆 + 𝐴 + 𝑅)

2 (5)

(4)

4.5 In any case

𝐿𝑀, 𝐡, 𝐴, 𝑅𝑀 can’t have a negative value. If the result of one the previous equation is negative, then that means the value equals 0.

Technically, the β€œcalculated values” are determined using \hfill.

Referenties

GERELATEERDE DOCUMENTEN

For example, you could want to have line numbers on the right when your are in parallel pages (or in normal typesetting), but when you are in parallel columns, to have them on the

Remember that paper size can be calculated only if all page layout dimensions for the corresponding orientation (height, width) are specified.. There is no diagnostics for warning

We used three fea- ture sets: the baseline features set, as well as two aug- mented feature sets, small and large, corresponding to the SRN being trained on 10 million and 465

Because the overview of the layout is produced in a figure environment we need to allocate a number of counters that are used to store the values of various dimensions..

Correct layout for paper 'paperXXX.pdf'' by setting x/y shift, etc.

This file provides example of using tabular environments with reledmac. We use edtabularl , edtabularc and edtabularr , with marginal, critical and

Donec aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio metus a mi.. Morbi

Replace coloroption by the color of your choice: β€œred”, β€œblue”, β€œpurple”, or β€œgreen” (the default color).. The beamer document will have the same layout as