214,416 reputation
10594844
bio website tex.stackexchange.com/users/…
location Colombia
age 45
visits member for 3 years, 5 months
seen 6 mins ago

Useful notes for some of my answers:

CTAN lion drawing by Duane Bibby.

How do you accept an answer?](http://meta.tex.stackexchange.com/q/1852/3954)

minimal working example](http://www.minimalbeispiel.de/mini-en.html)

The demo option for graphicx simply replaces actual figures with black rectangles; do not use that option in your actual document.


22h
comment \renewcommand not working for subsection
@Sigur no; there are no additional commands; the document class used is IEEtran which produces those headings by default.
22h
comment add (a little bit long) comment on the equal sign?
The best thing to do here is not to do that; surely there's a better way to indicate what you want to express than overloading the equality symbol.
22h
comment \renewcommand not working for subsection
No, this won't work since the document class used by the OP is IEEEtran with no options which uses a different set of commands for the representations of the counters.
1d
comment Background image used for a whole section/chapter at once
@ThomasE. please see my updated answer; the second code (the one with no companion image) shows how to add the material to two different sections.
1d
comment Background image used for a whole section/chapter at once
Sure! You can nest two such "if"s. Give me some minutes and I'll expand my example.
1d
comment Background image used for a whole section/chapter at once
@ThomasE. Yes. See in my code, for example, that where section three begins, there is no background image although there is still some text from section two; in that page you might still want to add the material but you will have to do it manually. For chapters there is no need for those manual adjustments.
1d
comment Background image used for a whole section/chapter at once
@Werner Agreed. I added some remark about this to my answer.
1d
comment Background image used for a whole section/chapter at once
Ah, I see what you mean now. The ideal situation is to add/suppress the background material aftera \clearpage (for chapters, for example): in other cases, some manual adjustments might be needed.
1d
comment Background image used for a whole section/chapter at once
@Werner why not?
1d
comment How to fix this problem with tikz knots and decorations?
An ugly hack is to first draw the knot path and the use a path just for the decoration: \draw[knot=black] (0,0) -- (1,0); \path[decoration={markings, mark=at position 0.5 with {\arrow{>}}},decorate] (0,0) -- (1,0);
1d
comment How to fix this problem with tikz knots and decorations?
Ah, yes; you're right. Not the path interrupts the arrow. Forget my previous comment.
1d
comment How to fix this problem with tikz knots and decorations?
This seems to work for your MWE, but I am not sure if it will be a solution in more complicated situations: \draw[knot=black,decoration={markings, mark=at position 0.5 with {\arrow{>}}},preaction=decorate] (0,0) -- (1,0);
1d
comment ToC with different title from part title in document
@LatexQuest thats weird. Using the exact code in my answer I get the images I posted. Are you then getting something different? Could we perhaps discuss this in more detail in a chat room so we can more freely work with code?
1d
comment Trees with only leaves in TikZ
Sorry about the poor code formatting, but comments are a PITA for code :(
1d
comment Trees with only leaves in TikZ
\documentclass{article} \usepackage{forest} \begin{document} \begin{forest} for tree={ calign=fixed edge angles, delay={where content={}{shape=coordinate}{}}, parent anchor=south, where n children=0{circle,draw}{}, s sep=1.5cm, if n=1{edge label={ node[midway,auto,swap,font=\color{red}\scriptsize]{0}} } {if n'=1{edge label={ node[midway,auto,font=\color{red}\scriptsize]{1}} }{} } } [ [E] [ [S] [ [N] [T] ] ] ] \end{forest} \end{document}
1d
comment Trees with only leaves in TikZ
+1 I was writing something similar, so no point in duplicating answers. You can simplify a little your code, since the labels can be automated:
1d
comment ToC with different title from part title in document
@LatexQuest I did some tests. and the definitions used in \parttocfont affect all the entry. For example, using \def\parttocfont{\normalfont\Large\bfseries} makes all the entry \Large and boldfaced. Perhaps you are using a combination of font attributes that is not defined in the font used? I mean, if you try \def\parttocfont{\normalfont\Large\scshape\bfseries} with the default font, you won't get small caps because the default font doesn't provide small caps in bold faced series.
1d
comment TikZ Tree Rectangle around nodes
@Samuel Sure. You can use text width=<length> to have the desired width for the nodes. I've updated my answer with a little example of the use of this option; adjust the settings according to your needs.
1d
comment ToC with different title from part title in document
@LatexQuest you're right about the indentation; I've fixed this in my updated answer. Regarding the other question, I'll provide the necessary code later.
1d
comment Pascal's triangle in Tikz with symbols
+1 You beat me by 12 seconds!