Frans de Boer composed on 2021-11-03 15:04 (UTC+0100):
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing.
Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
When I want to print a text file, I copy its content into a print template, in between the <pre></pre> tags, and adjust the print size and font in the template before printing the file from a web browser:
<!DOCTYPE html> <html LANG="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<title>Print Template</title>
<style type="text/css">
@media print { pre {font: 7pt monospace} }
@media screen { pre {font: medium sans-serif} }
</style>
</head>
<body>
<!--h1></h1-->
<pre></pre>
</body> </html>