Skip to content

Commit

Permalink
Initial Load
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-gimenez committed Feb 13, 2024
0 parents commit d9d1bcf
Show file tree
Hide file tree
Showing 7 changed files with 603 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Andrés Giménez Muñoz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# g-Exam

Template to create exams with header, school letterhead, grade chart, ...

## Features

- Scoreboard.
- Scoring by questions and subquestions.
- Student information, on the first page or on all odd pages.
- Question and subcuestion.
- List of clarifications.
- Teacher's Watermark
- Exam Model Watermark


# Usage

## Minimal Example

```typst
```

# Changelog

### v0.0.1

- Initial version submitted to typst/packages.
Binary file added examples/exam-001.pdf
Binary file not shown.
86 changes: 86 additions & 0 deletions examples/exam-001.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#import "../g-exam.typ": g-exam, g-question, g-subquestion

#show: g-exam.with(
author: (
name: "Andrés Jorge Giménez Muñoz",
email: "[email protected]",
watermark: "Teacher: andres",
),
school: (
name: "Sunrise Secondary School",
logo: "./examples/logo.png",
),
exam-info: (
academic-period: "Academic year 2023/2024",
academic-level: "1º Secondary Education",
academic-subject: "Mathematics",
number: "2nd Assessment 1st Exam",
content: "Radicals and fractions",
model: "Model A"
),

languaje: "es",
decimal-separator: ",",
date: "November 21, 2023",
show-studen-data: true,
show-grade-table: true,
question-point-position: right,
clarifications: (
[This test must be performed with a blue or black non-erasable pen.],
[Cheating, talking, getting up from the chair or disturbing the rest of the class can be reasons for withdrawal from the test, which will be valued with a zero.],
[All operations must appear, it is not enough to just indicate the result.],
)
)

#g-question(point: 2)[Calculate the following operations and simplify if possible:
#g-subquestion[$display(5/12 dot 9/15=)$]
#v(1fr)

#g-subquestion[$display(10 dot 9/15=)$]
#v(1fr)

#g-subquestion[$display(5/12 : 4/15=)$]
#v(1fr)

#g-subquestion[$display(2 : 5/3 =)$]
#v(1fr)
]
#pagebreak()

#g-question(point: 2)[Calculate the following operations and simplify if possible:
#g-subquestion[$display(4/11+5/11-2/11=)$]
#v(1fr)

#g-subquestion[$display(3+2/5=)$]
#v(1fr)

#g-subquestion[$display(7/12+2/9=)$]
#v(1fr)

#g-subquestion[$display(1-9/13=)$]
#v(1fr)
]
#pagebreak()

#g-question(point: 2)[Calculate the following operations and simplify if possible:
#g-subquestion[$display(3/5 - (1-7/10) = )$]
#v(1fr)

#g-subquestion[$display((3-5/3) dot (2-7/5) =)$]
#v(1fr)
]
#pagebreak()

#g-question(point: 2)[Sort the following fractions from highest to lowest:
\ \
#align(center, [$ 2/3 ; 3/8 ; 4/6 ; 1/2 $])
#v(1fr)
]

#g-question(point: 2)[In a garden we have 20 red, 10 white and 15 yellow rose bushes.
#g-subquestion[What fraction does each color represent?]
#v(1fr)

#g-subquestion[If we have pruned red rose bushes, what fraction do we have left to prune?]
#v(1fr)
]
Binary file added examples/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d9d1bcf

Please sign in to comment.