Search found 8269 matches

by Stefan Kottwitz
Mon Sep 25, 2017 5:47 am
Forum: Page Layout
Topic: Adding a heading to the table of contents Topic is solved
Replies: 9
Views: 42

Adding a heading to the table of contents Topic is solved

Knowing all stuff is not so important. A key is, to know where to look for (documentation), work with source code of packages, just try fixing things. There are good ways to know, such as why and how to build a - once one understood that, he easily tracks down problems and either fixes them himself ...
by Stefan Kottwitz
Sun Sep 24, 2017 10:32 pm
Forum: Page Layout
Topic: Adding a heading to the table of contents Topic is solved
Replies: 9
Views: 42

Adding a heading to the table of contents Topic is solved

nadaa wrote:Thanks, I tried it, but the same.


Are you sure that you did not omit the braces? They are required, they keep the change local. Either

{\toctrue\tableofcontents}

or

\toctrue
\tableofcontents
\tocfalse


should work.

Stefan
by Stefan Kottwitz
Sun Sep 24, 2017 9:30 pm
Forum: Page Layout
Topic: Adding a heading to the table of contents Topic is solved
Replies: 9
Views: 42

Adding a heading to the table of contents Topic is solved

Then use it this way:

  1. \usepackage{afterpage}
  2. \newif\iftoc
  3. \newcommand*{\headline}{%
  4. \hbox to \linewidth{\normalfont\underline{Title}\hfill\underline{Page}}
  5. \bigskip\afterpage{\iftoc\headline\fi}}
  6. \addtocontents{toc}{\protect\headline}
  7. ...
  8. \begin{document}
  9. ...
  10. {\toctrue\tableofcontents}


Stefan
by Stefan Kottwitz
Sun Sep 24, 2017 8:05 pm
Forum: Page Layout
Topic: Adding a heading to the table of contents Topic is solved
Replies: 9
Views: 42

Adding a heading to the table of contents Topic is solved

Please post a minimal but compilable example of your code. It takes too much time to imagine and create some code, that may be similar to what you wrote, or not... no way to test without your code.

Stefan
by Stefan Kottwitz
Sun Sep 24, 2017 6:23 pm
Forum: Page Layout
Topic: Adding a heading to the table of contents Topic is solved
Replies: 9
Views: 42

Adding a heading to the table of contents Topic is solved

Hi nadaa,

you can use this:

  1. \usepackage{afterpage}
  2. \newcommand*{\headline}{%
  3. \hbox to \linewidth{\underline{Title}\hfill\underline{Page}}
  4. \bigskip\afterpage{\headline}}
  5. \addtocontents{toc}{\protect\headline}


Stefan
by Stefan Kottwitz
Sun Sep 24, 2017 5:33 am
Forum: LyX
Topic: "XeTeX is taking a long time" popup
Replies: 7
Views: 47

"XeTeX is taking a long time" popup

That's the correct .log file, there's only one. I don't see any issues (some repeatedly included graphics, working with fonts may be slow). Well, if you noticed a quick compiling run, you could compare that new (quick) log file to the earlier one. If you might see the actual compiling process in a p...
by Stefan Kottwitz
Sat Sep 23, 2017 10:01 pm
Forum: LyX
Topic: "XeTeX is taking a long time" popup
Replies: 7
Views: 47

"XeTeX is taking a long time" popup

Can you please post a .log file of the XeLaTeX run? That should be in the document folder. You can add it as attachment here. The attachment link is below the text edit field, when writing a post.

Stefan
by Stefan Kottwitz
Sat Sep 23, 2017 7:24 pm
Forum: General
Topic: Open .tex , compile and PDF creation
Replies: 4
Views: 96

Open .tex , compile and PDF creation

No problem, nobody was upset. :-) We were just explaining.

If you need any help with LaTeX later on, just let us know! We can fix this or that issue usually easily.

Stefan
by Stefan Kottwitz
Sat Sep 23, 2017 7:23 pm
Forum: LyX
Topic: "XeTeX is taking a long time" popup
Replies: 7
Views: 47

"XeTeX is taking a long time" popup

Wow, that's long! Perhaps tell us something about your document, so we can think about how to improve the speed. For example, ⋅  Which packages do you use? (You can post the preamble with all \usepackage lines here). For example, TikZ can slow things down, or packages that built on TikZ an...
by Stefan Kottwitz
Fri Sep 22, 2017 9:44 pm
Forum: Graphics, Figures & Tables
Topic: scaling in tikz
Replies: 1
Views: 64

scaling in tikz

Hi Kent!

Can you show us an example, where it is not the case, so we can check that?

By the way, for proper and complete scaling you may have to add another option: [..., scale=0.5, transform shape].

Stefan

Go to advanced search