@PeterGrill The question is obscure. There should be something else by the same OP, but I didn't try finding it: what I remember is that it was a bad idea to begin with.
Hi there, I asked this question (tex.stackexchange.com/q/159896/6870) concerning the use of hobby paths within the pgf Basic Layer today. Now that I thought about it I would also like to know whether it is possible to use hobby paths in the definition of a new decoration. But at the heart of the latter question lies the same subject as in my current question (to my knowledge I can only use Basic Layer commands to declare a new decoration).
Should I ask it nontheless or maybe just edit my current question (and maybe question title) in order to reflect this important use case?
I thought I would bounce a question by you guys. I know big community wiki lists of similar answers is a bit complicated. However, I found myself looking at my ToC the other day and thinking: "is there nothing nicer around?". I have looked a bit and found a few question implementing specific wishes for specific ToC layouts but I am yet to find a big list of nice ToCs.
Would you say it is okey to ask for such a thing? Maybe there already exists something that I hav missed?
I mean I am sure people must have done nice solutions and it would be nice to be able to browse through such
any one can give me a hint on this problem? I simply have a latex document, where I have lots of images in it. In number of places, some images get cut of at the bottom of the page instead of Latex starting a new page to locate the full image.
For example, I have this \begin{center} \includegraphics[]{image.png}% \end{center}
but image2.png in the above example, do not show completely in the pdf. It gets cut off, since it is displayed at the bottom of the page below the first image, and there is not enough space to display it fully. I though Latex will take care of all of this?
@egreg These are .png images not eps? Actually, I have the actual image sizes in there (Scientific word figures the image size and adds that). I did not show that above since I do not think it is relevent. The actual code is:
Here is the output, showing the second image is cut off
The second image above is much larger than that. It should go to next page, but it does not.
Only if I add \clearpage manually it will. But I have so many images, and I can't keep manually managing this.
I will try now to remove the explicit image size information added by SW to see what happens
I get the same exact result using this code:
\begin{center}
\fbox{\includegraphics[]{aircraft_items/my_drawing.png}
}
\end{center}
\begin{center}
\fbox{\includegraphics[]{aircraft_items/diherdal_angle.png}
}
\end{center}
@Nasser the fbox won't change the position it just lets you see the bounding box, is the box just going round the top bit of the image (stick a clearpage in first so you see the whole image, if so the bounding box in the file is wrong
@DavidCarlisle but this is a PNG image? do png images have bouding boxes? I did resize these images earlier today using PAINT.NET to make the image sizes smaller. So may be PAINT.NET has a bug?
I will have to make a MWE then....
In theory, Latex should have moved the second image to top of second page, right?
I thought when I include an image, if it does not fit in what is left in the page, Latex will move the image to the next page. Do I have to tell Latex this?
But I then removed the image sizes? (assuming SW was wrong). I tried : \begin{center} \fbox{\includegraphics[]{aircraft_items/my_drawing.png} } \end{center}
@Nasser It might, or it might not. If there is no flexibility on the page (unliklely between two center environments) and you have flushbottom in effect then just with line breaking sticking stuff in the margin, you may have set unachievable constraints, in which case it will complain a lot in the log file and let the page overrun
@Nasser You know the drill by now, see if you can reproduce just using \rule instead of \includegraphics, and post a complete document as a question on site.
I need to draw a graph with three functions in it, and I need to fill certain areas between them. However, while two of the functions are defined in the problem ($y=x^2$ and $y=\frac{1}{2}x^2$), the third one is not (Finding it is actually the problem), so I have no idea about the function I have...
@egreg by the different italic corrections of t and s oh perhaps not, there is a ) to save you (which means my answer isn't as right as it could have been, oh well)
"Un compilateur d'OCaml vers Coq" à > 11h. Je vous communique la salle dès que je l'ai. > > > I will present a compiler to translate OCaml programs to Coq. > > OCaml is a functional programming language and Coq a proof language we develop > at PPS. The aim is to have a tool to prove properties about OCaml programs and > get a better understanding of links between proofs and programs. > > Coq already includes a purely functional programming language thanks to the > Curry-Howard correspondence. The main challenge is to handle effects
:13741823 That's for questions about interfacing between the two (with the primary emphasis on the Mathematica part) :) You probably want to send it to Stack Overflow.
@JosephWright Would still be off-topic there... I don't blame you though. We get at least two off-topic math post on our site per day. To complicate things, mathematics is actually called mathematica in some European languages.
@JosephWright There might be a tag, but that's only half the story... I'm sure Mathematics might be OK with a MATLAB question on plotting a function or minimizing something, but "out of memory" errors are most definitely SO material.
@tohecz Heh, it's an unfortunate choice of name, but the funny part is that a lot of users are confused about whether to answer or to close it, because those questions can certainly be answered using Mathematica :)
@rm-rf yep. Well, calling mathematical software by the word "mathematics", just in Latin, is a bit ridiculous. Scientific journals at least add "acta", "communicatio", "studia" or so.
Question: Is there a reason not to load both floatrow and caption then set the caption width for each table to FBwidth using caption, rather then the extra code from floatrow?
@tohecz From what I remember, it used to be a porn site, prominently featuring male "pythons"... I've had several embarrassments when I'd quickly type in .com instead of .org with someone watching :P
@rm-rf well, the TeX's solution is probably different, since we have a very crazy (and powerful) drawing library
@rm-rf Yep, yours is 5 hours older :)
@rm-rf well, after all, I think that those question, in all their foolishness, are what makes a community :) and comments like this one getting 80 upvotes:
I've been holding the mouse over the plot for ages now and I have yet to see the punchline displayed. — David CarlisleOct 1 '12 at 14:07
It has improved quite a bit over the years. And it's a perfectly good (and free) alternative to most problems students would encounter in their coursework. If they already know python, it's an even smaller reason to switch.
@tohecz Yes, that explains what it does and I get that part. I haven't programmed enough in python to encounter a practical use for yield. I've read that it's a memory efficient way of doing things rather than using return, but haven't seen it in action.
but in general python way of using iterators is so great. In almost any other language, the following would be either an unreadable code of a for cycle:
@PauloCereda MATLAB is the antagonist, Mathematica is the murderer that you only get to see in the end. Maple is the guy who gets killed in the first 5 minutes. Octave is the girl to be saved.
Heh, people often assume that since I'm a user on Mathematica, I'll spring to its defense at the drop of a hat. I'll probably be the first to join in on any valid criticism :D
@rm-rf now that's nice to hear:) people should be reasonably critic about whatever they do. (Ask anyone let's say 20k+ on this site whether they think TeX-core is good as a programming language haha)
@percusse I don't think that highly of Octave either... it's almost exactly like MATLAB but without the only parts that make MATLAB bearable/usable (toolboxes).
@percusse You were being serious? If so, I don't think that's true. MATLAB was developed in the late 70s-early 80s, while Octave came much later (90s?)
@PauloCereda yeah, well, Python seems to be good. I was actually going to remove the last for cycle from my function, and make it a complete one-liner full of for in if max(in for if else)
I stumbled upon AutoLaTeX today and it seems to be very similar to LaTeXMk indeed. Can you summarise the main differences, which might help me choose between the two tools?
@percusse Heh, it's ok, the mangled up stories are always better. Cleve Moler wrote MATLAB in the 70s and open sourced it. Stephen Wolfram copied it, improved the syntax and created Mathematica with Jack Little. Meanwhile, a small group of masochistic programmers craved for the rawness of MATLAB's syntax with the usefulness of a blunt machete and created Octave without any toolboxes. =)
@rm-rf Meanwhile, Maple was sitting in the dark corner. "Hey guys, can I play?", said Maple. Then a voice echoed, "I wanna play too". "Shut up, Scilab, no one loves you". :)
Skynet is a fictional, self-aware artificial intelligence system which features centrally in the Terminator franchise and serves as the franchise's main antagonist. Rarely depicted visually in any of the Terminator media, Skynet's operations are almost exclusively performed by war-machines, cyborgs (usually a Terminator), and other computer systems, with the goal of exterminating the human race.
Origin and nature
Skynet was a computer system developed for the U.S. military by the defense firm Cyberdyne Systems. Skynet was first built as a "Global Digital Defense Network" and given comm...
There is little magic about how Python does this.
Simply put, if you use more than one target name on the left-hand side, the right-hand expression must return a sequence of matching length.
Functions that return more than one value really just return one tuple. That is a standard Python struct...
On other news, check out the last of the features and the comment from knockerccd.
TeXnet will take control over all typesetting systems in the world. No more lines with more spaces than letters on them. No more equations that pop out from the page and punch your eyes.
@DavidCarlisle well, somehow the point is that this part is not my part. Once I have everything in (X)HTML/MathML/SVG, it's someone else in the project who cares
we aim at wide accessibility with reasonable quality, and with good layout even on small tablets
@tohecz well unless they have total control over their readership (eg a classroom where they install the browser) the current situation is that pure mathml doesn't work in IE or Chrome, so between them that's a lot of non-readers unless you use mathjax as a polyfill
@DavidCarlisle well, the original proposed workflow was to export math verbatim (whence my recent question on the site), but soon I realized that \DeclarePairedDelimiterX and whatever stuff people use would be impossible to handle.
@tohecz I'm not sure I'd recommend it yet to a general audience, we have a very close set of authors (the software developers) and we have full time documentation (human) editors, and of course we have emacs:-)