# Tag Info

9

I guess your first chapter is part of the frontmatter, i.e. it is placed between \frontmatter and \mainmatter. In the \frontmatter chapters are unnumbered, as demonstrated by this example: \documentclass{tufte-book} \setcounter{secnumdepth}{4} \begin{document} \frontmatter \chapter{Test} \mainmatter \chapter{Test2} \end{document} Hence, just move your ...

6

You want a different way to use \titleformat. The third mandatory argument to \titleformat specifies what's used for numbered chapters, while the final argument specifies the title proper; in this case nothing apart printing the title should be done. \documentclass[a4paper,12pt,twoside]{report} \usepackage{titlesec} ...

6

I don't know how this can be done in LyX, but those are options to be passed to the document class. MWE: \documentclass[headings=openany,headings=big]{scrbook} \begin{document} \chapter{First chapter} \chapter{The Big Vacation} \end{document} Output: BTW: if you want to reduce the size of headings titles you have to use headings=normal and not ...

5


5

The \backmatter command has the effect of changing numbered chapters to unnumbered ones, but not to change the page numbering format. If you want roman page numbering in the backmatter, add the following lines in your preamble: \usepackage{etoolbox} \makeatletter \patchcmd{\backmatter} {\@mainmatterfalse} {\@mainmatterfalse\pagenumbering{roman}} {} {} ...

5

The purpose of \backmatter is not to change page numbering, which would make very little sense (understatement for “meaningless”). After \backmatter, chapters are not numbered any more, but they automatically go in the table of contents when specified with \chapter{title}. Some instututions, that have very little respect for typography and common sense, ...

4

This changes the chapter titles, leaders and page numbers to bold since it would be unusual to want the titles in bold but not the accompaniments. However, if you just want the titles in bold for whatever reason, simply revert the other 2 lines to your original code. The comments explain which line changes which thing. \documentclass{book} ...

4

In your references file, remove the line \chapter*{مراجع}%\markboth{مراجع}{مراجع}‎ and the problem is gone. Note that the thebibliography environment automatically inserts a sectioning heading, so the above line is not needed. Note also that you are \includeing it, so a \clearpage is issued before that and \addcontentsline will refer to the correct ...

3


3

Every LaTeX document must start with \documentclass, include \begin{document} and end with \end{document}. Your chapter files don't have that so they can't compile by themselves. But if you use \include instead of \input in the main file, then you can select parts to compile by using \includeonly in the preamble. For example, use \include{chapters/first} ...

3

> \chapter=undefined. l.16 \show\chapter ? (/usr/local/texlive/2014/texmf-dist/tex/latex/natbib/natbib.sty) > \chapter=\relax. l.18 \show\chapter amsart does not define chapter (just as article does not). You would have got an error message but unfortunately natbib defines it to silently be ignored, which is a bug in that package, really. ...

2

This is the default behaviour of the report class; the following minimal example should work on your LaTeX. \documentclass[a4paper,12pt,twoside]{report} \usepackage{lipsum} \begin{document} \chapter{Introduction} \lipsum[1] \chapter{Literature Review} \label{chap:litreview} \lipsum[1] \section{Concepts} \label{sect:concepts} \lipsum \section{Academic} ...

2

I would abbreviate the title to a complete phrase, not just truncate it with \ldots Also I would change the default marks not to uppercase. In the default settings the chapter titles are probably intended to be shorter and each page only has a chapter or a section heading, not both. \documentclass[a4paper,12pt,oneside]{book} \usepackage{fancyhdr} ...

2


1

Something like that? Your problem with margins is not very clear to me. Margins can easily be set by the geometry package. I defined a layout for numberless chapters with \titleformat: \documentclass{book} \usepackage{graphics} \usepackage{geometry} \geometry{hmargin={3cm, 6cm}} \usepackage{xcolor} \usepackage[pagestyles, explicit]{titlesec} ...

1


1

Note that I used \bfseries instead of the long, long deprecated \bf and used \arabic{chapter} to format the number, you might also want to try \Roman{chapter} for example. Update: second version (thanks to egreg) As this answer is the checked one, I'll include egregs more correct one, which uses correctly the possibilities of \titleformat, which has 4 ...

1

This shows the \includeonly approach, specifying only some of the files, although 'all' of them are given in the document as \include{chapter1.tex} etc. \documentclass{scrreprt} \usepackage[english]{babel} \usepackage{appendix} \usepackage{blindtext} \usepackage{filecontents} \begin{filecontents}{chapter1.tex} \chapter{This is chapter one} \blindtext ...

1

You should write every chapter in a separate file (with \chapter issued right after \begin{document}), then load the package docmute in the main file: this package suppress \end{document} and all before \begin{document} included when you \input the chapter files. Example: ch01.tex: \documentclass{book} \begin{document} \chapter{Chapter One} ...text... ...

1

Try this... not sure whether it may break other link anchors: \documentclass[twocolumn]{scrreprt} \usepackage{hyperref,lipsum,etoolbox} \makeatletter \def\tmphook{\setlength{\HyperRaiseLinkLength}{\glueexpr\scr@chapter@sectionafterskip+35pt\relax}} % \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>} ...

Only top voted, non community-wiki answers of a minimum length are eligible