• Register
PhysicsOverflow is a next-generation academic platform for physicists and astronomers, including a community peer review system and a postgraduate-level discussion forum analogous to MathOverflow.

Welcome to PhysicsOverflow! PhysicsOverflow is an open platform for community peer review and graduate-level Physics discussion.

Please help promote PhysicsOverflow ads elsewhere if you like it.


New printer friendly PO pages!

Migration to Bielefeld University was successful!

Please vote for this year's PhysicsOverflow ads!

Please do help out in categorising submissions. Submit a paper to PhysicsOverflow!

... see more

Tools for paper authors

Submit paper
Claim Paper Authorship

Tools for SE users

Search User
Reclaim SE Account
Request Account Merger
Nativise imported posts
Claim post (deleted users)
Import SE post

Users whose questions have been imported from Physics Stack Exchange, Theoretical Physics Stack Exchange, or any other Stack Exchange site are kindly requested to reclaim their account and not to register as a new user.

Public \(\beta\) tools

Report a bug with a feature
Request a new functionality
404 page design
Send feedback


(propose a free ad)

Site Statistics

174 submissions , 137 unreviewed
4,308 questions , 1,640 unanswered
5,089 answers , 21,602 comments
1,470 users with positive rep
635 active unimported users
More ...

  Bug in latex copying

+ 2 like - 0 dislike

When copying something containing a formula, it sometimes happens, for example here: 


(in the quote at the top) that the copied formula suffers from a repetition problem. I had seen the same problem on PhysicsForums, so it seems to come from a common source.

asked Jan 15, 2016 in Bug by Arnold Neumaier (14,009 points) [ revision history ]
edited Jan 15, 2016 by Arnold Neumaier

1 Answer

+ 3 like - 0 dislike

The common source of this issue is MathJax and the copy system of your browser. Formulas written as MathJax tags get parsed by MathJax and then replaced by complicated mixture of HTML tags and style sheet commands (CSS). When you copy text containing such "styled" formulas, the browser copies the selected text in different formats (text, unicode text, html tags, and some more). But the clipboard sometimes does not understand this exotic mixture and constructs the best it can, which by unknown reasons sometimes doubles the content, at least in the formats that our editor understands. There is no workaround or code I can provide to prevent this behavior.

However, there are two possible ways I know to securely copy and paste formulas on PhysicsOverflow:

  1. Right-click the formula, select "Show Math As" and then "TeX Commands". Select the text displayed and copy it. Then paste it into the editor and add dollar signs, as usual. I am not sure if this method works in all browsers.
  2. Edit the post containing the formula using our editor, copy the MathJax tags there and paste them into the editor containing your new post. Maybe you have to open two tabs on your browser for convenience.
answered Jan 15, 2016 by polarkernel (0 points) [ no revision ]

Please log in or register to answer this question.

user contributions licensed under cc by-sa 3.0 with attribution required

Your rights