I want to write a new class based on the article class for student home-works that needs a modified title page.  Is it possible to create new macros like \title{} and \author{} that can be used in the modified \maketitle code (e.g. \tutor{} and \dueDate{}) without editing the latex.ltx file?  In the question  the class that is worked on is memoir.cls while I'm trying to modify the article.cls. Furthermore the best solution given is by adding new information to \author macro and not on how to add new macros that are ready to use in the preamble.
I'm preparing a new template for our students' projects based on memoir. All this projects are supervised (directed) by one or more professors so I would like to declare a command like \author but called \director.   This way the student can declare \director{My professor} and the template will place and format the name.   I would like to be like \author and not just a simple \newcommand because it can include affiliation, several names, etc.  I don't know where is \author declared, where should I look?
Java generics type erasure: when and what happens? Why do the $n \times n$ non-singular matrices form an "open" set? Where do ultra-high-energy cosmic rays come from? Physicists have detected an amazing variety of energetic phenomena in the universe, including beams of particles of unexpectedly high energy but of unknown origin. In laboratory accelerators, we can produce beams of energetic particles, but the energy of these cosmic rays far exceeds any energies produced on Earth. So my question is, from where do these  come from? I am trying to implement  using additive ElGamal.  I am trying to run the full protocol mentioned in Section 3.4 on the following inputs:   $p = 17$ (prime) $g = 6$ (generator) $x = 5$ (private key) $k = g^x \pmod p = 6^5 \pmod{17} = 7$ (public key)   Suppose the clients inputs are 1, 2. Then $P(x) = (x-1)(x-2) = x^2-3x+2$, and therefore the coeffiecients to encrypt are $(1, -3, 2)$. I chose $y = 10$ and so the encrypted values are:   $1$ becomes $(15,12)$ $-3$ becomes $(15, 1)$ $2$  becomes $(15, 4)$.   The Server Side Input Set $S=\{1\}$ and the random value $r0$ corresponding to $\{1\}$ is $r_0=2$.    With the above problem in context, I have some questions:   What does P 0,j refer to in Step 7. Can you please give an example? In Step 8, suddenly variable i is introduced along with j. What does i, j, refer to? In Step 8, ENC() function has a ; in between. How do we interpret ENC(a;b)? GDBus.Error when trying to enable second screen I connected an external screen to my laptop, but my desktop didn't automagically extend to it, as it used to do about a year ago (older version of Ubuntu).  I went to the display settings. The screen was listed there (correct resolution, brand name, etc.). But when i put the switch on 'on' and click 'apply', i get this error:   Failed to apply configuration: %s  GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.gnome.SettingsDaemon.XRANDR_2' on object at path /org/gnome/SettingsDaemon/XRANDR   It's been like this for a few months now, but i'd really like to be able to use an external screen/beamer again.  Any ideas?  Thanks. Children’s books, one in space setting, the other in a jungle Does the force of kinetic friction increase with the relative speed of the objects involved? If not, why not? Will getting a Software Testing Certification benefit me in my career? How do defenders of libertarian freewill reconcile it with constraints imposed by the laws of physics? nomencl package : sort by order of appearance In the nomencl package, how can I make the symbols print by order of appearance in the LaTeX code? do I only get a limited number of at-will powers? I want to buy some stock photos like the ones below. What is this design called?  I don't even know how to start searching... Why should two sub-atomic (or elementary particle) - say electrons need to have identical static properties - identical mass, identical charge? Why can't they differ between each other by a very slight degree? Is there a theory which proves that?  Imagine an alien of size of order of Milky-way galaxy examining our solar system with a probe of size of 10's of solar system dimension and concludes that all planets are identical. Wubi with 14.10 doesn't work - failed to partition the selected disk I tried to install Ubuntu 14.10 on my computer with Wubi. The installation appeared to work in Windows, and told me to reboot.   After rebooting the Ubuntu installer continued the installation, until it stopped with an error message: Failed to partition the selected disk with the detail This probably happened because are too many primary partitions in the partition table. Tool for straightening a bent metal bar of the gate? Someone's car hit our metal bar gate, so one of the rods is bent as shown in the photo. What kind of a tool can I use to bend this back, so it's straight? Thank you! Getting a collection of index values using a LINQ query Is there a better way to do this?  string[] s = {"zero", "one", "two", "three", "four", "five"};  var x =  s .Select((a,i) =&gt; new {Value = a, Index = i}) .Where(b =&gt; b.Value.StartsWith("t")) .Select(c =&gt; c.Index);   i.e. I'm looking for a more efficient or more elegant way to get the positions of the items matching the criteria. What should I do if a user posts sensitive information as part of a question or answer? I've observed several incidents where users inadvertently posted detailed, sensitive information. For example, a Server Fault user who posted a question with working login credentials to his actual production server, or the Stack Overflow user who posted actual medical records as example data for his question.   What should be the procedure for handling such cases? How do I locate all files that include specific word as part of name and end with specific extension? How can I use a variable in the replacement side of the Perl substitution operator? Run cURL commands from Windows console Is there a way to install cURL in windows in order to run cURL commands from the command prompt?