I used the following commands to do so but could not able to produce name of author with year. I only produced author name.  \usepackage[round]{natbib} \begin{thebibliography}     \bibitem[Magda(1980)]{ref1}Magda C.G.(1980).Circular balanced repeated measurements designs, \textit{Comm. Statist.Theory   Methods} \textbf{9}, 1901-1918.     \bibliographystyle{plainnat} \end{thebibliography}
I'm trying to use the \citep command in Latex and my document class is elsarticle. The problem is that it displays numbers not authoryear citations in the text which is what I'm looking for. Here are related parts of my code:      \documentclass[preprint,11pt]{elsarticle}      \usepackage{natbib}   ...      \bibliographystyle{plainnat}      \bibliography{ML}   And I'm obviously using the \citep command like this:      I once read \citep{edelman1993magnetic}   And my .bib file looks like this:  @article{wolf2009regional, title={Regional brain activation changes and abnormal functional connectivity of the         ventrolateral prefrontal cortex during working memory processing in adults with attention-deficit/hyperactivity disorder}, author={Wolf, Robert C and Plichta, Michael M and Sambataro, Fabio and Fallgatter,     Andreas J and Jacob, Christian and Lesch, Klaus-Peter and Herrmann, Martin J and     Sch{\"o}nfeldt-Lecuona, Carlos and Connemann, Bernhard J and Gr{\"o}n, Georg and others}, journal={Human brain mapping}, volume={30}, number={7}, pages={2252--2266}, year={2009}, publisher={Wiley Online Library} }   The result looks like:  I once read[1]   I'm looking for a result like this:  I once read(wolf., 2009)   Elsevier is actually looking for:  Text: All citations in the text should refer to:    Single author: the author's name (without initials, unless there is ambiguity) and the year of publication;  Two authors: both authors' names and the year of publication;  Three or more authors: first author's name followed by 'et al.' and the year of publication.    Thanks in advance
How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ? How does Duff's device work? I've read the , and I don't get it. I am really interested, but I've read the explanation there a couple of times and I still don't get it how the Duff's device works.  What would a more detailed explanation be? how to stop working for other people's thesis? Last semester, I took a course with my supervisor and he assigned me a project. This project is part of one of his student's theses. I did the project and passed the course.   Later, I was asked to upload my code for use in a paper. It turned out that the data the grad student had generated was not appropriate, and he needed to do other experiments. It later turned out there were other problems with the underlying model, and I redid a lot of that work as well.  The problem is that this other student is not really contributing at all.    Sometimes he does not come to work at all On one occasion the professor assigned us to do something, and he immediately told me he had no idea how to do it In one of our meetings with the professor, he talked 2 minutes with the prof with no slides; I talked for the other 58 with slides.    What should I do in this situation? I could not work like this, I have my own project and my thesis and stuff. I cannot dedicate my self for another student's thesis.  Question 1: how should I make this student understand this is his thesis and he should work more than me?  Question 2: How can I get off this project? I am taking another course with my supervisor, he again assigned me a term project with the same system and same grad student. I do not want to keep going like this. What should I tell to my supervisor Due to the problems we found, I think this current system is a bit of a dead end. But, I do not want to lose my connection with my supervisor; he is a good man. Which types of particles are affected by the wave-particle duality? Proving the quotient of a principal ideal domain by a prime ideal is again a principal ideal domain Please help me prove that      the quotient of a principal ideal domain by a prime ideal is again a principal ideal domain.   This was from Abstract Algebra What is the name for the grammatical figure, where the present tense is substituted for a past event? I am preparing a book for publication which contains the following passage:     Stromberg in Religious Liberalism in Eighteenth-Century England   (1954) noted that 'the critical moment in the emergence of a positive   spirit of reform...consisted in the awareness of evil as being social   and remediable. It begins about 1750.'   My proof reader (my wife) has picked this out suggesting it should be the past tense. However if I say It began about 1750 it seems to convey too much certainty about the exact date. I just want to convey an impression of it being something which emerges in the mid-eighteenth century. I believe use of the present tense is the way to go.   But what is this artifice called, this use of the present to convey mild uncertainty? Admin privileges requiring for installing a package build though Packages Using osx 10.9 and packages for making package installer.  While installing a package made using Packages in /Applications location on a osx 10.9 machine, installer is asking for Admin password. Even though I had unchecked 'Require admin password for installation' while package making.  So, how to avoid this i.e a non-admin user should install this package. Package should install in /Applications location, so that non-admin user can use the app.  I check  and The error: "mount: only root can do that" while mounting a partition I've installed Ubuntu 12.04 along with Windows 8.1. When I tried to open the C: drive in Ubuntu a window is popping out saying to run this command:  mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/2A36EE3236EDFEA7   After running the command I'm getting the error mount: only root can do that.   What should I do? In Season 6, we find out the following about the magical properties of the wall:     BENJEN: This is where I leave you.   BRAN: You're not coming with us?   BENJEN: The Wall is not just ice and stone. Ancient spells were carved into its foundations. Strong magic to protect men from what lies beyond. And while it stands, the dead cannot pass. I cannot pass.   —"Winds of Winter" (Game of Thrones, S06E10)   So why would the men of Westeros need to worry about the Night King and his army? Couldn't they sit back and enjoy the wall's protection? What should I do if a question has changed since I answered it? The other members vote my answer down because it actually doesn't answer the current question.  This kind of editing sometimes happens with  where the OP keeps adding new questions, making my pre-existing answer now incomplete.  But another pattern is when the OP asks an "XY problem" question, an answer points it out, and he changes the question to react to that.  Those answers now not only aren't answers but can look very tangential to people who don't review the edit history. How old should you be when you begin Jedi training? Can non basic lands be tapped for colorless mana? For example,  has a mana fixing ability, but it doesn't say you can tap it for mana. Other non-basic lands have a mana ability listed on the card. Should I assume that Evolving Winds cannot be tapped for mana?  Basic lands don't have mana tapping abilities listed, but are assumed you can tap them for mana of the color they represent. IndentationError: unindent does not match any outer indentation level Lebesgue integral $\int_{(0, \infty)} \frac{\sin x}{x} dm$ doesn't exist but improper Riemann integral exists Configuring dpkg stops processing when calling an HTTP request to Adobe Flash Player I recently moved to Linux, and I am in love with the experience. Opinions apart, I am having problems when running sudo dpkg --configure -a  My computer stops processing the command here:  You may know Adobe Flash Player is no longer supported, and I believe that could be why the command is unable to load pepperflashplugin-nonfree. I have tried fixing the problem by checking older posts here, but none of them was able to fix this problem. Let $D = B(0,1) \subset \mathbb{C} $ a disc, $f$ holomorphic on $D$. I want to demonstrate that if $$ 2|f^{'}(0)| = \sup_{z, w \in D} |f(z)-f(w)|$$  then $f$ is linear.   I know this is a well-known result. Where can I find the proof ? Evaluate this power series Evaluate the sum  $$x+\frac{2}{3}x^3+\frac{2}{3}\cdot\frac{4}{5}x^5+\frac{2}{3}\cdot\frac{4}{5}\cdot\frac{6}{7}x^7+\dots$$  Totally no idea. I think this series may related to the $\sin x$ series because of those missing even powers. Another way of writing this series:  $$\sum_{k=0}^{\infty}\frac{(2k)!!}{(2k+1)!!}x^{2k+1}.$$ Please add TeX rendering in titles on the iOS app TeX support works fine in question and answer bodies, and comments can be rendered manually by tapping and selecting Render MathJax. See related question .  However, the titles are not rendered which makes the browsing experience less than perfect. See screenshot below.   Are there any plans to implement MathJax support in titles?  (I'm running Stack Exhange iOS App Version 1.0.0 on an iPhone 4S with iOS 7.1.1)    EDIT: I was just informed about  asking for the same functionality for the Android app. I guess I shouldn't hope too much then... When should I begin publishing? Is there anybody who can help me show the following?      $$ \sum_{x=0}^{n-1} \cos\left(k +x{2\pi\over n}\right) =0  \qquad\hbox{and}\qquad  \sum_{x=0}^{n-1} \sin\left(k +x{2\pi\over n}\right) =0 $$   I can only prove this claim for the sine expression when $k=0$, by grouping the output values such that they all cancel out (for both $n$ even and odd). I have thought about using complex numbers in exponential form to prove it, but I can't do it ... :P   I would really appreciate an algerbraic proof.