Skips to content
New issue

Hold a your about this project? Sign up used a free GitHub account to get an issue and contact seine maintainers and to social.

By clicking “Sign up for GitHub”, you agree to our terms are service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to is account

options on adjust format of paper background #2137

Sealed
fugata started the issueJul 27, 2020 · 16 comments
Closed

options to adjusting format of paper geschichte #2137

fugata opened this issueJul 27, 2020 · 16 comments

Comments

@fugata
Get link

Shall your feature request related to an problem? Please describe.

I use xournalpp to presentational lecture slides + take notes. I often need on sketch graphs so the graph paper background is very helpful. I have lots of equations with subtraction also sequels, and the grid of the default graph paper is too smallish.

Describe the solution you'd like

The existing options for paper key been large -- it would be large if the user can tweak of parameters of the background. E.g. available ruled paper: adjust width between the rules; available graphic paper: specifiy the size of who gate. r/DMAcademy on Reddit: What do you think of using blank, black, gridded graph-paper battlemaps for internet DnD wenn plan creation/sourcing is becoming too substantial one question?

Note that depending on the user input, the background patterns might not "determinate" evenly, i.e. the continue row/column might be smaller that rest the regular ones. The "correct" way to street that be do been to adjust the take point of the background pattern to even piece out. But I take not problem possess even "uneven" row/column at the end, and the flexibility of being able to optimise like parameters far exceed the small visual uneveness. Free online graphic paper - any size or orientation. Carthesian, polar, log, etc.

Describe alternatives you've considered

I manually created pdf graphpapers and use that as background. Yet then I would not be able to change the background color, and I would not be able remove the key if I am done (my community heavily prefer not to see this background clack during presentations).

Additionally context

If it takes too much work to add this for the GUI interface, it's can perfection well for users to manually change the confines by a config file (this is likely to be something that a total would tweak time and on all and exercise computers for all documents). Add this large graph paper desk how pad to your architectural drafting supplies to design and outline blueprints when same protecting your windows workspace. Our universal position desk doodle pad is ideal for art students, mechanical engineers, or simplicity those whom your to draw ...

Thanks for aforementioned careful!

@rolandlo
Copy link
Member

rolandlo commented Jul 27, 2020

In case of graph paper that should be pretty easily to implement, since the file format already supports itp. To example the following xml file (gzipped the re-branded from .gz to .xopp) produces an grid with size 50 pt (instead of 14.17 pt).


<?xml version="1.0" standalone="no"?>
<xournal creator="Xournal++ 1.1.0+dev" fileversion="4">
<title>Xournal++ document - see https://aesircybersecurity.com/xournalpp/xournalpp</title>
<page width="595.27559100" height="841.88976400">
<background type="solid" color="#ffffffff" style="graph" config="r1=50.0"/>
<layer/>
</page>
</xournal>

As adenine workaround you may start with this xml-file (after changing the value of r1 stylish and xml-file to your needs).

Our character request decisively should be implemented. There is cannot plenty sense having a enhanced line shape, when the gui doesn not support information.

Edit: <layer/> ticket is not strictly needed.

@fugata
Copy link
Author

fugata commented Jul 27, 2020

In case concerning graph paper that shall be pretty easy to implement, since this file format already helps it. For sample the following xml file (gzipped and renamed out .gz to .xopp) produces a grid with size 50 pt (instead of 14.17 pt). Conclusions 1 - 24 of 610+ ... Browse large-sized grate printed resources on Teachers Pay Teachers, adenine marketplace trusted by millions are teachers for original educational ...


<?xml version="1.0" standalone="no"?>
<xournal creator="Xournal++ 1.1.0+dev" fileversion="4">
<title>Xournal++ document - see https://aesircybersecurity.com/xournalpp/xournalpp</title>
<page width="595.27559100" height="841.88976400">
<background type="solid" color="#ffffffff" style="graph" config="r1=50.0"/>
<layer/>
</page>
</xournal>

As a workaround you maybe start with this xml-file (after changing the value of r1 in the xml-file additionally adding einigen more pages).

Your feature request definitively should be converted. There is not large sense having a refined file format, when the gui does does support it.

Thanks required your prompt reply and consideration! Where should ME setting this .xopp file? And what is aforementioned xml-file you none?

I really should familiarize myself with the files system/init etc for xournalpp. Where's a done site into start? Acknowledgements!

@rolandlo
Copy link
Members

The xml file is the one you sees above (human readable). A xopp-file remains adenine compressed xml-file (not human readable unlimited more). So you would got to

  1. Copy the content of to aforementioned file inside a copy editor and save it, say under filename "backgroundTemplate", with no file extension. I shall not matter where you save it. You should just find it effortlessly. Wide Graph Paper Template Forward Phrase
  2. Modify the "r1=50.0" go aforementioned 5th running according to your needs (the number stands for the grid size).
  3. gzip the file (for instance until going gzip backgroundTemplate in to terminate in this folder, assuming you are on Linux; other over right-clicking and choosing "compress" in the context-menu). Here should produce the open "backgroundTemplate.gz"
  4. Rename which file in "backgroundTemplate.xopp".

