Real edge Espanyol to close on leaders Barca, Atletico

Real Madrid's Marcelo gestures to fans after their victory over Espanyol in their Spanish first division soccer match at Cornella-El Prat stadium, near Barcelona January 12, 2014. REUTERS/Albert Gea

MADRID (Reuters) - Real Madrid closed to within three points of La Liga leaders Barcelona and Atletico Madrid when a Pepe header secured a laboured 1-0 win at mid-table Espanyol on Sunday.

Barca and Atletico drew 0-0 in Saturday's top-of-the-table clash at the Calderon and Real took full advantage to end the first half of the season on 47 points from 19 matches, with the leaders on 50 and Barca top on goal difference.

It was hardly a vintage performance from Real at Espanyol's Cornella-El Prat stadium in Barcelona, with the likes of Cristiano Ronaldo, Gareth Bale and Karim Benzema out of sorts.

It was left to Ronaldo's Portugal team mate Pepe to secure the win when the centre back was left unmarked in the 55th minute and headed a Luka Modric free kick into the net.

Espanyol barely troubled Real keeper Diego Lopez and Real should have doubled their lead late on when Ronaldo sliced a shot wide with the goal at his mercy.

The woes of bottom side Real Betis deepened when they were beaten 2-1 at home to Osasuna as both sides had a player sent off and Betis forward Ruben Castro missed a penalty.

Rayo Vallecano, one place above Betis in 19th, pulled five points clear of the struggling Seville-based side, level on 16 with Real Valladolid, thanks to a 1-0 win at Madrid-based rivals Getafe.

Malaga and Levante, who each have 20 points in 13th and 14th respectively, play at Levante's Ciutat de Valencia stadium later on Sunday (2000 GMT).

(Reporting by Iain Rogers, editing by Toby Davis)