<?xml version="1.0" encoding="UTF-8"?>


<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->

<helpdocument version="1.0">
<meta>
<topic id="textsmathguidecommentxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Entering Comments</title>
<filename>/text/smath/guide/comment.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155961"><bookmark_value>comments; entering in $[officename] Math</bookmark_value>
<bookmark_value>inserting;comments in $[officename] Math</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3155961" xml-lang="en-US" level="1"><variable id="comment"><link href="text/smath/guide/comment.xhp">Entering Comments</link>
</variable></paragraph>
<h3 id="hd_id3154657">How does one attach comments that don't appear in the document to a formula?</h3>
<paragraph role="paragraph" id="par_id3149499" xml-lang="en-US">A comment begins with a double percent sign <emph>%%</emph>, and extends to the next line-end character (Enter key). Everything that lies in between is ignored and is not printed out. If there are percent signs in the text, they are treated as part of the text.</paragraph>
<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US">Example:</paragraph>
<paragraph role="smathcode" id="par_idN105D3" xml-lang="en-US">a^2+b^2=c^2 %% Pythagorean theorem.</paragraph>
<section id="relatedtopics">
<embed href="text/smath/guide/main.xhp#main"/>
</section>
</body>
</helpdocument>
