David Cameron: Thatcher an extraordinary leader
David Cameron has paid tribute to Baroness Thatcher as an "extraordinary leader and an extraordinary woman".
Mr Cameron told MPs at the start of a specially convened session the former prime minister "defined and overcame the great challenges of her age".
He praised her achievements in breaking through the "glass ceiling" and said she had made Britain "great" again.
Ed Miliband said she had been a "unique and towering figure" but said he had disagreed with much of what she did.
Mr Cameron opened the six-hour tribute debate in the Commons, saying: "As Winston Churchill put it there are some politicians who make the weather and Margaret Thatcher was undoubtedly one of them."
'From grocer's shop to PM'
He added: "They say 'cometh the hour, cometh the man', well in 1979 came the hour and came the lady.
"She made the political weather, she made history and let this be her epitaph - that she made this country great again."
He described her "remarkable" achievements in becoming both leader of the Conservative Party and prime minister at a time when it was "almost inconceivable" a woman could hold these roles.
"Those of us who grew up before Margaret Thatcher was even in Downing Street can sometimes fail to appreciate the thickness of the glass ceiling she broke through - from a grocer's shop in Grantham to the highest office in the land," he said.
The Labour leader acknowledged the ways in which Margaret Thatcher had shaped the country, highlighting the Falkland Islands and parts of the privatisation programme as successes.
But he also said it was important to reflect where she had been wrong - picking out mining and Baroness Thatcher's position on Nelson Mandela and South Africa.
Mr Miliband told the Commons: "Whatever your view of her, Margaret Thatcher was a unique and towering figure.
"I disagreed with much of what she did but I respect what her death means for many, many people who admired her and I honour her personal achievements."
Deputy Prime Minister Nick Clegg said although it was fair to "shun the tenets of Thatcherism" it was possible to still respect Lady Thatcher's personal achievements.
"Her memory will no doubt continue to divide opinion and stir deep emotion," he said. "But as we as a nation say farewell to a figure who looms so large, one thing's for sure, the memory of her will continue undimmed, strong and clear for years to come, in keeping with the unusual and unique character of Margaret Thatcher herself."
'Scorched earth policy'
Conservative MPs queued up to pay their respects to their former leader.
John Redwood called her "a great lady, and a great stateswoman". Peter Lilley, who served as a minister under Lady Thatcher, praised her for her ability to convert her opponents and Conor Burns, a close friend of the former prime minister, described her as an "inspiration".
Some Labour MPs have stayed away in protest at the debate, labelling it a waste of money and a "misuse of Parliament".
However, some used it as an opportunity to express critical views about Baroness Thatcher's time in Downing Street.
Former Labour minister Michael Meacher said she had embarked on a "scorched earth policy" and left industrial communities "desolated". Veteran Labour MP David Winnick said Thatcher's policies caused "huge pain and suffering among ordinary people", while Glenda Jackson described life under Thatcherism for her north London constituents as "grim" and "Hogarthian".
The SNP's Angus Robertson said that while it was right to acknowledge Lady Thatcher as a "formidable politician", Scotland would "never forget and never forgive" the introduction of the community charge, known as the poll tax, a year earlier than the rest of the UK.
There was also criticism from DUP MP Nigel Dodds for the Anglo Irish Agreement, which Lady Thatcher signed in 1985, but he said in later life she had regretted it as a mistake.
After the last death of a former prime minister, Sir Edward Heath, in 2005, the Commons staged an hour-long debate to pay tribute. Up to seven-and-a-half hours has been set aside for Lady Thatcher.
In the Lords, those who have paid tribute include Lord Fowler and Lord Tebbit, both cabinet ministers during Lady Thatcher's premiership, although Lord Heseltine, who challenged her for the Conservative Party leadership, is not expected to speak.
Lady Thatcher's funeral will take place next Wednesday at St Paul's Cathedral. The Queen and the Duke of Edinburgh have confirmed they will attend.
It will be the first time that the sovereign has attended the funeral of a British politician since that of Sir Winston Churchill in 1965.
Former Labour prime ministers Tony Blair and Gordon Brown have said they will be attending, as will FW de Klerk, the last president of apartheid in South Africa.
Lady Thatcher's family is meeting an unspecified amount of the expense, thought to cover transport, flowers and the cremation, with the government funding the rest, including security.
No official figure has been given for the estimated overall costs, although newspaper reports suggest it could be up to £10m.
Downing Street said the cost of the funeral would not be released until after the event.
More than 700 armed forces personnel will line the route of the procession from Westminster to St Paul's, including three bands whose drums will be covered in black cloth.
A gun salute will be fired from the Tower of London and the coffin will be carried into St Paul's by service personnel from regiments and ships closely associated with the Falklands campaign.
Lady Thatcher was prime minister from 1979 to 1990, winning three successive general elections. She died "peacefully" on Monday after suffering a stroke while staying at the Ritz hotel in central London.