Witiko / fithesis

A former repository of the LaTeX document class for the typesetting of theses at the Masaryk University in Brno. Now migrated to the URL below.

Home Page:https://gitlab.fi.muni.cz/external_relations/document_templates/fithesis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with package 'todonotes'

astaruch opened this issue · comments

Hi,

there exists a package 'todonotes', which makes a writing of TODO notes convenient (Overleaf link).

If you take the template of 'todonotes' on Overleaf and compile it, this is the expected result:
Screenshot from 2019-10-22 17-04-57

When I take fithesis template and try to add 'todonotes', only inline version of todo is working as expected:
Screenshot from 2019-10-22 17-11-16

Here is the link on Overleaf with minimum working example.

I've found a warning in the log on the Overleaf:

Package todonotes Warning: The length marginparwidth is less than 2cm and will most likely cause issues with the appearance of inserted todonotes. The issue can be solved by adding a line like \setlength {\marginparwidth }{2cm} prior to loading the todonotes package. on input line 143.

After adding the line in the document:

\setlength {\marginparwidth }{2cm} 

problem is solved.

Screenshot from 2019-10-22 17-18-34

Thank you for the report.
This is an open issue, since \marginparwidth is zero in fithesis, which is clearly wrong and does not reflect the actual layout.