Tag Info

New answers tagged

0

Just for fun with PSTricks. It needs the latest pst-plot to let us use postfix in \psxTick and \psyTick. \documentclass[pstricks,border=12pt,12pt,dvipsnames]{standalone} \usepackage{pst-plot,pst-eucl} \psset { urx=15pt, ury=15pt, llx=-15pt, lly=-15pt, ticks=none, labels=none, xAxisLabel=$Q$, yAxisLabel=$P$, algebraic, ...


5

Here is a suggestion: \documentclass[margin=10pt]{standalone} \usepackage{amsmath} \usepackage{pgfplots} \pgfplotsset{compat=1.10} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ every node/.style={text=black}, fdesc/.style={anchor=south east,sloped,font=\scriptsize,pos=#1}, fdesc/.default=1, ] \begin{axis}[ axis ...


4

I tweaked it a little. I hope you don't mind. \documentclass[tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture} \begin{axis}[ clip=false, axis x line=bottom, axis y line=middle, ytick={5,20}, xtick={-45,100}, no markers, ymin=0, xmin=-55, xmax=120, ...


1

If you need it only for the 2x3 matrix: \documentclass{article} \usepackage{array} \let\SC\scriptstyle \def\Biggg#1{\makebox(0,0){\put(0,-20){\bigg#1}}} \begin{document} $ \begin{array}{r@{\kern5pt}ccc@{}l>{\SC}l} & \SC C_1 &\SC C_2 &\SC C_3\\ \Biggg[ & 1 & 2 & 7 & \Biggg] & R_1 \\ & 2 ...


1

% arara: pdflatex \documentclass{article} \usepackage{blkarray} \newcommand{\mLabel}[1]{\mbox{$\scriptstyle{#1}$}} \begin{document} \[ \begin{blockarray}{c@{}ccc@{\hspace{4pt}}cl} & \mLabel{C_1} & \mLabel{C_2} & \mLabel{C_3} & & \\ \begin{block}{[c@{\hspace{5pt}}ccc@{\hspace{5pt}}c]l} & 1 & 2 & 7 & & ...


2

\documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \begin{document} \psset{xunit=2,yunit=0.5,linewidth=0.03,tickwidth=0.03} \begin{pspicture}(-1.775,-2)(1.775,6.8) \psaxes[Dx=1,labels=x,xticksize=-4pt,Dy=2]{->}(0,0)(-1.77,0)(1.7,6.4)[$t$,0][,90] \uput[180](0,2){2} \uput[0](0,4){4} ...


3

You have to adjust the way \psyTick works since it currently doesn't support the placement: \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \makeatletter \def\psyTick@ii#1(#2)#3{{ \pst@killglue \addbefore@par{arrows=-,linewidth=\psk@ytickwidth\pslinewidth} \use@par \psline(\pst@yticksizeB,#2)(\pst@yticksizeA,#2) ...


5

\eqref uses \ref for the equation number, therefore \ref is the link, the surrounding parentheses are not part of the link. The following example redefines \eqref to include the parentheses into the link: \documentclass{scrartcl} \usepackage[english]{babel} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} ...


5

You can position the x-labels horizontally via the xlabelOffset key: \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{xunit=1,yunit=0.2} \begin{pspicture}(-1.75,-12)(7,17) \psaxes[ticks=y,xlabelOffset=-0.2,Dx=2,Dy=10]{->}(0,0)(-1.7,-12)(5.9,13)[$t(s)$,0][$x$,90] \psxTick(0){~~~0} ...


9

Here's an example using the tikzmark library for TikZ; there was no information in the question regarding how the formula was typeset, but the idea will still apply: place marks using \tikzmark and then use the marks to draw the arrows and place the accompanying texts: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{tikzmark} ...


2

You need to do a little more to shove entries over to the right of your document. Another patch pushes it over by \textwidth+\marginparsep: \documentclass{article} \usepackage{showkeys,etoolbox,showframe} \newcommand{\fullrlap}[1]{% \rlap{\kern\dimexpr-\@totalleftmargin+\textwidth+\marginparsep\relax#1}} \begin{document} \begin{thebibliography}{x} ...


3

It is a bug in package appendix: Package hyperref uses \Hy@chapapp inside destination names at the place of the counter name. Then sections (class article) or chapters (class report or book) use the string "appendix" rather than "section"/"chapter" as counter name part of destinations in the appendix. Package appendix redefines \Hy@chapapp as \appendixname ...


2

An even easier version is using the label option for nodes: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[draw,circle,label=left:010101] (CircleNode) at (0,0) {A}; \end{tikzpicture} \end{document} It looks just like Peter Grill's solution.


3

This can be done by cleveref and with its \cref/\Cref macros. \documentclass[letterpaper,12pt]{article} \usepackage{graphicx} \usepackage[listformat=simple]{caption} \DeclareCaptionType[name=Scheme,within=section]{scheme} \usepackage{cleveref} \crefname{scheme}{scheme}{schemes} \Crefname{scheme}{Scheme}{Schemes} \begin{document} \tableofcontents ...


3

I assume you're not really interested in an overlay specification. Then you can define a \Witem and \Fitem to draw the blocks you're after: \documentclass{beamer} \newcommand{\Witem}{% \refstepcounter{enumi}% Step enumerate counter \item[{\framebox[1.5em]{W}\hspace{2ex}\theenumi}.]} \newcommand{\Fitem}{% \refstepcounter{enumi}% Step enumerate ...


0

If you redefine \labelenumi, you should use the enumerate environment instead of itemize, since \labelenumi is called by \item within an enumerate environment, not by itemize - \item commands. If you explicitly want an unnumbered list, you should use \labelitemi, which gives the better output, in my point of view, since the enumerate box a) does not look ...


7

I just came up with a solution to my own problem. Suppose Alice uses \label{eq3} to label (3). She can label a new equation as (3)' in the following way: \begin{equation}\tag*{(\ref{eq3})'}\label{eq3'} THE NEW EQUATION. \end{equation}



Top 50 recent answers are included