-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
options to adjust format of paper background #2137
Comments
In case of graph paper that should be pretty easy to implement, since the file format already supports it. For example the following xml file (gzipped and renamed from .gz to .xopp) produces a grid with size 50 pt (instead of 14.17 pt).
As a workaround you may start with this xml-file (after changing the value of r1 in the xml-file to your needs). Your feature request definitively should be implemented. There is not much sense having a refined file format, when the gui does not support it. Edit: |
Thanks for your prompt reply and consideration! Where should I put this .xopp file? And what is this xml-file you mentioned? I really should familiarize myself with the files system/init etc for xournalpp. Where's a good place to start? Thanks! |
The xml file is the one you see above (human readable). A xopp-file is a compressed xml-file (not human readable any more). So you would have to
Now whenever you want to have a new document with your new (larger) grid size just open the backgroundTemplate.xopp file in Xournal++, save it under a new name. If you add a page, it will automatically have the same graph background (same grid size). To learn more about the file format you could consult the Xournal User's manual. It describes the .xoj-format of Xournal, which is a subset of the Xournal++ .xopp-format. If you need more help, let me know. |
This works beatifully. Thanks SO MUCH for your help! |
There is actually a simpler (and better) way to adjust the format of the paper background. That's what you need to do:
|
Are you able to help me understand the dimentions of these parametres? im guessing that But I dont understand their relationship to mm, can you point me in the right direction so that I can create some custom templates |
First of all, the unit is 1 pt = 1/72 inch. So 5mm = 14.17 pt is the default grid size of the graph paper. There are also The following two parameters for ruled/lined backgrounds are only available in the development version (nightly release), not yet in the stable version 1.1.1. For ruled and lined paper there is the parameter For lined paper there is also the parameter For isometric paper there is the parameter Edit: Added |
Is there a config format for ruled backgrounds (format=lined)? |
What is the command for increasing gap between ruled lines ??? |
The gap between ruled lines can only be adjusted since May 2022 (not yet in the stable version). Use the parameter |
Where is the |
I am testing the following for Ruled format but nothing changes on Windows11. [test2] |
@i-zanis What you added works for me, although |
@rolandlo |
Top and bottom margins are currently not configurable. They are hardcoded values. |
Is there any chance for a GUI for modifying these settings? |
Is your feature request related to a problem? Please describe.
I use xournalpp to present lecture slides + take notes. I often need to sketch graphs so the graph paper background is very helpful. I have lots of equations with subscripts and subscripts, and the grid of the default graph paper is too small.
Describe the solution you'd like
The existing options for paper background are great -- it would be great if the user can tweak the parameters of the background. E.g. for ruled paper: adjust width between the rules; for graph paper: specifiy the size of the grid.
Note that depending on the user input, the background patterns might not "determinate" evenly, i.e. the last row/column might be smaller the rest the regular ones. The "correct" way to address that would have been to adjust the starting point of the background pattern to even things out. But I have not problem having even "uneven" row/column at the end, and the flexibility of being able to tweak these parameters far exceed the small visual uneveness.
Describe alternatives you've considered
I manually created pdf graphpapers and use that as background. But then I would not be able to change the background color, and I would not be able remove the background when I am done (my audience strongly prefer not to see the background patter during presentations).
Additional context
If it takes too much work to add this to the GUI interface, it's be perfectly fine for users to manually change the parameters in a config file (this is likely to be something that a user would tweak once and for all and use it for all documents).
Thanks for the consideration!
The text was updated successfully, but these errors were encountered: