4 Feb 18:08 2016

### Re: Mark Wibrow's solution for creating a random permutation of a list

Thanks, Matthew, for your reply. I know that you were the person who first initiated the referred discussion, and I was led there by a post that you have placed in:

http://tex.stackexchange.com/questions/96645/random-shuffle-itemize

I have found a workaround: I write the listings contents in normal text (without using the lstlisting environment) and format those with the help of hphatom{}.

I am aware of the eqexam package, which claims to randomize the items in enumerate environments, but such a package does not come in Fedora Linux version of TexLive. And, by any chance, has someone here got a working example with a random enumerate implemented with the eqexam package?

I have

On Thu, Feb 4, 2016 at 4:50 PM, Matthew Leingang wrote:
Dear Paul,

I know that hack well; I asked the question which led to it!

It's not surprising that it doesn't play well with listings; the listing environment changes category codes much like verbatim.  So anything in a listing environment is going to be pretty fragile.

Maybe Mark will be able to fix it.  In the meantime, I believe there's an environment in the listings package which lists the contents of a file.  A workaround might be to put your code snippets in separate files and permute the file names.

Best,
Matthew

On Thu, Feb 4, 2016 at 10:20 AM, Paul Smith wrote:
Dear All,

Mark Wibrow has kindly offered a solution for this task:

http://pgf-and-tikz.10981.n7.nabble.com/Random-permutation-of-a-list-td3546.html

This solution has worked fine for randomize the items of an enumerate
environment, except when I define the following member of the
\pgfmathdeclarelist:

\begin{lstlisting}
xyz
\end{lstlisting}

(package listings).

An error occurs and the outputted pdf file cannot be viewed.

Any ideas about how to circumvent this problem?

Paul

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users -- Matthew Leingang Clinical Professor and Vice Chair for Undergraduate Affairs Department of Mathematics Courant Institute of Mathematical Sciences New York University ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just$35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

4 Feb 16:20 2016

### Mark Wibrow's solution for creating a random permutation of a list

Dear All,

Mark Wibrow has kindly offered a solution for this task:

http://pgf-and-tikz.10981.n7.nabble.com/Random-permutation-of-a-list-td3546.html

This solution has worked fine for randomize the items of an enumerate
environment, except when I define the following member of the
\pgfmathdeclarelist:

\begin{lstlisting}
xyz
\end{lstlisting}

(package listings).

An error occurs and the outputted pdf file cannot be viewed.

Any ideas about how to circumvent this problem?

Paul

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140  1 Feb 12:41 2016 ### [SPAM] Fw: important message Hello! New message, please read http://lezhapi.com/offered.php noronha <at> free.fr ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just$35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

20 Jan 14:44 2016

### Grids and the x-vector.

Dear friends,

My name is André Caldas. I am really new to TikZ and PGF. I am really
amazed by it... it is fantastic!

I am writing some lecture notes in linear algebra. I intend to use
"grids", but sometimes, I want the axes to be different from those
given by x-vector=(1,0) and y-vector=(0,1). I wanted the grid to
produce an effect like this:

== BEGIN EXAMPLE ==
\begin{tikzpicture}
\coordinate (dot a) at (0,0);
\coordinate (dot b) at (2,2);
\coordinate (dot c) at (5,1);
\coordinate (dot d) at (3,-1);

\filldraw
(dot a) circle (0.1cm);
\filldraw
(dot b) circle (0.1cm);
\filldraw
(dot c) circle (0.1cm);
\filldraw
(dot d) circle (0.1cm);

\draw[->]
(dot a) -- node[above]{$v$} (dot b);
\draw[->]
(dot a) -- node[below]{$w$} (dot d);

\draw[->]
(dot a) -- node[above]{$v + w$} (dot c);

\begin{pgfonlayer}{background}
\draw[help lines, x={(dot d)}, y={(dot b)}]
(-0.0,-0.1) -- (0.0,1.1)
(-0.1, 0.0) -- (1.1,0.0)
( 1.0,-0.1) -- (1.0,1.1)
(-0.1, 1.0) -- (1.1,1.0);

% That is what I wanted to use, instead.
%    \draw[help lines, x={(dot d)}, y={(dot b)}]
%      (-0.1,-0.1) grid (1.1, 1.1);
\end{pgfonlayer}
\end{tikzpicture}
== END EXAMPLE ==

The pgfmanual says:
"/tikz/step=[...]
[...]
A complication arises when the x- and/or y-vector do not point along
the axes. Because
of this, the actual rule for computing the x-step and the y-step is
the following: As the
x- and y-steps we use the x- and y-components or the following two
vectors: The first vec-
tor is either (hx-grid-step-number i, 0) or (hx-grid-step-dimensioni,
0pt), the second vector is
(0, hy-grid-step-number i) or (0pt, hx-grid-step-dimensioni)."

However, at the same time, a couple of lines before...
"All coordinate transformations apply to the grid.
\tikz[rotate=30] \draw[step=1mm] (0,0) grid (2,2);"

My question is:
Why would I want to apply coordinate transformations to the grid, but
at the same time, I would not want to apply x-vector and y-vector???

It is interesting to notice that /tikz/x and /tikz/y are used for
grids only when they are NOT vectors. Wouldn't it make more sense to
simply use x-vector and y-vector instead of splitting things in two
cases?

