$$\\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.","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2018-05-16T07:59:22.075-07:00","lastPublishTime":"2018-05-16T07:59:22.075-07:00","metrics":{"__typename":"MessageMetrics","views":7707},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101001000/category:English/community:mxpez29397board:101001013/message:276551/message:276555","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8aXwzfDUyOjF8aW50LDI3NjU1NiwyNzY1NTY","node":{"__ref":"ForumReplyMessage:message:276556"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"editFrozen":false,"body@stringLength":"375","rawBody":"Hi, 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. ","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:276555_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:276556":{"__typename":"ModerationData","id":"moderation_data:276556","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:276556":{"__typename":"ForumReplyMessage","uid":276556,"id":"message:276556","revisionNum":3,"author":{"__ref":"User:user:681251"},"readOnly":true,"repliesCount":2,"depth":2,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001013"},"parent":{"__ref":"ForumReplyMessage:message:276555"},"conversation":{"__ref":"Conversation:conversation:276551"},"subject":"Re: Newline within Latex/Katex editing mode","moderationData":{"__ref":"ModerationData:moderation_data:276556"},"body":"
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].
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].
","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:276556_3"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:276561":{"__typename":"ModerationData","id":"moderation_data:276561","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"AcceptedSolutionMessage:message:276561":{"__typename":"AcceptedSolutionMessage","author":{"__ref":"User:user:623312"},"id":"message:276561","revisionNum":1,"uid":276561,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001013"},"parent":{"__ref":"ForumReplyMessage:message:276556"},"conversation":{"__ref":"Conversation:conversation:276551"},"subject":"Re: Newline within Latex/Katex editing mode","moderationData":{"__ref":"ModerationData:moderation_data:276561"},"body":"
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.
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.
\n
","images":{"__typename":"AssociatedImageConnection","edges":[{"__typename":"AssociatedImageEdge","cursor":"MjUuMnwyLjF8b3wyNXxfTlZffDE","node":{"__ref":"AssociatedImage:{\"url\":\"https://www.dropboxforum.com/t5/s/mxpez29397/images/bS0yNzY1NjEtMzE4NWk4MEZGNkUyNkQwQUVFRDM1?revision=1\"}"}}],"totalCount":1,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:276561_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}},"body@stripHtml({\"removeProcessingText\":true,\"removeSpoilerMarkup\":true,\"removeTocMarkup\":true,\"truncateLength\":200})@stringLength":"203","videos":{"__typename":"VideoConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"QueryVariables:MessageSolutions":{"__typename":"QueryVariables","id":"MessageSolutions","value":{"first":10,"constraints":{"topicId":{"eq":"message:276551"},"solution":{"eq":true}},"sorts":{"postTime":{"direction":"ASC"}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":false,"useBody":true,"useKudosCount":false,"useTimeToRead":false,"useMedia":true,"useRepliesCount":false,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":true,"useTags":false,"useUserHoverCard":false,"useNodeHoverCard":false,"usePreviewSubjectModal":false,"useMessageStatus":false}},"CachedAsset:text:en_US-components/community/NavbarDropdownToggle-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/community/NavbarDropdownToggle-1744039687533","value":{"ariaLabelClosed":"Press the down arrow to open the menu"},"localOverride":false},"CachedAsset:text:en_US-components/customComponent/CustomComponent-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/customComponent/CustomComponent-1744039687533","value":{"errorMessage":"Error rendering component id: {customComponentId}","bannerTitle":"Video provider requires cookies to play the video. Accept to continue or {url} it directly on the provider's site.","buttonTitle":"Accept","urlText":"watch"},"localOverride":false},"CachedAsset:text:en_US-components/messages/EscalatedMessageBanner-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/EscalatedMessageBanner-1744039687533","value":{"escalationMessage":"Escalated to Salesforce by {username} on {date}","viewDetails":"View Details","modalTitle":"Case Details","escalatedBy":"Escalated by: ","escalatedOn":"Escalated on: ","caseNumber":"Case Number: ","status":"Status: ","lastUpdateDate":"Last Update: ","automaticEscalation":"automatic escalation","anonymous":"Anonymous"},"localOverride":false},"CachedAsset:text:en_US-components/users/UserLink-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/users/UserLink-1744039687533","value":{"authorName":"View Profile: {author}","anonymous":"Anonymous"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/users/UserRank-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserRank-1744039687533","value":{"rankName":"{rankName}","userRank":"Author rank {rankName}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageTime-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageTime-1744039687533","value":{"postTime":"Published: {time}","lastPublishTime":"Last Update: {time}","conversation.lastPostingActivityTime":"Last posting activity time: {time}","conversation.lastPostTime":"Last post time: {time}","moderationData.rejectTime":"Rejected time: {time}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSolvedBadge-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSolvedBadge-1744039687533","value":{"solved":"Solved"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSubject-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSubject-1744039687533","value":{"noSubject":"(no subject)"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageBody-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageBody-1744039687533","value":{"showMessageBody":"Show More","mentionsErrorTitle":"{mentionsType, select, board {Board} user {User} message {Message} other {}} No Longer Available","mentionsErrorMessage":"The {mentionsType} you are trying to view has been removed from the community.","videoProcessing":"Video is being processed. Please try again in a few minutes.","bannerTitle":"Video provider requires cookies to play the video. Accept to continue or {url} it directly on the provider's site.","buttonTitle":"Accept","urlText":"watch"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageCustomFields-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageCustomFields-1744039687533","value":{"CustomField.default.label":"Value of {name}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageReplyButton-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageReplyButton-1744039687533","value":{"repliesCount":"{count}","title":"Reply","title@board:BLOG@message:root":"Comment","title@board:TKB@message:root":"Comment","title@board:IDEA@message:root":"Comment","title@board:OCCASION@message:root":"Comment"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSolutionList-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSolutionList-1744039687533","value":{"emptyDescription":"No has been message solutions yet"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1744039687533","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved","topicAlreadySolvedErrorTitle":"Solution Already Exists","topicAlreadySolvedErrorDesc":"Refresh the browser to view the existing solution"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/common/Pager/PagerLoadMore-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/common/Pager/PagerLoadMore-1744039687533","value":{"loadMore":"Show More"},"localOverride":false},"CachedAsset:text:en_US-components/nodes/NodeView/NodeViewCard-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/nodes/NodeView/NodeViewCard-1744039687533","value":{"title":"{nodeTitle} ","creationDate":"Created: {creationDate}","ownedBy":"Owned by: {owners}{text}","showOwnerListText":", and {ownersCount} more","unreadCount":"{count} unread","nodeViewDrawerBtn":"Node view drawer for {place}","drawerActionTooltip":"Show category children"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageView/MessageViewInline-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageView/MessageViewInline-1744039687533","value":{"bylineAuthor":"{bylineAuthor}","bylineBoard":"{bylineBoard}","anonymous":"Anonymous","place":"Place {bylineBoard}","gotoParent":"Go to parent {name}"},"localOverride":false},"Revision:revision:276556_3":{"__typename":"Revision","id":"revision:276556_3","lastEditTime":"2018-05-16T08:05:27.454-07:00"},"AssociatedImage:{\"url\":\"https://www.dropboxforum.com/t5/s/mxpez29397/images/bS0yNzY1NjEtMzE4NWk4MEZGNkUyNkQwQUVFRDM1?revision=1\"}":{"__typename":"AssociatedImage","url":"https://www.dropboxforum.com/t5/s/mxpez29397/images/bS0yNzY1NjEtMzE4NWk4MEZGNkUyNkQwQUVFRDM1?revision=1","title":"Paper_math_equation.png","associationType":"BODY","width":1724,"height":588,"altText":null},"Revision:revision:276561_1":{"__typename":"Revision","id":"revision:276561_1","lastEditTime":"2018-05-16T08:16:49.653-07:00"},"Revision:revision:276555_1":{"__typename":"Revision","id":"revision:276555_1","lastEditTime":"2018-05-16T07:59:22.075-07:00"},"User:user:364291":{"__typename":"User","id":"user:364291","uid":364291,"login":"Walter","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2017-02-27T06:16:58.288-08:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://www.dropboxforum.com/t5/s/mxpez29397/images/dS0zNjQyOTEtMjM5ODhpMUE2QTdDRTAyMDcwQTY1MA"},"entityType":"USER","eventPath":"community:mxpez29397/user:364291","rank":{"__ref":"Rank:rank:26"}},"ModerationData:moderation_data:276562":{"__typename":"ModerationData","id":"moderation_data:276562","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"AcceptedSolutionMessage:message:276562":{"__typename":"AcceptedSolutionMessage","author":{"__ref":"User:user:364291"},"id":"message:276562","revisionNum":2,"uid":276562,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101001013"},"parent":{"__ref":"ForumReplyMessage:message:276556"},"conversation":{"__ref":"Conversation:conversation:276551"},"subject":"Re: Newline within Latex/Katex editing mode","moderationData":{"__ref":"ModerationData:moderation_data:276562"},"body":"
Thanks for using Paper and welcome to our Community kbarros!
\n
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!
\n
Thanks again for your thoughts and comments on this - I'll make sure to pass your suggestions to the team.
Thanks for using Paper and welcome to our Community !
\n
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!
\n
Thanks again for your thoughts and comments on this - I'll make sure to pass your suggestions to the team.
\n
Cheers!
","kudosSumWeight":4,"repliesCount":0,"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:276562_2"},"latestVersion":null,"visibilityScope":"PUBLIC","messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1744039687533","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1744039687533","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/nodes/NodeAvatar-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/nodes/NodeAvatar-1744039687533","value":{"altTitle":"Node avatar for {nodeTitle}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/nodes/NodeDescription-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/nodes/NodeDescription-1744039687533","value":{"description":"{description}"},"localOverride":false},"AssociatedImage:{\"url\":\"https://www.dropboxforum.com/t5/s/mxpez29397/images/cmstMjYtZVNRZzFo\"}":{"__typename":"AssociatedImage","url":"https://www.dropboxforum.com/t5/s/mxpez29397/images/cmstMjYtZVNRZzFo","height":17,"width":20,"mimeType":"image/png"},"Rank:rank:26":{"__typename":"Rank","id":"rank:26","position":5,"name":"Dropbox Staff","color":"0061FE","icon":{"__ref":"AssociatedImage:{\"url\":\"https://www.dropboxforum.com/t5/s/mxpez29397/images/cmstMjYtZVNRZzFo\"}"},"rankStyle":"TEXT"},"Revision:revision:276562_2":{"__typename":"Revision","id":"revision:276562_2","lastEditTime":"2020-02-14T14:39:26.502-08:00"},"CachedAsset:text:en_US-components/tags/TagView/TagViewChip-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-components/tags/TagView/TagViewChip-1744039687533","value":{"tagLabelName":"Tag name {tagName}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/nodes/NodeIcon-1744039687533":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/nodes/NodeIcon-1744039687533","value":{"contentType":"Content Type {style, select, FORUM {Forum} BLOG {Blog} TKB {Knowledge Base} IDEA {Ideas} OCCASION {Events} other {}} icon"},"localOverride":false}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"101001013","messageSubject":"newline-within-latexkatex-editing-mode","messageId":"276551"},"buildId":"Btkyb7T6TeYM9D2gUmiOv","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"dropbox","openTelemetryServiceVersion":"25.2.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false,"inboxMuteWipFeatureEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/nodes/NodeActionButtonWidget/NodeActionButtonWidget.tsx","./components/nodes/NodeInformationWidget/NodeInformationWidget.tsx","./components/messages/RelatedContentWidget/RelatedContentWidget.tsx","./components/messages/MessageListForNodeByRecentActivityWidget/MessageListForNodeByRecentActivityWidget.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","./components/messages/ThreadedReplyList/ThreadedReplyList.tsx","./components/customComponent/CustomComponentContent/HtmlContent.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx","./components/nodes/NodeView/NodeView.tsx","./components/nodes/NodeView/NodeViewCard/NodeViewCard.tsx","./components/messages/MessageView/MessageViewInline/MessageViewInline.tsx","./components/customComponent/CustomComponentContent/TemplateContent.tsx","./components/customComponent/CustomComponentContent/CustomComponentScripts.tsx","../shared/client/components/common/List/UnwrappedList/UnwrappedList.tsx","./components/tags/TagView/TagView.tsx","./components/tags/TagView/TagViewChip/TagViewChip.tsx"],"appGip":true,"scriptLoader":[]}