This is a file from the Wikimedia Commons

File:Latex layout.svg

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Original file(SVG file, nominally 310 × 430 pixels, file size: 62 KB)

Summary

Description

diagram showing the layout of each page for LaTeX. I created in the following way. First I downloaded layout.pdf, that contains a similar diagram in the second page. Another possible way to get the same (??) diagram could be creating a latex file called test.tex with the code:

\documentclass[a4paper,12pt]{article}

\usepackage{layout}

\begin{document}

\layout

\end{document}

compile it with pdflatex:

pdflatex test.tex

I don't know why, I got a sightly different output. Anyway, I have used the original layout.pdf from the link above. Once you have your PDF, you can continue. Convert it into PS:

pdf2ps test.pdf

then I converted it to SVG with my ps2svg.sh script:

ps2svg.sh test.ps

I got an SVG version without any text. I heavily post-processed it with Inkscape and there it is. I didn't insert any text, just numbers, so that the caption can be added wherever wanted using wiki-text.

I previewed it with rsvg (the same program Wikimedia uses), and it looks perfect, while here the fonts don't look well aligned and are a bit overlapping with the rest. I guess it is because my rsvg is more updated than Mediawiki's, so I think the picture will look better in the future (next time Wikimedia is updated).
Date
Source the layout.sty LaTeX package, heavily post-processed by myself
Author Alessio Damato
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with Inkscape.
 
 This diagram uses embedded text that can be easily translated using a text editor.

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 January 2007

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:44, 17 January 2007Thumbnail for version as of 18:44, 17 January 2007310 × 430 (62 KB)Alejo2083{{Information |Description=diagram showing the layout of each page for LaTeX. I created in the following way. First I made a latex file called ''test.tex'' with the code: <pre> \documentclass[a4paper,12pt]{article} \usepackage{layout} \begin{document}

The following 3 pages use this file:

Global file usage

The following other wikis use this file:

Metadata