As a final comment, I would like to notice this fragment of pgfmanual:
"[...] In certain cases, it is not immediately clear whether the
coordinate transformation matrix should apply to a certain dimension.
For example, should the coordinate transformation matrix apply to
grids? (It does.) And what about the size of arced corners? (It does
not.)"

Thank you very much,
André Caldas.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users  19 Jan 00:07 2016 ### [SPAM] Fw: important message Hello! New message, please read http://phanmemoto.com/broke.php noronha <at> free.fr ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just$35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

14 Jan 19:23 2016

### [SPAM] Fw: important message

Hello!

noronha <at> free.fr

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users  12 Jan 12:57 2016 ### how to join two block on a chain I'm trying to design a workflow, by Tikz. I usualy use the "join" parameter, to connect two node (the previous to the next one) (es: \node [proc, join] (sssc0999) {chiusura procedimento}; Now, I would connect another node to the same node that is positioned right of the previous one (I mean the same that the previous node (sssc0999). How can I obtain it? thank you Renato ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just$35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

12 Jan 03:42 2016

### [SPAM] Fw: important message

Hello!

noronha <at> free.fr

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users  12 Jan 02:46 2016 ### Re: Exporting Figures in Different Formats I am no expert on writing text books and having them published..... the only thing I can say: - if you are free to choose your own layout, use the "memoir" class. The manual of memoir gives a complete overview of the typographic aspects of text books - if your publisher places certain demands on your document (layout, etc) then they should provide the necessary style file (or Word template, I suppose). In reality, any Word template can be reprogrammed into latex, but it may be time consuming - I guess that for computer science, you'll use pdflatex or perhaps lualatex, both of which can produce production ready PDF. If there are still problems, another option is to take old-fashioned latex and use dvips and ps2pdf, because you can set the options in ps2pdf very precisely. Cheers, Wilfred On Tuesday, January 12, 2016 10:13 AM, Chuck Allison <Chuck.Allison <at> uvu.edu> wrote: Wilfred, I am considering writing the book in latex, but am not sure which style to use. I noticed that Wiley has one, and the Edward Tufte style looks nice. The question is, how to deliver it to the publisher. Is latex capable of delivering publisher-ready copy? Do publishers accept PDSF or DVI files? I wrote two books in Word. It wasn’t the best environment, but it worked. They are > 400 pages: Thinking in C++, Volume 2, Eckel and Allison 2004 C & C++ Code Capsules, 1998 both published by Pearson. If you know of any hints on getting a latex-made book published I would be most grateful! Thanks. Chuck On Jan 11, 2016, at 5:58 PM, Wilfred van Rooijen <wvanrooijen <at> yahoo.com> wrote: First, write your book in LaTeX. I have never tried to write anything more than 10 pages in Word and I cannot imagine the hell it must be to use it for something big. For schematics, PDF is by far the most memory-efficient and best-looking option because the schematic will be saved as vector diagrams. For inclusion in Word or PowerPoint you could convert the PDF to JPG or PNG. I use GIMP, if you have many drawings, then perhaps something like "convert" from ImageMagick may be better. GIMP gives you many options about the quality of the bitmap image. GIMP is available on linux and Windows, perhaps also on Mac (?) PGF/TikZ -> PDF -> pdfcrop -> GIMP -> PNG for MS-Word Cheers, Wilfred On Tuesday, January 12, 2016 5:17 AM, Chuck Allison <Chuck.Allison <at> uvu.edu> wrote: Hello All, Many thanks to Axel Retif and Herbert Schulz in helping me get TikZ working. I am writing a Computation Theory book and just want to draw finite automata. I am using TexShop on a Mac, and have one more question: — What graphics formats can I export my figures to, and how do I do it? I need to embed figures in other documents (such as MS Word; I haven’t decided to write my book in LaTeX yet). Right now all I know is how to typeset as a PDF. Thanks from a TikZ novice, Chuck Allison ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just$35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users  11 Jan 21:17 2016 ### Exporting Figures in Different Formats Hello All, Many thanks to Axel Retif and Herbert Schulz in helping me get TikZ working. I am writing a Computation Theory book and just want to draw finite automata. I am using TexShop on a Mac, and have one more question: — What graphics formats can I export my figures to, and how do I do it? I need to embed figures in other documents (such as MS Word; I haven’t decided to write my book in LaTeX yet). Right now all I know is how to typeset as a PDF. Thanks from a TikZ novice, Chuck Allison ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just$35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

10 Dec 07:34 2015

### placing text without depth in node

Hi,

The following MWE comes with this question:

I am looking for a possibility to set the lowest

line of text with “no depth”. When the text consists

of a single line onlytext depth=0pt works, but

when there is more than one line, this approach

fails. What do I have to do?

Regards,

Jürgen

\documentclass{minimal}

\usepackage[latin1]{inputenc}

\usepackage[T1]{fontenc}

\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[inner sep=0pt]

\draw (0,0) -- (5,0);

\node[text width=5cm,above] at (2.5,0)

{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, };

\begin{scope}[yshift=3cm]

\draw (0,0) -- (5,0);

\node[text width=5cm,text depth=0pt,above] at (2.5,0)

{Lorem ipsum dolor sit amet, };

\end{scope}

\begin{scope}[yshift=6cm]

\draw (0,0) -- (5,0);

\node[text width=5cm,text depth=0pt,above] at (2.5,0)

{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, };

\end{scope}

\end{tikzpicture}

\end{document}

------------------------------------------------------------------------------

_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users


Gmane