Difference between revisions of "TheMagPiLayout"

From eLinux.org
Jump to: navigation, search
(Fixed width text)
(Fonts)
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
* [[TheMagPiLayout|Layout & fonts]] - description of the standard layout and associated fonts.
 
* [[TheMagPiLayout|Layout & fonts]] - description of the standard layout and associated fonts.
 
* [[TheMagPiPdf|PDF creation]] - instructions for the generation of PDF for electronic and paper publication.
 
* [[TheMagPiPdf|PDF creation]] - instructions for the generation of PDF for electronic and paper publication.
 +
* [[Information_for_new_volunteers|Information for New Volunteers]] - A guide to help new volunteers familiarize themselves with the team’s workflow.
  
 
== Software ==
 
== Software ==
Line 31: Line 32:
 
== Fonts ==
 
== Fonts ==
  
If the document is converted with a non-LINUX version of Scribus, the FreeSans font set is typically not available.  This results in PDF files which contain the wrong fonts.
+
If the document is converted with a non-LINUX version of Scribus, the FreeSans font set is typically not available.  This results in PDF files which contain the wrong fonts. A list of fonts which are often missing from a non-Debian LINUX installation can be found at [http://www.themagpi.com/resources/fonts/ http://www.themagpi.com/resources/fonts/]
 +
 
  
 
=== Title fonts ===
 
=== Title fonts ===
  
 
The title font should be taken from one of those present in the standard version of Scribus.
 
The title font should be taken from one of those present in the standard version of Scribus.
 +
 +
Some new setups are missing the BitStream font, this can be installed by typing:
 +
 +
<pre>
 +
sudo apt-get install xfonts-scalable
 +
</pre>
  
 
=== Section headings ===
 
=== Section headings ===
Line 49: Line 57:
 
Programming code or instructions that must be typed in as part of a tutorial should be Courier 10 Pitch Regular font 10pt.  In some instances, (C or C++ code) Courier is too wide to prevent multiple line wraps.  In these cases, Monaco 10pt can be used instead of Courier.  Articles of a given type should preserve this choice from the first instance onwards.
 
Programming code or instructions that must be typed in as part of a tutorial should be Courier 10 Pitch Regular font 10pt.  In some instances, (C or C++ code) Courier is too wide to prevent multiple line wraps.  In these cases, Monaco 10pt can be used instead of Courier.  Articles of a given type should preserve this choice from the first instance onwards.
  
The Monaco font is freely available, but is not installed on Raspbian by default.  To install the font, download the [[File:Monaco_Linux.ttf][Monaco_Linux]] file.  Then type,
+
The Monaco font is freely available, but is not installed on Raspbian by default.  To install the font, download [http://www.themagpi.com/resources/fonts/Monaco/Monaco_Linux.ttf Monaco_Linux.ttf].  Then type,
 
<pre>
 
<pre>
 
sudo mkdir -p /usr/share/fonts/truetype/custom  
 
sudo mkdir -p /usr/share/fonts/truetype/custom  

Revision as of 02:05, 3 April 2013

TheMagPi.png

Main Readers Authors Volunteers Sponsors Advertising Translations

Software

Since Raspbian (Debian 7/Wheezy) is used for layout, the version of Scribus with this LINUX distribution is used for all layouts. This corresponds to Scribus 1.4.1.svn. To install this version of Scribus type,

sudo apt-get install scribus

on a Raspbian installation.


Scribus Page Layout Template

MagPi Scribus Template V2 (zip) : File:2-page-template-for-wheezy-by-jaseman-V2.zip


Page margins

Outer margins

  • The paper size is A4.
  • The units are set to millimetres.
  • The outer margins are:
    • top 10mm
    • bottom 10mm
    • non-spine 10mm
    • spine 20mm

Fonts

If the document is converted with a non-LINUX version of Scribus, the FreeSans font set is typically not available. This results in PDF files which contain the wrong fonts. A list of fonts which are often missing from a non-Debian LINUX installation can be found at http://www.themagpi.com/resources/fonts/


Title fonts

The title font should be taken from one of those present in the standard version of Scribus.

Some new setups are missing the BitStream font, this can be installed by typing:

sudo apt-get install xfonts-scalable

Section headings

Section headings should be FreeSans Bold 14Pt and underlined.

Body text

Normal text within the body of an article should be FreeSans Regular 12pt.

Fixed width text

Programming code or instructions that must be typed in as part of a tutorial should be Courier 10 Pitch Regular font 10pt. In some instances, (C or C++ code) Courier is too wide to prevent multiple line wraps. In these cases, Monaco 10pt can be used instead of Courier. Articles of a given type should preserve this choice from the first instance onwards.

The Monaco font is freely available, but is not installed on Raspbian by default. To install the font, download Monaco_Linux.ttf. Then type,

sudo mkdir -p /usr/share/fonts/truetype/custom 
sudo mv Monaco_Linux.ttf /usr/share/fonts/truetype/custom 
sudo fc-cache -f -v

Author and next page

The author should be quoted at the end of the article as,

Article by John Doe

The font should be FreeSans Bold Oblique 14pt.

For articles which are longer than two pages, there should be

Continued over page...

at the bottom of the even page number in FreeSans Bold Oblique 14pt.

Page numbers

The page numbers should be black FreeSans Bold Oblique 16pt.

Article title

The article title area is 180mm wide and 30mm deep.

Two column layout