> For the complete documentation index, see [llms.txt](https://jona-projects.gitbook.io/kiwicalc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jona-projects.gitbook.io/kiwicalc/pdf-worksheets/getting-started.md).

# Getting Started

### PDF Worksheets

You can generate PDF worksheets in different mathematical subjects and languages either via the `worksheet()` method or via a system of classes. These classes allow you to customize each exercise so you can create worksheets with exercises of different topics and languages. Also, they offer a wider variety of exercises, while you can only generate equations with the `worksheet()` method as for this version.

#### `worksheet()`

You can create a PDF worksheet document with exercises of the same topic via the `worksheet()` method. You also get an additional pages of final solutions as default. Here are the parameters of the method:

* `path`- a string that represents the path of the file. Default is `None`, so a path is generated automatically if not specified.
* `dtype` - A string that represents the type of the equations. The default is `'linear'`. The possible Values are:
  * `'linear'`
  * `'quadratic'`
  * `'cubic'`
  * `'quartic'`
  * `'polynomial'`
  * `'trigo'`
  * `'log'`
* `num_of_pages` - the number of pages in the document (not including the solutions). Default is 1.
* `equations_per_page` - The number of equations per page. The default is 20.
* `get_solutions` - Whether to add pages with final solutions. Default is `True`.
* `digits_after`- The maximum amount of digits after the decimal points of the solutions.
* `titles`- a list of strings that represent the titles of the pages (including the solutions). Default is `None`.

For example:

```python
worksheet()
worksheet("linearWorkheet.pdf", num_of_pages=10)
worksheet("myWorksheet.pdf", dtype='quadratic')
                    
```

Now lets cover the classes.
