Skip to the content.

Complete reference for all configuration options in the IITJ MTP Template Generator.

Configuration File Format

The generator uses YAML format for configuration files. Here’s the complete schema:

Required Fields

Project Information

project:
  title: "Your Project Title"
  type: "proposal"  # or "major-project"

Author Information

author:
  name: "Full Name"
  roll_number: "Student ID"
  email: "email@example.com"  # Optional

Academic Information

academic:
  supervisor: "Dr. Supervisor Name"
  co_supervisor: "Dr. Co-Supervisor Name"  # Optional
  supervisor_designation: "Professor"  # Required for major-project
  supervisor_department: "Department Name"  # Required for major-project
  department: "Department of Computer Science"
  university: "University Name"
  degree: "Bachelor of Technology"
  session: "2024-25"

Dates

dates:
  submission_date: "November 2024"

Optional Fields

Formatting Options

formatting:
  color_scheme: "blue"           # blue, red, green, custom
  font_size: 12                  # 10, 11, 12
  line_spacing: 1.5              # 1.0, 1.5, 2.0
  bibliography_style: "IEEE"     # IEEE, APA, ACM

Content Options

content:
  include_declaration: true
  include_certificate: true
  include_acknowledgments: true
  include_abstract: true
  include_appendix: false

All content options are boolean (true/false) and default to true except include_appendix which defaults to false.

Assets

assets:
  logo_path: "./assets/university-logo.png"

Complete Example

Proposal Report

project:
  title: "Machine Learning for Climate Change Prediction"
  type: "proposal"

author:
  name: "Alice Johnson"
  roll_number: "2021CS042"
  email: "alice.johnson@university.edu"

academic:
  supervisor: "Dr. Robert Brown"
  co_supervisor: "Dr. Emily White"
  department: "Department of Computer Science and Engineering"
  university: "Institute of Technology"
  degree: "Bachelor of Technology"
  session: "2024-25"

dates:
  submission_date: "December 2024"

formatting:
  color_scheme: "blue"
  font_size: 12
  line_spacing: 1.5
  bibliography_style: "IEEE"

content:
  include_acknowledgments: true
  include_abstract: true

assets:
  logo_path: "./my-university-logo.png"

Major Project Report

project:
  title: "Machine Learning for Climate Change Prediction"
  type: "major-project"

author:
  name: "Alice Johnson"
  roll_number: "2021CS042"
  email: "alice.johnson@university.edu"

academic:
  supervisor: "Dr. Robert Brown"
  co_supervisor: ""
  supervisor_designation: "Professor"
  supervisor_department: "Department of Computer Science and Engineering"
  department: "Department of Computer Science and Engineering"
  university: "Institute of Technology"
  degree: "Bachelor of Technology"
  session: "2024-25"

dates:
  submission_date: "May 2025"

formatting:
  font_size: 12
  line_spacing: 1.5
  bibliography_style: "IEEE"

content:
  include_declaration: true
  include_certificate: true
  include_acknowledgments: true
  include_abstract: true
  include_appendix: false

Validation Rules

The generator validates your configuration:

  1. Required fields: All required fields must be present and non-empty
  2. Email format: If provided, email must be valid (e.g., user@domain.com)
  3. Project type: Must be one of: proposal, major-project, presentation
  4. Logo path: If specified, file must exist
  5. Font size: Must be 10, 11, or 12
  6. Line spacing: Must be 1.0, 1.5, or 2.0

Tips

  1. Use quotes: Always quote string values in YAML to avoid parsing issues
  2. Leave empty for optional: Use "" or omit the field entirely for optional fields
  3. Comments: Use # for comments in your config file
  4. Validation: Run the generator to validate your config before editing templates
  5. Reusability: Save your config file for future use or sharing with peers

See Also