{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2305","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2305/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2305/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2305/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/2305","id":132489047,"number":2305,"title":"table position in Latex","user":{"login":"andreacassioli","id":6704112,"avatar_url":"https://avatars.githubusercontent.com/u/6704112?v=3","gravatar_id":"","url":"https://api.github.com/users/andreacassioli","html_url":"https://github.com/andreacassioli","followers_url":"https://api.github.com/users/andreacassioli/followers","following_url":"https://api.github.com/users/andreacassioli/following{/other_user}","gists_url":"https://api.github.com/users/andreacassioli/gists{/gist_id}","starred_url":"https://api.github.com/users/andreacassioli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreacassioli/subscriptions","organizations_url":"https://api.github.com/users/andreacassioli/orgs","repos_url":"https://api.github.com/users/andreacassioli/repos","events_url":"https://api.github.com/users/andreacassioli/events{/privacy}","received_events_url":"https://api.github.com/users/andreacassioli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/latex","name":"latex","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-09T18:03:00Z","updated_at":"2016-02-14T01:09:08Z","closed_at":null,"body":"Hi,\r\nI have a bunch of tables that are very nicely aligned in HTML, but got positioned all the way left in Latex. I cannot find a way to tell the Latex writer to put the table in the center, the same we do with images. For instance \r\n\r\n```\r\n.. _doc.shared.dependency_table:\r\n\r\n.. table:: Supported versions\r\n\r\n\r\n\r\n   =====================  ============================\r\n   Interface              Supported versions\r\n   =====================  ============================\r\n   |java|                 Sun |java| 1.6+\r\n   |microsoft| |dotnet|   2.1+\r\n   |python| 2             2.6+\r\n   |python| 3             3.1+\r\n   =====================  ============================\r\n```\r\n\r\nis rendered\r\n\r\n```\r\n\\begin{threeparttable}\r\n\\capstart\\caption{Java, Python and .NET supported versions}\\label{changes:doc-shared-dependency-table}\\label{changes:id2}\r\n\\begin{tabulary}{\\linewidth}{|L|L|}\r\n\\hline\r\n\\textsf{\\relax\r\nInterface\r\n} & \\textsf{\\relax\r\nSupported versions\r\n}\\\\\r\n\\hline\r\nJava\r\n &  \r\nSun Java 1.6+\r\n\\\\\r\n\\hline\r\nMicrosoft .NET\r\n &\r\n2.1+\r\n\\\\\r\n\\hline\r\nPython 2\r\n &\r\n2.6+\r\n\\\\\r\n\\hline\r\nPython 3\r\n &\r\n3.1+\r\n\\\\\r\n\\hline\\end{tabulary}\r\n\\end{threeparttable}\r\n```\r\n\r\nAm I missing some options? In particular it seems he Latex code is not using a `table` environment to which such placement options could be passed. Would it be a natural extension?"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments/183783570","html_url":"https://github.com/sphinx-doc/sphinx/issues/2305#issuecomment-183783570","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2305","id":183783570,"user":{"login":"tk0miya","id":748828,"avatar_url":"https://avatars.githubusercontent.com/u/748828?v=3","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T01:09:08Z","updated_at":"2016-02-14T01:09:08Z","body":"MEMO: related with #1303 "}}