---
title: "Update Teacher Pdf Preferences"
method: PUT
path: "/teacher-exams/{exam_id}/latex/teacher-preferences"
tags: ["Teacher Exams LaTeX"]
---

# Update Teacher Pdf Preferences

`PUT /teacher-exams/{exam_id}/latex/teacher-preferences`

Update teacher's default PDF formatting preferences.

## Request body

- TeacherPDFPreferencesUpdate
  - `default_teacher_name` string, nullable
  - `default_school_logo_url` string, nullable
  - `default_class_name` string, nullable
  - `default_duration` string, nullable
  - `default_general_instructions` string, nullable
  - `default_template` string, nullable
  - `default_font_family` string, nullable
  - `default_font_size` number, nullable
  - `default_line_spacing` number, nullable
  - `default_include_header` boolean, nullable
  - `default_number_exercises` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 19 revisions in range; 1 not diffed.

- **2026-09-20** `294412cdd7e2` — 1 info
  - added the new optional request property `default_number_exercises`

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher-exams/:exam_id/latex/teacher-preferences/put.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/05e048df94c6?raw)
