when working with folders in Overleaf I have a main.tex file and others including the chapters of my work, however, it's not possible to make the sections and subsections work properly in my chapters, they are added to the Cotents page without problems but are not taken as sections when compiling in PFD, here a patch of my code:
Main section:
\RequirePackage[l2tabu,orthodox]{nag}
\documentclass[headsepline,footsepline,footinclude=false,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc,BCOR=12mm,DIV=12]{scrbook}
\input{packages}
%\makealeletter
\newcommand{\cmark}{\ding{51}}%
\newcommand{\done}{\rlap{$\square$}{\raisebox{2pt}{\large\hspace{1pt}\cmark}}%
\hspace{-2.5pt}}
\input{settings}
\input{commands}
\input{pages/cover}
\addbibresource{literature.bib}
\begin{document}
\maketitle
\definecolor{Blue}{rgb}{.035,.353,.651}
\definecolor{White}{rgb}{0.9,0.9,0.9}
% front page
\frontmatter{}
\input{pages/title}
\input{pages/disclaimer}
\input{pages/abstract}
\tableofcontents{}
\input{pages/dedication}
\mainmatter{}
%\input{00_ToDo}
\input{Chapters/00_intro.tex}
\input{Chapters/01_Chapter1.tex}
.
.
.
Chapter which I want to add sections and subsections:
%!TeX root = ../main.tex
\chapter{Chapter 1: Theoretical Perspective}\label{chapter:Chapter1}
\section{Remote Sensing}
.
.
.
And the result...
Actually I added the !Tex root = ... but didn't work, do you know guys what could actually been affecting the correct working of the Overleaf compilation?
I expect the correct displaying of the section but instead of that I get the results as presented in the attached image.
Related
The following section in sphinx
.. math::
\vb{R} = \vb{T} \vb{U}^{-1} = \vb{V}^{-1} \vb{T}
is rendered as
What I actually want is this:
But right now this is only possible if I write
.. math::
\mathbf{R} = \mathbf{T} \mathbf{U}^{-1} = \mathbf{V}^{-1} \mathbf{T}
or by including the \require{physics} tag in the ..math block, which is not ideal since this is also part of a docstring that is being documented with sphinx autodoc.
I have already tried to adopt the solution from this thread by adding
mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax#3/es5/tex-mml-chtml.js"
to my conf.py file, but it did not work. How can I properly display desired latex code on my website?
Adding
mathjax3_config = {
'loader': {'load': ['[tex]/physics']},
'tex': {'packages': {'[+]': ['physics']}},
}
to the conf.py resolves the issue by instructing MathJax to load the physics package.
I understand that using the :ref:test-label and .. _test-label: i can link a page to any other page.
but is there a way I can tag a group of pages and refer to that whole group using the :ref:?
e.g.
I want to tag calculator.rst, scientificCalculator.rst as a calculator group and then refer to .. _calculator: from any other page to display all the pages labeled/tagged with calculator group (something similar to when we search a keyword and it displays all the links)
Though this is not exactly what i was looking for, but i came across .. index:: directive which allows me to add the keywords on my individual rsts and dispay it on the genindex.html page
scientificCalculator.rst
.. index:: calculator; scientific
simpleCalculator.rst
.. index:: calculator; simple
genindex.html
I am using asciidoctor to generate html. I have the following list:
. one
. two
. three
image::mypic.png[]
. four
And when converted to html, it looks like this:
1. one
2. two
3. three
<my picture>
1. four
In html, I would like to see:
1. one
2. two
3. three
<my picture>
4. four
I do not want to reset the counter manually after inserting an image, because i have a hundreds of similar situations.
Inspired by the asciidoctor documentation (section Complex List Content) you can add a + instead of a blank line before your image block.
. one
. two
. three
+
image::mypict.png[]
. four
I'am using Hexo to post my blog. I edited my blog by markdown. And I encountered with some problems when I try to use the ordered list and it can't be displayed normally.
Here is my code:
1. first
2. second
+ inner first
+ inner second
However, only disordered list was shown.
I would like it was shown as follow:
http://7xjj3m.com1.z0.glb.clouddn.com/20150622_0.jpg
but it was follow indeed:
http://7xjj3m.com1.z0.glb.clouddn.com/20150622_1.jpg
So, what's the problem?
Your syntax is correct but you need to indent by four spaces. I would refrain from using tab because your computer / program could be defaulted to 2 instead of 4.
I use a markdown editor called Mou; and I inputed your syntax and got the proper result.
I have an issue I could not resolve by myself. Help please.
I have (conditionally):
/** #mainpage A
#subpage B
*/
/** #page B
#subpage C
*/
/** #page C */
Doxygen makes the tree where all the pages are shown on the root level.
+A/
|---B/
|------C
|---B <- WANT TO HIDE
|---C <- WANT TO HIDE
but I need only top (A here and nested B & C) to be visible i.e. should be organized accordingly #subpage tags.
I also tried to set visible to 'no'
in DoxygenLayout.xml. But it hides all the pages, only 'files' and 'classes'
are left.
Thanx in advance.
Your code generates the required tree view (only nested pages without separate entries at the root level) when the page/subpage files belong to most of the supported formats like *.c, *.cpp, *.dox etc. The only exception that I could find (in Doxygen 1.8.6) is the markdown format (*.md or *.markdown), for which separate root level entries are generated as well.
Until markdown files are treated like the other file formats, a workaround would be to use one of the other file formats (like *.dox) instead of *.md for the pages/subpages. Currently, the markdown format can be used, without generating root level entries, only for the mainpage.