There is an active \nonumber in the first line of the aligned environment. Delete this command to get an equation number.
Best regards
Elke
Search found 36 matches
- Mon Jul 21, 2014 12:21 pm
- Forum: Text Formatting
- Topic: Equation on multiple lines
- Replies: 6
- Views: 18977
- Sun Jul 20, 2014 1:46 pm
- Forum: Text Formatting
- Topic: fancyhdr and Koma book class
- Replies: 17
- Views: 18269
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 ...
\usepackage[automark,headsepline,footsepline=.25pt]{scrlayer-scrpage}
\PreventPackageFromLoading{fancyhdr}
\DeclarePageStyleAlias{fancy}{scrheadings}
If you ...
- Sun Jul 20, 2014 12:27 pm
- Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
- Topic: Several bugs with glossaries
- Replies: 4
- Views: 10531
Several bugs with glossaries
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 ...
\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 ...
- Mon Jul 14, 2014 12:22 pm
- Forum: Graphics, Figures & Tables
- Topic: pentagram in tikzpicture
- Replies: 4
- Views: 6121
pentagram in tikzpicture
A simple example is
Best regards
Elke
Code: Select all
\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}
Elke
- Fri Jul 11, 2014 4:33 pm
- Forum: Text Formatting
- Topic: Equation on multiple lines
- Replies: 6
- Views: 18977
Equation on multiple lines
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 ...
\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 ...
- Fri Jul 11, 2014 3:26 pm
- Forum: Text Formatting
- Topic: How can a get a dashed/dotted \textbar?
- Replies: 3
- Views: 7829
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 ...
\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 ...
- Mon Jun 23, 2014 2:55 pm
- Forum: Graphics, Figures & Tables
- Topic: Angled arrows with tikz-qtree?
- Replies: 1
- Views: 4356
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 ...
\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 ...
- Mon Jun 23, 2014 12:07 pm
- Forum: General
- Topic: Use of mdframed
- Replies: 2
- Views: 6949
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 ...
\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 ...
- Tue Jun 17, 2014 9:16 am
- Forum: Graphics, Figures & Tables
- Topic: Getting smaller legend & small part of meshes in circuitikz
- Replies: 2
- Views: 5157
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 ...
\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 ...
- 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: 2885
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 ...
\documentclass{beamer}
\usepackage{siunitx}
\usepackage{lmodern}
\begin{document}
\begin{frame}
\centering
\begin{tabular}{rcS[table-number-alignment = center, table-figures-integer=5 ...