TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

All \randomize{} does in the following MWE is removing the space between the words. I wonder why the text is not randomised.


\randomize{Random Text}

I am using TeX Live.

share|improve this question
up vote 8 down vote accepted

The randtext won't randomize as it looks. You can't copy paste the word.:


this is my randomized \randomize{Random Text} here.

This is how pdf looks:

enter image description here

When you try to copy paste the entire sentence from the resulting pdf, you get:

this is my randomized

This package is meant to prevent the copy paste-ability of email addresses. From documentation:

enter image description here

Unfortunately not all pdf readers obey this randomization. It works with sumatrapdf (for me) and not with adobe.

share|improve this answer
@cyberSingularity: Yes. PDF readers don't follow uniform rules. This is same as putting a security password to pdf files. Some readers open the files ignoring all the pass words! – Harish Kumar Dec 24 '12 at 10:58
(This is no attack, I am genuinely interested to know the answer to the question that I'm going to ask!) -- I compiled your code with pdfLatex on my ubuntu and default Document Viewer copied it correctly (un randomize). What is the point of this command if most of readers can reorder the text? – Pouya Dec 24 '12 at 11:09
@Pouya: I don't know exactly :-) – Harish Kumar Dec 24 '12 at 11:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.