Java is a registered trademark of Oracle and/or its affiliates. For details, see the Google Developers Site Policies. Scripts that use this method require authorization with one or more of the following scopes:Įxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. Par.setAttributes(style) Parameters Nameįootnote - The current element. Its easy to add footnotes in Google Docs by using the toolbar to select 'Insert' and then 'Footnote. Var par = body.appendParagraph('A paragraph with custom style.') You can add footnotes in Google Docs to provide citations and include links to your research. They are often indicated with a number and then listed at the bottom of the page. In this extension, you will use footnotes to make annotations in a document for you and others to read. Place the insertion point after the page number, then type of. If you want to add the page count next to the page number, you will need to type the word 'of' after the page number. Var body = DocumentApp.getActiveDocument().getBody() In the main lesson, you learned how to make annotations in a piece of text to record your thoughts and impressions. Google Docs can also automatically display the page countor how many pages your document hasin the header or footer. The DocumentApp.Attribute enumeration and each property value is the new value to be The specified attributes parameter must be an object where each property name is an item in
0 Comments
Leave a Reply. |