Thank you very much AmberV for your prompt and helpful replies!!
- Labels:
My issues with labels are:
[*] I insert my figures in the main text and when I compile my draft in a LaTeX editor, the label numbers they get are the same with label of the section they live in. For example, I have two or more figure in a section labeled as “\label{id9}” and all the figures in this section are labeled as “\label{id9}”. Is that normal?
- Following your template, I tried to create a similar to “Figure” paragraph style for Equations and Tables. Again when I am compiling the document the labels have the same id number with the section that they belong.
- Finally, I get that you made label numbers produced automatically by Scrivener for every object. My questions is, let’s say that while I am writing some text in the editor, I want to refer to one figure/equation/table that either is included in the current section or in another section/subsection/chapter in my Draft. Since the label id numbers are not known to me, which are the steps I should follow to refer to them while I am writing in Scrivener?
The steps that I followed to create “Equation” and “Table” environments are: File → Compile → Edit Format → Styles → add new style → set Prefix/suffix as shown below.
[list]
- for Equations:
[code]\begin{equation} \label{id<$linkID>}
\end{equation}
[/code]
- for Tables:
[code]\begin{table}[h!]
\begin{center}
\caption{<$custom:Caption>}
\label{id<$linkID>}
\end{center}
\end{table}
[/code]
and then I go back to the main editor, press the styles button in the format bar and add the styles having the same name as the those created in the previous process. I have also added a highlight box so as to see where exactly is the in-text position of those objects in.[/:m]
[] Fonts:
Some of the font styles that are regularly used are: bold (\textbf{…} in LaTeX), italics (\textit{…} in LaTeX), underline (\underline{…} in LaTeX). Could you please explain which are the steps to create those font formats and include them in the Styles Panel in Scrivener’s Format Bar for ease of use?[/:m]
[] Comments: Although I have “soul” package loaded, the comments are not included in the LaTeX document. Furthermore, another useful feature that may be included to add to-do notes/comments in the final output is loading the LaTeX commands shown in the second answer in the following forum and work for the article document class: https://tex.stackexchange.com/questions/9796/how-to-add-todo-notes,
Do you think that it is possible to combine the two techniques? For example, make a comment in Scrivener (Insert → Comment) and then include the commands shown in the link above (i.e. \info{…}) in the comment text of Scrivener?[/:m]
[] Preamble and Packages: After spending some time with your template, I think that loading all necessary packages in separate binder documents is much more convenient. So I moved all Packages and LaTeX Commands from the “Text Layout” (except for Document prefix: \documentclass[11pt, a4paper]{article} and Document suffix: \end{document}) pane and put them in my Binder (see attached image). [/:m]
[] References: For bibliography, I use the “References” document in the “Back Matter” and just type the style that I want and the name of my .bib file. \bibliographystyle{apalike}
\bibliography{name_of_bib_file}
[/*:m][/list:u]