Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
kbarros
8 years agoNew member | Level 2
Newline within Latex/Katex editing mode
Is there a way to enter a newline within the Latex/Katex editor? (I mean, in the Latex code displayed between $$ terminators.)
The behavior of the [Enter] key is to render the current Latex code as math. I was hoping [Shift-Enter] would instead insert a newline into the Latex code itself. This is useful, e.g., when dealing with multi-line environments described at the Katex page.
Thank you.
Sorry, I misunderstood. I guess that is not currently possible in Paper. One thing I can suggest: you type the equation in a comment next to the equation line. And always edit there, when you are done. Please copy/paste the whole code inside the $$ in paper document. I know it is not perfect, but worth for the redability of a very long equation.
Thanks for using Paper and welcome to our Community kbarros!
As we collect and track all feedback requests to inform ongoing development of Paper I've gone ahead and put your request on our list. It would indeed be helpful to insert new lines while using LaTeX with a shortcut like [Shift+Enter] as you mentioned!
Thanks again for your thoughts and comments on this - I'll make sure to pass your suggestions to the team.
Cheers!
4 Replies
Replies have been turned off for this discussion
- Elixir8 years agoStar | Level 19Hi, in case you want to implement the Katex multi-line examples, it should be fine in Paper. Just write the whole code inside $$. For example, you want to implement the matrix, you should write:
$$\begin{pmatrix} a & b \\ c & d \end{matrix}$$
In case you want to just want a line break, you may use separate lines with separate equation. - kbarros8 years agoNew member | Level 2
Hi Elixir, thanks for your response.
Yes, I am aware that "\\" will insert a newline in the rendered math. I am asking to insert newlines in the Latex code itself. That is, I want to be able to type:
$$
\begin{matrix}
a & b \\
c & d
\end{matrix}
$$
instead of:
$$\begin{matrix} a & b \\ c & d \end{matrix}$$
For this simple example it doesn't matter much, but for very long math expressions it makes a big difference. I was hoping I could insert newlines with [Shift-Enter].
- Elixir8 years agoStar | Level 19
Sorry, I misunderstood. I guess that is not currently possible in Paper. One thing I can suggest: you type the equation in a comment next to the equation line. And always edit there, when you are done. Please copy/paste the whole code inside the $$ in paper document. I know it is not perfect, but worth for the redability of a very long equation.
- Walter8 years ago
Dropbox Community Moderator
Thanks for using Paper and welcome to our Community kbarros!
As we collect and track all feedback requests to inform ongoing development of Paper I've gone ahead and put your request on our list. It would indeed be helpful to insert new lines while using LaTeX with a shortcut like [Shift+Enter] as you mentioned!
Thanks again for your thoughts and comments on this - I'll make sure to pass your suggestions to the team.
Cheers!
About Delete, edit, and organize
Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!