1

How do I format a page in LaTeX such that it will only contain 2400 keystrokes?

Anyone who knows how the preamble should look like?

  • 1
    Do you need to do typesetting or to measure keystrokes? This is two very different things. And you can use different tools. TeX is designed for typesetting. – wipet May 04 '15 at 16:40
  • I guess you mean characters, not keystrokes. – Werner May 04 '15 at 16:42
  • there is no easy way (assuming you mean typeset characters rather than actual keyboard strokes) but why would you want such a thing? – David Carlisle May 04 '15 at 17:00
  • keystrockes spaces are included.. and typesetting.. i was more thinking of how the permeable should look like. – Richard Dawkins May 04 '15 at 17:00
  • The document i am writing is an exam text, which declares a page as 2400 keystrokes pr. page. – Richard Dawkins May 04 '15 at 17:02
  • 1
    @DavidCarlisle You've obviously never written a grant proposal or similar (I had a similar restriction on some text for the Leverhulme Trust, but they only accept ASCII input on a website so it was easy enough). – Joseph Wright May 04 '15 at 17:17
  • See the stdpage package. – Ulrike Fischer May 04 '15 at 17:33
  • @DavidCarlisle Job applications often require this, too. But, again, they usually only take ASCII input. – cfr May 04 '15 at 17:36
  • @UlrikeFischer is only able to max words for each line and max lines on each page. – Richard Dawkins May 04 '15 at 18:24
  • what if the 2400th keystroke happens to be in the middle of a word? (i'd tend to interpret the intent of this regulation as "maximum of 2400".) with a fixed-pitch (ascii monospace) font, this approximation can easily be calculated as a function of number of words x number of lines. – barbara beeton May 04 '15 at 18:52
  • I don't know the exact regulations at that point.. But it is said that a page is described as 2400 keystrokes. – Richard Dawkins May 04 '15 at 20:13
  • But i would say that the at the 2400th keystroke if its in the middle of a word a - will be added, and continued at the next page.. Or something nicer.. – Richard Dawkins May 04 '15 at 20:46
  • I thought that something changing the width or something similar would make it happen? – Richard Dawkins May 04 '15 at 22:53
  • @JosephWright counting characters in plain ascii text is meaningful but counting characters in typeset output, isn't really. How many characters is an fi ligature, or a stretched math delimiter or ... – David Carlisle May 05 '15 at 00:14

0 Answers0