Search found 36 matches

by esdd
Mon Jul 21, 2014 12:21 pm
Forum: Text Formatting
Topic: Equation on multiple lines Topic is solved
Replies: 6
Views: 9327

Re: Equation on multiple lines Topic is solved

There is an active \nonumber in the first line of the aligned environment. Delete this command to get an equation number.

Best regards
Elke
by esdd
Sun Jul 20, 2014 1:46 pm
Forum: Text Formatting
Topic: fancyhdr and Koma book class
Replies: 17
Views: 10063

Re: fancyhdr and Koma book class

If you can't edit this strange novel.sty file directly then add the following lines in your document preamble before loading novel.sty. \usepackage[automark,headsepline,footsepline=.25pt]{scrlayer-scrpage} \PreventPackageFromLoading{fancyhdr} \DeclarePageStyleAlias{fancy}{scrheadings} If you can del...
by esdd
Sun Jul 20, 2014 12:27 pm
Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
Topic: Several bugs with glossaries Topic is solved
Replies: 4
Views: 4888

Re: Several bugs with glossaries Topic is solved

1) Use \printglossary[title=Symbols] instead of \printglossaries 2) Define the entries outside the document environment %%--------Glossary entries---------- \newglossaryentry{sediflux}{type=main,name=\ensuremath{q_s}, description={Unspecified sedimentes flux per unit width ($m^2$ $s^{-1}$)}} \newglo...
by esdd
Mon Jul 14, 2014 12:22 pm
Forum: Graphics, Figures & Tables
Topic: pentagram in tikzpicture Topic is solved
Replies: 4
Views: 3301

Re: pentagram in tikzpicture Topic is solved

A simple example is

  1. \documentclass[tikz,margin=5mm]{standalone}
  2.  
  3. \newcommand\Radius{2}
  4. \begin{document}
  5. \tikz\draw(90-144:\Radius)--(90:\Radius)--(90+144:\Radius)--
  6. (90-72:\Radius)--(90+72:\Radius)--cycle;
  7. \end{document}


pentagram.png
pentagram.png (6.42 KiB) Viewed 3291 times


Best regards
Elke
by esdd
Fri Jul 11, 2014 4:33 pm
Forum: Text Formatting
Topic: Equation on multiple lines Topic is solved
Replies: 6
Views: 9327

Re: Equation on multiple lines Topic is solved

Use an aligned environment inside equation : \documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation}\label{eq:longeq} \begin{aligned}[b]% the number will be at b(ottom) \frac{dW}{d\lambda} = \sigma_{1}-\sigma_{2}%\nonumber = nk\Theta\times\Biggl(&\frac{1}{2}\left(2\lambd...
by esdd
Fri Jul 11, 2014 3:26 pm
Forum: Text Formatting
Topic: How can a get a dashed/dotted \textbar?
Replies: 3
Views: 4326

Re: How can a get a dashed/dotted \textbar?

You can use TikZ to define your own line: \documentclass{scrartcl} \usepackage{tikz} \newcommand\myline[1][]{% \,\tikz[baseline]\draw[very thick,#1](0,-\dp\strutbox)--(0,\ht\strutbox);\,% } \begin{document} Text\myline Text\myline[dashed]Text\myline[dotted] \end{document} myline.png Best regards Elke
by esdd
Mon Jun 23, 2014 2:55 pm
Forum: Graphics, Figures & Tables
Topic: Angled arrows with tikz-qtree?
Replies: 1
Views: 2853

Re: Angled arrows with tikz-qtree?

Set the tree inside a tikzpicture. Then you can use the normal tikz syntax to draw the arrow: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{arrows} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \Tree [.S [.NP [.\node(subj){subj$_i$}; ] ] [.VP [.V verb ] [.NP [.\node(t){t$_...
by esdd
Mon Jun 23, 2014 12:07 pm
Forum: General
Topic: Use of mdframed
Replies: 2
Views: 4102

Re: Use of mdframed

Try \documentclass[a4paper,11pt, fleqn]{amsbook} \usepackage{lipsum} \usepackage{mdframed} \newmdtheoremenv[ innertopmargin=0pt, skipabove=\baselineskip, aftersingleframe=\bigskip,afterlastframe=\bigskip ]{defn}{Definition}[chapter] \begin{document} \lipsum[1] \begin{defn} \textbf{Prime numbers} \la...
by esdd
Tue Jun 17, 2014 9:16 am
Forum: Graphics, Figures & Tables
Topic: Getting smaller legend & small part of meshes in circuitikz
Replies: 2
Views: 3429

Re: Getting smaller legend & small part of meshes in circuit

You can add circle nodes on the right side using a foreach loop: \foreach \y in {0,3,6} \foreach \i in {1,2,3} \node[circle,fill,inner sep=0.5*\pgflinewidth,xshift=\i*0.5em] at (13,\y){}; circuitikz1.png Code: \documentclass[border=5pt]{standalone} \usepackage{circuitikz} \begin{document} \begin{cir...
by esdd
Wed May 21, 2014 3:18 am
Forum: Graphics, Figures & Tables
Topic: Can't use siunitx and beamer because I get an error message
Replies: 1
Views: 1748

Re: Can't use siunitx and beamer because I get an error mess

There are four columns instead of three in the last two rows. And you have to use {\textbf{Siunitx3}} \documentclass{beamer} \usepackage{siunitx} \usepackage{lmodern} \begin{document} \begin{frame} \centering \begin{tabular}{rcS[table-number-alignment = center, table-figures-integer=5]} \textbf{Righ...

Go to advanced search