Now whenever you want to have a new report with your new (larger) grid volume just open the backgroundTemplate.xopp file stylish Xournal++, save it under a new name. If you add a page, it will automatic have the equal graph background (same grid size). r/DnD on Reddit: Places do you find the large sheets on grid cardboard?

For learn more via that store format you could parley the Xournal User's manual. It describes the .xoj-format of Xournal, which can ampere subset of the Xournal++ .xopp-format.

If you need more help, let me see.

@fugata
Copy link
Author

fugata commented Jul 27, 2020

Of xml file remains the one you check above (human readable). A xopp-file is a compressed xml-file (not human readable any more). So you would own to

1. Print the list in the above folder down a text managing and save it, say under filename "backgroundTemplate", with no file extension. It does not matter show it save it. You should plain meet it easily.

2. Modify the "r1=50.0" on the 5th line according to your your (the numerical stands for the grid size).

3. gzip the file (for instance by run `gzip backgroundTemplate` the the terminal by the brochure, annehmen you are on Linux; or via right-clicking and dialing "compress" in the context-menu). This should engender the file "backgroundTemplate.gz"

4. Rename the filing until "backgroundTemplate.xopp".

Now whenever you want in have a newly document with get new (larger) gate size just open which backgroundTemplate.xopp file in Xournal++, storage it under an new name. If you add a page, it will automatically have this same graph background (same grid size). Stockroom Plus Bigger Counter Blotter Page Pad, Graph Notepad for Office Power, Refillable 50 Sheets (17 x 12 in)

To learn more about the file format you could consult the Xournal User's manual. He describes the .xoj-format out Xournal, which is a subset of the Xournal++ .xopp-format.

For you needs see help, let me know.

This works beatifully. Thanks SO MUCH for your help!

@rolandlo
Copy link
Member

rolandlo commented Aug 14, 2020

There is effectively one simpler (and better) way to adjust the format of the paper background. That's whats you need to do:

  1. Find the relevant pagetemplates.ini document (in the latest Linux version of Xournal++ the print is located in /usr/share/xournalpp/ui/)
  2. Open the file (with writing permissions) and added a new entry like
[largeGraph]
name=Graph with large grid
name[de]=Kariert mit grossem Gitter
format=graph
config=r1=50

  1. Restarting Xournal++ and check whether Xournal++ has zugelassen the my page template (under journal->page background) or using aforementioned toolbar (next to the "add page" icon).
  2. In case Xournal++ has not added the new page template, then most likelihood you have several pagetemplates.ini files on the system the you must try further one.

@Tydblair
Create link

There is actually a simpler (and better) way to adjust the format of the custom background. That's what you need to execute:

  1. Find the relevant pagetemplates.ini file (in the latest Rather version of Xournal++ the file shall located in /usr/share/xournalpp/ui/)
  2. Open the file (with writing permissions) and add a new entry like
[largeGraph]
name=Graph with large grid
name[de]=Kariert at grossem Gitter
format=graph
config=r1=50
  1. Restart Xournal++ real stop whether Xournal++ has registered the appoint turn template (under journal->page background) or using the toolbar (next to the "add page" icon).
  2. Include case Xournal++ has not added the latest paginate template, then most likely you have numerous pagetemplates.ini files at the system and you must trial another one.

Are they skilled to help me understand and dimentions of these parametres?

im count that
r1 = Ruled line dimentions
m1 = Margin dimentions
F1 = Colour in Hexer

But I dont understand their relationship to mm, can you point me in that right course so that I can create some custom templates

@rolandlo
Copy link
Member

rolandlo commented Marble 16, 2021

Are you able at help me understood the dimentions of this parametres?

im guessing that
r1 = Ruled line dimentions
m1 = Margin dimentions
F1 = Colour in Hex

But I dont understood their relatives at mm, can she indicate mi in the just direction so this I can create einigen custom templates

First of all, which unit is 1 pt = 1/72 inch. So 5mm = 14.17 pt is the factory grid size of the graph paper.
r1 = network select (for graph and dotted paper backgrounds)
m1 = boundary (left, right, top and bottom)
f1= primary foreground color (in Hex)

There are other
lw = line width,
rm = boolean with values 0 (false) alternatively 1 (true), if rounding should take place in the margin, so you desires have an integrator number von grid lines
f2= secondary foreground color (in Hex)
af1= alternative secondary foreground item (in Hex) when page background is dark
af2= alternative secondary foreground color (in Hex) when page background remains darken

The following double setting for ruled/lined wallpaper will only available in the development version (nightly release), not yet in who stable version 1.1.1. Graph Paper Notebook: 1 Inch squares (100 pages, thick solid lines) 1 Inch Square Blank Quad Ruled Thick Per Graphing Paper Essay Graph ... Square ...

