LaTeX Template for Use Cases

This is just a quick post about a \LaTeX template I recently created. I’m currently doing a project on Software Architecture (designing a big and complicated application) and we had to write lots and lots of use cases. I searched the Internet for a nice \LaTeX template or environment to write my use cases in, but I couldn’t find one. Therefor I created my own usecases package that adds an environment to write use cases in. I based my package on this post. You can download the template, style file and an example PDF HERE.

To use the package, please follow these steps:

  1. Drop the file usecases.sty in the same folder as your root \LaTeX file.
  2. Include the usecases package in the preamble of your root file with the command:
  3. Within your document, you can now use the usecase environment (make sure to take a look at the template file)

I’ll also give you a short manual:

  • \begin{usecase} ... \end{usecase}: These commands define the use case. All the following commands should be within this environment.
  • \addtitle{Use Case X}{Title}: This should be the first command you use in the use case environment. You can use it to show the use case number and the title.
  • \addfield{Property:}{Value}: With this command, you can add a line with a use case specification. For example preconditions, postconditions, scope…
  • \additemizedfield{Property:}{\item Value}: This command is similar to the \addfieldcommand but the values (must) appear in a bullet list.
  • \addscenario{Scenario Name:}{\item Xth step}: Here you can specify the main (or an alternative) use case scenario. There are examples of both in the template.

In the file usecases.sty you can easily change the style for the use cases. The template you can download is based on the use case template presented in the book Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition) by Craig Larman. Don’t expect too much of this template, I just created it for my project.

I hope this is useful to someone!


Creating my own little space on the Internet

This is the first blog post on my new blog! In this post I would like to explain what the purpose of this blog and website is and why I created it. I’ve set up this website because I wanted “my own space” on the Internet. There are three main reasons for that:

1. Contribute to the general knowledge of the Internet

This is a first and also fairly ambitious goal. When I’m developing software or doing some other task, the Internet (and it search engines) are my best friends and my main source of information. When I run into a problem, most of the time I use the ‘general knowledge’ on the Internet to solve it. When I’m buying a new gadget, I look for user reviews and opinions on the Internet to make the best buy. And after making use of this knowledge for so many times, I decided to give something back to ‘the Internet’.

I will do this by posting tutorials, how-to’s, reviews, specifications, solutions to problems I run into… on my blog. So my blog doesn’t really have a fixed subject and that is how I want it. It is made to be indexed by search engines and for people querying the knowledge of the Internet to be found.

2. One space to rule them all!

A second purpose of this web space is creating one single website where people can find me. With all those different social networks I have a lot of different profiles on different sites. So when I meet new people, this is a recurring scenario: “Let’s keep in touch! This is my Facebook profile… and here is my Twitter profile… Oh and this is my LinkedIn profile and my e-mail…”. And after giving him a lot of links, I would still forget half of them. And personally I also think it is confusing that there are multiple pages (URI‘s) representing me on the internet.

So I wanted to create a space on the Internet where I could concentrate all these profiles and all the information about me. It will be like my personal social (media) hub. I will be integrating my social media profiles into this site and maybe I will experiment with creating a wall or something like that…

3. Representing myself on the Internet in my own way.

This final reason is somewhat related to the previous one. The limitation that social networks and other websites have is that you don’t have full control over your own profile and the content you provide. But with a site of my own, I do have full control: I can write what I want, in the layout that I want and when I want. And most importantly… I own every thing I publish (which is quite different in some social networks). I just wanted a place that comes with no tricks or large “Terms of agreement”.

But this site will also be about me, like a kind of ‘portfolio’ including (completed) projects. Maybe I’ll even add a gallery in the future…

I hope I can keep up maintaining this website and publishing (useful) content on it for many years. Nevertheless I wish you a happy reading!

© 2019 Tom's Webspace

Theme by Anders NorénUp ↑