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: 14206

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: 12003

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: 6626

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: 4155

pentagram in tikzpicture Topic is solved

A simple example is

\documentclass[tikz,margin=5mm]{standalone}

\newcommand\Radius{2}
\begin{document}
\tikz\draw(90-144:\Radius)--(90:\Radius)--(90+144:\Radius)--
          (90-72:\Radius)--(90+72:\Radius)--cycle;
\end{document}


pentagram.png
pentagram.png (6.42 KiB) Viewed 4145 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: 14206

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: 5344

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: 3403

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: 5269

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: 3891

Getting smaller legend & small part of meshes in circuitikz

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: 2117

Can't use siunitx and beamer because I get an error message

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