Graphics Standards for LaTeX

(partially reproduced from the material in guidance.pdf by Brett Viren)

It is essential to use high-quality, efficiently sized figures (aka “graphics”). You will
be asked to redo them if they do not meet some basic standards. The standards
are in place to avoid sub-optimal figures, bloated files sizes, and delayed publishing
schedules. This section provides guidance on how to create figures according to the standards.

Graphic Types (LateX)

There two basic graphic content types; these are important to understand:

  • raster a two dimensional array of pixels
  • vector a two dimensional drawing description language

The CDR volumes compile with pdflatex and so can use graphics in PDF, JPEG
or PNG file formats. In general:

  • JPEG use for photographs
  • PDF use of any line drawings, plots, illustrations
  • PNG use due to some inability to produce proper JPEG or PDF (contact editors)

It is possible (though unwise) to store inherently raster information in PDF or
to rasterize inherently vector information into JPEG or PNG. This is the main
cause for bloated, low-quality graphics. Here are some guidelines to avoid this:

  • Only save photographic images to JPEG.
  • Save line drawings, plots or illustrations directly to vector PDF.
  • Follow special guidance on annotation (see Section 1.2.3).
  • Never convert any raster data (JPEG/PNG) to PDF.
  • Never raster what is really vector data in to a JPEG/PNG.
  • Never use MicroSoft PowerPoint for any figure as it tends to lead to poor
  • quality and bloated files.
  • Do save using native application formats for later modification or conversion
  • by experts.
  • Consider providing plots as ROOT, Python or other scripts. (see Section 1.2.2)

If authors find these guidelines can not be followed, please contact the technical
editors.

Plots

Where possible, it is recommended that any plots be submitted in a form that can
be built along with the LaTeX. This allows editors to apply consistent in-plot fonts,
colors, wording. More info to be added.

Annotated Figures

One common figure type is to take a figure and annotate it with arrows or labels.
Ideally you will do this in LaTeX, for example using TikZ. If you can’t do that,
then take care not to produce a bloated, low-quality graphic, and please choose fonts and colors that “work” with the document. If the underlying graphic is JPEG then produce the final version in JPEG and never save as PNG. If the annotation is on top of an original vector drawing and your annotation software will not raster it,
save it as PDF.

How to include graphics

The LaTeX code used to include graphics is not duplicated here; it is in the guidance.pdf instructions.

There are three places for figures (LaTeX volumes):
Figures common to all volumes/annexes:
  ./figures/
Static figures for just one volume (or annex)
  ./volume-NAME/figures/
  ./annex-NAME/figures/
Figures that are generated as part of the (nonexistent) document build system:
  ./volume-NAME/generated/
  ./annex-NAME/generated/

For those of you editing in Word, please note that you need to indicate where the graphic should go and provide a caption for it, as well as a credit if needed.

Graphics Standards for Word

 

Most of the graphics guidleines for LaTeX apply to Word with the exception of PDF graphics. PDF graphics are not supported by Word.

Contributors must ensure that all graphics are retained in their original format, that is, JPEG, PNG, or TIFF for optimal quality.

Use of Microsoft Visio is encouraged for line drawings, flow charts and any network diagrams, if applicable.

Importing Graphics in to Word

  1. Insert graphics as pictures and adjust the size and position of the image to stay in line with the text and to fit in to the page. An example is given below:
  2. Draw a border: Specifications: Line Color, Solid, theme (black). Line Width: 0.75
  3. Insert Figure Caption below the figure. (Follow Template Instructions.)
  4. Ensure the Figure Caption is aligned with the figure and remove any space between.
  5. For information on addding figure captions, refer to the CDR Template instructions.

Note: Contributors, you are not required to add the numbered figure captions. Just use place holder captions below the figure. Concise wording is appreciated. (Contain text to a minimum.) Also, if you can ensure that a quality figure is inserted or made available, then the rest of the formatting will be done for you by the Editor (including the numbering to the figure caption.)

          

 Image Size