How to change fonts of object SQL in documentation

Applies to

ApexSQL Doc, ApexSQL Doc for MySQL

Summary

This article describes how to customize the font style and size for the SQL section of the database documentation.

Description

For ApexSQL Doc and ApexSQL Doc for MySQL default font style for the database documentation is Segoe UI.

For better readability, the font style and size can be changed for the desired part of the database documentation following these steps:

  1. Open the style.css file located in the Templates sub-folder in the ApexSQL Doc installation folder:

    The style.css file located in the Templates sub-folder in the ApexSQL Doc installation folder

  2. For example, the font for the SQL Script in the database documentation will be changed from the Segoe UI into Lucida Console, and the font size from 5pt will be increased to 10pt. Add the following lines to the ‘pre’ class for a 10 points font size and the Lucida Console:

    font:

    font-size: 10pt;

    font-family: “Lucida Console”;

    Add font size and change to look of the fotn

  3. Save changes and specify this *.css file as a Stylesheet file in the Styles tab under the Output options panel:

    A stylesheet option can be found under the Styles tab in the Output options

  4. When the documentation process is completed, the SQL part of the documentation after the change looks like this:

    The result after changing look of the documentation