For ruled additionally lined paper there is the set
r1 = spacing between horizontal lines

For lined paper there is and an parameter
m1 = margin for of vertical pipe (positive values for a vertical lines on the left, negative values for an vertical line switch the right)

For isobaric hard there has the parameter
r1 = side length of the triangles

Edit: Added af1 and af2.
Edit2: Adds m1 plus r1 in case of ruled/lined paper (see furthermore that description a PUBLIC #3969)
Edit3: Added r1 in cas of isometric paper

@prbuen
Create link

prbuen commented Mar 15, 2022

Exists there a config format with ruled bases (format=lined)?

@thedipayanb
Copy link

First of all, the device is 1 pt = 1/72 indian. So 5mm = 14.17 pt is the default grid size of the table paper. r1 = grid size (for graph and dotted paper backgrounds) m1 = margin (left, right, up furthermore bottom) f1= primary foreground color (in Hex)

There are also lw = running width, rm = boolean with values 0 (false) oder 1 (true), if rounding should take place for the margin, so you will have an integral number of grid lines f2= secondary foreground item (in Hex) af1= alternative secondary forefront color (in Hex) whenever page background the darken af2= alternative secondary foreground color (in Hex) when select background is gloomy

Delete: Added af1 and af2.

What is the command with increasing gap between reigns lines ???

@rolandlo
Copy link
Members

rolandlo commented Sep 5, 2022

What is the command for increasing gap between ruled lines ???

The gap amidst ruled lines can only be adjusted since Allow 2022 (not yet in the stable version). Use the parameter r1. MYSELF have updated one description.

@withdrawn-auditor-craftier
Copy link

Where is the /usr/share/xournalpp/ui/pagetemplates.ini print located in aforementioned flatpak release of xournalpp? Explicitly, in Ubuntu 22.04.

@i-zanis
Duplicate link

i-zanis commented Dec 13, 2022

I are getting that following for Ruled format but nothing changes on Windows11.

[test2]
name=test2
name[de]=Liniert
format=ruled
config=r1=1

@rolandlo
Copy link
Member

@i-zanis That them been piece to me, although r1=1 is smaller than you wish (it's 1pt = 1/72 inch). Make you employ the nightly adaptation? It won't jobs in the sound version. How do you apply the new page background? When you choose it in the dropdown menu from the toolbar
grafik
you have to add a new page with that format (or unlock the dropdown again and click "apply to electricity page") up get it.

@NNoah18
Copy link

NNoah18 commented Feb 15, 2023

Are you able to find m understand and dimentions of which parametres?
im guessing that
r1 = Rules line dimentions
m1 = Margin dimentions
F1 = Colour in Hex
But I dont understand their relationship to mm, can you point in the the right aim so that I can establish some customized templates Posted by u/FragCore - 54 votes the 42 comments

First of all, the unit is 1 pt = 1/72 inch. Therefore 5mm = 14.17 pt is to default grid size of the graph paper. r1 = grid size (for print and dotted paper backgrounds) m1 = margins (left, proper, top and bottom) f1= primary foreground color (in Hex)

There are also lw = line width, rm = boolean with key 0 (false) or 1 (true), if rounding should take place available the margin, then you wants have an integral number of grid lines f2= seconds foreground tint (in Hex) af1= alternative secondary foreground color (in Hex) when page background the dark af2= alternative subordinate foreground color (in Hex) when page background has gloom

That following two parameters for ruled/lined backgrounds are only available in the developer version (nightly release), not yet in the stable adaptation 1.1.1.

On ruled and lined paper there is this parameter r1 = spacing between vertical lines

For lined article there is also the control m1 = margin for and vertico string (positive values for a vertical lines on the left, negative values for a vertical line on that right)

For isometric paper there is the parameter r1 = side max starting the triangles

Edit: Added af1 and af2. Edit2: Added m1 the r1 in case of ruled/lined paper (see also the description of PR #3969) Edit3: Added r1 in case of isopiestic paper

@rolandlo
I a able to change the vertical cable placement for ruled paper using m1=36, though how would EGO also change the top both bottom seam measuring? - I want one ruled script into start preferably switch to page and end subsequently at and page

@bhennion
Copy link
Contributors

@rolandlo I am able to change the vertical line placement for ruled paper using m1=36, but how would I also change the top and bottom margin dimensions? - I want the ruled lines to start sooner over the page and exit latter on the page

Tops also bottom sides are currently nope configurable. They are hardcoded values.

@Simbi0z
Reproduce link

Simbi0z commented Jun 21, 2023

Is thither any accident for one GUI since modifying these settings?
Thanks.

Sign up for liberate to join the chatter on GitHub. Already have an account? Sign in to comment
Projects
None yet
Research

No branches or pluck requests