Thank you Pierre. Got there to that coding, but I could see not change when
the PDF file reproduced. The best I could do was to change the paper size to
make my score less "wider". Here's the snippet of the code:
% usual packages loading:
\usepackage{fontspec}
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage[paperheight=10in, paperwidth=6.5in, margin=0.25in]{geometry} % See
geometry.pdf to learn the layout options. There are lots.
%\geometry{paperwidth=5.5in} % or letterpaper (US) or a5paper or....
\usepackage{gregoriotex} % for gregorio score inclusion
\usepackage{fullpage} % to reduce the margins
As you can see the width and height worked, but LaTex ignored the margins--it
doesn't matter what margin params I use. I just ignores the whole dang thing.
I'm using TeXworks 2013 (Version 0.4.5 r1280) if that is any help. Running on
Windows 7.
I commented out the geometry package since I overrode it able with the paper
height and width. Perhaps that is wrong, but it got me kind of what I wanted.
--Jeff
Jeffrey A. Trimble
Organist/Director of Music
St. Paul Lutheran Church
Warren, OH
330-394-5741
-----Original Message-----
From: Pierre François <[email protected]>
To: gregorio-users <[email protected]>
Sent: Thu, Nov 21, 2013 2:52 pm
Subject: Re: [Gregorio-users] Margins help?
Dear Jeffrey
Your reaction was predictible. Sorry to speak Sanskrit. We will keep
it to Latin.
In order to produce a gregorian partition with Gregorio, you need
two input files: one written in Gabc and one written in LaTeX. I suppose
you have reached that level of understanding. If not, I will be more
explicit. The geometry package has to be included into the LaTeX file.
Here is an example of a LaTeX file using the geometry package, taken
from http://svn.gna.org/svn/gregorio/trunk/examples/main-lualatex.tex:
% This is a simple template for a LuaLaTeX document using gregorio scores.
\documentclass[11pt]{article} % use larger type; default would be 10pt
% usual packages loading:
\usepackage{fontspec}
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are
lots.
\geometry{a4paper} % or letterpaper (US) or a5paper or....
\usepackage{gregoriotex} % for gregorio score inclusion
\usepackage{fullpage} % to reduce the margins
% to change the font to something better, you can install the kpfonts package
(if not already installed). To do so
% go open the "TeX Live Manager" in the Menu Start->All Programs->TeX Live 2010
% here we begin the document
\begin{document}
% The title:
\begin{center}\begin{huge}\textsc{Populus Sion}\end{huge}\end{center}
% Here we set the space around the initial.
% Please report to http://home.gna.org/gregorio/gregoriotex/details for more
details and options
\setspaceafterinitial{2.2mm plus 0em minus 0em}
\setspacebeforeinitial{2.2mm plus 0em minus 0em}
% Here we set the initial font. Change 43 if you want a bigger initial.
\def\greinitialformat#1{%
{\fontsize{43}{43}\selectfont #1}%
}
% We set red lines here, comment it if you want black ones.
\redlines
% We set VII above the initial.
\gresetfirstlineaboveinitial{\small \textsc{\textbf{VII}}}{\small
\textsc{\textbf{VII}}}
% We type a text in the top right corner of the score:
\commentary{{\small \emph{Cf. Is. 30, 19 . 30 ; Ps. 79}}}
% and finally we include the score. The file must be in the same directory as
this one.
\includescore{PopulusSion.tex}
\end{document}
If you want to modify the options provided by the package geometry,
you will have to change the red line in the preamble above by the blue one
below:
\usepackage[left=3in,right=2in,top=2cm,bottom=2cm]{geometry}
This means the left margin is 3 inches and the right one 2 inches.
I hope this is clear enough.
Regards.
Pierre F.
On 11/21/2013 05:59 PM, [email protected] wrote:
I did, and it made as much sense as sanskrit does to me. (NOT!)
Sorry, I learn by good examples, even IBM 370 Assembler is easier than
this. LOL
Thanks for the help.
Jeffrey A. Trimble
Organist/Director of Music
St. Paul Lutheran Church
Warren, OH
330-394-5741
-----Original Message-----
From: Jacques Peron <[email protected]>
To: swellshoe <[email protected]>
Cc: Gregorio Users <[email protected]>
Sent: Thu, Nov 21, 2013 10:42 am
Subject: Re: [Gregorio-users] Margins help?
Hello,
You should look at the geometry package
(type texdoc geometry in a terminal) ; it will let you
change several dimensions.
Sincerely yours,
Fr. Jacques Peron +
2013/11/21 <[email protected]>
I'm new to LaTex and I'm finding it
daunting to get the Margins to change. Does anyone have
a practical example that makes the margins larger
than 1.5 in. default to something like 2 or 3
inches? Or vice versa? Or even different paper
size?
This is the most frustrating part--worse than the
TeXworks issue with Mavericks.
Thanks in advance,
Jeffrey A. Trimble
Organist/Director of Music
St. Paul Lutheran Church
Warren, OH
330-394-5741
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users
--
Father Pierre FRANÇOIS (http://www.romanliturgy.org)
Bosmanslei 16
B-2018 Antwerpen (Belgium)
mobile: +32 474 719 131
phone: +32 3 237 63 96
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users