Physics problem booklets

Python scripts for assembling problem booklets

This repository is meant for problem book creation and management. All the problems are kept in separate files following a specific structure and can be then compiled into LaTeX files using python scripts found in the book directories. Currently, a web version and a book version can be generated. Both have separate LaTeX style files.

The repository was developed during the creation of the physics problem collection books for high school division of the Estonian physics olympiad, including the regional, national and open round. There are 2 books, each one containing 200 problems with 30 problems from each year (10 from each round). The books span years 2005 - 2011 and 2012 - 2018. There’s also a web book containing all the problems in the ‘problems/’ folder. — layout: page title: project description: a project with a background image img: /assets/img/12.jpg —

Caption photos easily. On the left, a road goes through a tunnel. Middle, leaves artistically fall in a hipster photoshoot. Right, in another hipster photoshoot, a lumberjack grasps a handful of pine needles.
This image can also have a caption. It's like magic.

You can also put regular text between your rows of images. Say you wanted to write a little bit about your project before you posted the rest of the images. You describe how you toiled, sweated, bled for your project, and then… you reveal its glory in the next row of images.

You can also have artistically styled 2/3 + 1/3 images, like these.

The code is simple. Just wrap your images with <div class="col-sm"> and place them inside <div class="row"> (read more about the Bootstrap Grid system). To make images responsive, add img-fluid class to each; for rounded corners and shadows use rounded and z-depth-1 classes. Here’s the code for the last row of images above:

<div class="row justify-content-sm-center">
    <div class="col-sm-8 mt-3 mt-md-0">
        {% include figure.html path="assets/img/6.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
    </div>
    <div class="col-sm-4 mt-3 mt-md-0">
        {% include figure.html path="assets/img/11.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
    </div>
</div>