{"action":"created","issue":{"url":"https://api.github.com/repos/josephwright/beamer/issues/352","repository_url":"https://api.github.com/repos/josephwright/beamer","labels_url":"https://api.github.com/repos/josephwright/beamer/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/josephwright/beamer/issues/352/comments","events_url":"https://api.github.com/repos/josephwright/beamer/issues/352/events","html_url":"https://github.com/josephwright/beamer/issues/352","id":198904407,"number":352,"title":"Margin incorrect for quotes inside lists","user":{"login":"josephwright","id":654518,"avatar_url":"https://avatars.githubusercontent.com/u/654518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephwright","html_url":"https://github.com/josephwright","followers_url":"https://api.github.com/users/josephwright/followers","following_url":"https://api.github.com/users/josephwright/following{/other_user}","gists_url":"https://api.github.com/users/josephwright/gists{/gist_id}","starred_url":"https://api.github.com/users/josephwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephwright/subscriptions","organizations_url":"https://api.github.com/users/josephwright/orgs","repos_url":"https://api.github.com/users/josephwright/repos","events_url":"https://api.github.com/users/josephwright/events{/privacy}","received_events_url":"https://api.github.com/users/josephwright/received_events","type":"User","site_admin":false},"labels":[{"id":489519119,"url":"https://api.github.com/repos/josephwright/beamer/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"josephwright","id":654518,"avatar_url":"https://avatars.githubusercontent.com/u/654518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephwright","html_url":"https://github.com/josephwright","followers_url":"https://api.github.com/users/josephwright/followers","following_url":"https://api.github.com/users/josephwright/following{/other_user}","gists_url":"https://api.github.com/users/josephwright/gists{/gist_id}","starred_url":"https://api.github.com/users/josephwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephwright/subscriptions","organizations_url":"https://api.github.com/users/josephwright/orgs","repos_url":"https://api.github.com/users/josephwright/repos","events_url":"https://api.github.com/users/josephwright/events{/privacy}","received_events_url":"https://api.github.com/users/josephwright/received_events","type":"User","site_admin":false},"assignees":[{"login":"josephwright","id":654518,"avatar_url":"https://avatars.githubusercontent.com/u/654518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephwright","html_url":"https://github.com/josephwright","followers_url":"https://api.github.com/users/josephwright/followers","following_url":"https://api.github.com/users/josephwright/following{/other_user}","gists_url":"https://api.github.com/users/josephwright/gists{/gist_id}","starred_url":"https://api.github.com/users/josephwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephwright/subscriptions","organizations_url":"https://api.github.com/users/josephwright/orgs","repos_url":"https://api.github.com/users/josephwright/repos","events_url":"https://api.github.com/users/josephwright/events{/privacy}","received_events_url":"https://api.github.com/users/josephwright/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/josephwright/beamer/milestones/3","html_url":"https://github.com/josephwright/beamer/milestone/3","labels_url":"https://api.github.com/repos/josephwright/beamer/milestones/3/labels","id":2225476,"number":3,"title":"v3.39","description":"","creator":{"login":"josephwright","id":654518,"avatar_url":"https://avatars.githubusercontent.com/u/654518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephwright","html_url":"https://github.com/josephwright","followers_url":"https://api.github.com/users/josephwright/followers","following_url":"https://api.github.com/users/josephwright/following{/other_user}","gists_url":"https://api.github.com/users/josephwright/gists{/gist_id}","starred_url":"https://api.github.com/users/josephwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephwright/subscriptions","organizations_url":"https://api.github.com/users/josephwright/orgs","repos_url":"https://api.github.com/users/josephwright/repos","events_url":"https://api.github.com/users/josephwright/events{/privacy}","received_events_url":"https://api.github.com/users/josephwright/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":0,"state":"open","created_at":"2017-01-03T15:29:15Z","updated_at":"2017-01-05T08:52:58Z","due_on":"2017-03-31T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-01-05T08:52:58Z","updated_at":"2017-01-05T12:34:47Z","closed_at":null,"body":"From a mail from @frankmittelbach:\r\n```latex\r\n\\documentclass{beamer}\r\n\r\n\\begin{document}\r\n\r\n\\begin{frame}{}\r\n  \\begin{proof}\r\n    \\begin{enumerate}\r\n    \\item now a quote\r\n      \\begin{quote}\r\n        This comes out as 3 level why? As far as I can see at least.\r\n      \\end{quote}\r\n    \\item x\r\n      \\begin{enumerate}\r\n      \\item x\r\n        \\begin{enumerate}\r\n        \\item x\r\n        \\item\r\n        \\end{enumerate}\r\n      \\item\r\n      \\end{enumerate}\r\n    \\item now a quote\r\n      \\begin{quote}\r\n        This comes out as 3 level why?\r\n      \\end{quote}\r\n    \\item\r\n    \\item\r\n    \\end{enumerate}\r\n  \\end{proof}\r\n\\end{frame}\r\n\r\n\\stop \r\n```\r\nAs Frank says, this can be fixed by adding \r\n```latex\r\n\\makeatletter\r\n\\addtobeamertemplate{quotation begin}{}{\\@totalleftmargin\\z@}\r\n\\addtobeamertemplate{quote begin}{}{\\@totalleftmargin\\z@}\r\n\\makeatother \r\n```\r\nbut probably `beamercolorbox` should do this or perhaps `\\@arrayparboxrestore`. The question is the knock-on effect on spacing 'in the wild."},"comment":{"url":"https://api.github.com/repos/josephwright/beamer/issues/comments/270634355","html_url":"https://github.com/josephwright/beamer/issues/352#issuecomment-270634355","issue_url":"https://api.github.com/repos/josephwright/beamer/issues/352","id":270634355,"user":{"login":"josephwright","id":654518,"avatar_url":"https://avatars.githubusercontent.com/u/654518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephwright","html_url":"https://github.com/josephwright","followers_url":"https://api.github.com/users/josephwright/followers","following_url":"https://api.github.com/users/josephwright/following{/other_user}","gists_url":"https://api.github.com/users/josephwright/gists{/gist_id}","starred_url":"https://api.github.com/users/josephwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephwright/subscriptions","organizations_url":"https://api.github.com/users/josephwright/orgs","repos_url":"https://api.github.com/users/josephwright/repos","events_url":"https://api.github.com/users/josephwright/events{/privacy}","received_events_url":"https://api.github.com/users/josephwright/received_events","type":"User","site_admin":false},"created_at":"2017-01-05T12:34:47Z","updated_at":"2017-01-05T12:34:47Z","body":"On 05/01/2017 12:09, Frank Mittelbach wrote:\r\n> I meant maybe the `\\beamercolorbox` needs to call `\\@arrayboxrestore` (that \r\n> one does reset `\\@totalleftmargin` plus some other things)\r\n\r\nYes, understood.\r\n\r\n> it is a glaring bug (and I'm a bit surprised that nobody reported it \r\n> earlier as I guess it is there fore a very long time).\r\n\r\nAh, there are various 'interesting' spacing issues in `beamer` and it's quite possible no-one has followed this one through. More generally, `beamer` usage tends toward simply (non-nested) lists or directly placement of text/graphics on a page, with at least some element of visual adjustment required. So it's a place where some spacing oddities are likely to be overlooked.\r\n\r\n> The logic of the list env code expects that everything  nested list is \r\n> positioned according to the outer left margin and if you throw in a vbox \r\n> then you are suddenly position against the vbox boundary but with values \r\n> calculated for the outer margin. Position against that box is correct if \r\n> you are setting up a new visual context (like in a minipage) but here \r\n> all that the box is for is doing some background coloring\r\n\r\nIndeed.\r\n\r\n> The problem is that I don't know if there is other `\\beamercolorbox` usage \r\n> that would conflict with this view of the world (meaning you may need \r\n> two commands) but it should really go into the `\\beamercolorbox` command \r\n> if its use in such places is an advocated use (or the advocated use) the \r\n> above change to the template is only to keep my presentation going\r\n\r\nThe entire point of these boxes is to add background colour; that's clear from the manual (Till's text, not mine or Vedran's).\r\n\r\n> As for in the wild: a fix like this would mean that elements based on \r\n> trivlist would get their leftmargin reduced thus they have more space \r\n> horizontally available. That will change slides but what happens now is \r\n> so wrong so ...\r\n\r\nI'll probably just add it and see what happens: tends to be the way things have worked to-date!"}}
{"actor":{"display_login":"josephwright"}}