I use LaTeX with TeXnicCenter.
When I try to compile this example, I get the error message that subfloat is an undefined control sequence. What is wrong?
\documentclass[10pt,twocolumn]{book}
\usepackage{subfig}
\begin{document}
\begin{figure*}
\centering
\subfloat[subcaption1]{\epsfig{file...
Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them?
\begin{figure}[tpb]
\subfloat[]{
\begin{minipage}{0.45\linewidth} %tamaƱo
\includegraphics[width=1\columnwidth,keepaspectratio]{matlab/...
@PatrickGundlach How completely and utterly flawed! The most hilarious part was the slight smugness that almost no-one spotted that it was about fonts since to spot that you'd either have to have seen it in a bizarre font (sadly, Comic Sans probably doesn't fit there) or have seen it more than once and noticed the font change. But the flaw is that there are objective criteria for believing or not believing the statement and these change depending on how you interpret the question.
(ctd) I interpreted it as the statement being "Given that we can now do something about asteroids, are we safer now than before?" (I dismissed the unquantitative "unprecedented" as irrelevant hyperbole) to which the answer is an obvious "Yes". Others may have read it as "Do you agree that we can do something about them?" to which the answer is not so obvious and the few comments I saw disagree with this.
(ctd) Lastly, the use of p-values to "justify" the outcome is hilarious. I suppose they chose their font carefully for that to ensure that we all simply believed it.
I use Inkscape on Windows 7 platform. The principle to enter integrals and other mathematical symbols in Inkscape seems that the best thing to do and write them in a LaTeX compiler and cut them in Adobe PDF and paste it into Inkscape as figures.
Seems to be how you make pictures like this in In...
@percusse I don't even accept the correlation! There are too many other factors that could be at work which really haven't been taken into account. Saying "All those average out" (as seems to be being done here) is hogwash.
@PauloCereda Oooph! Definitely a horror movie. Nice to see that one of the high-reps (possibly even a mod) has finally realised that Asking good questions is hard. Not a huge step to Getting good questions is important for a Q&A site.
@AndrewStacey True but you don't need causality to get a correlation. Anything goes with the data (which is the basis for there are lies, damned lies, and statistics proverb family).
@percusse Of course, statistics never has anything to say about causality - you need a mechanism for that and there's no mention of one beyond some waffle about "gravitas" (or "starchiness"!).
@PauloCereda My hypothesis: those who had it presented in a "better" typeface actually read the paragraph and so came to the same conclusion as me that the question was an "If ... then ...", in which case the conclusion is correct. Those who saw it in Comic Sans immediately smelled a rat and said "The website author is setting me up, I'm not going to fall for it.".
@AndrewStacey I completely agree. The reason for my comment is that I think the author started from the hypothesis or the hunch : man, these fonts definitely affect something! then worked backwards to justify the claim. Of course statistics helps the ignorant on a normal day.
My colleague has these on the door (working on stochastic stuff) : Statistics are like bikinis. What they reveal is suggestive, but what they conceal is vital.
@AndrewStacey I have to admit that I didn't spend so much time on the article. But I find the question interesting about "does a font choice / design choice influce the way you think about the article". IMO the outcome is not that important, the question is.
... I sometimes hear stories of "my teacher gave me a good grade because I've used TeX and the homework looks so nice". Is it a deliberate decision? Or more a decision: "that looks good, the student must have spent hours on the homework, so it must be good"?
@PatrickGundlach I'd go for: "The student actually did spend some time on making it look nice which also meant that it read well and so it was easier to follow the argument.".
As a mathematician, I'm not grading an answer based on "Does this answer convince me that the result is true?" If I set the question, I already know whether or not the result is true (I hope!). I'm grading it based on "Does this answer convince me that the student knows that the result is true."
So a nice, clear text where it is easy to follow the line of argument and see exactly what the student does or doesn't know will get a higher grade than a scrambled mess of disorganised handwriting.
But because it deserves a higher grade, not because it looks nicer.
I start writing my articles around about the time that I start thinking about a problem. Not because it saves time writing - it doesn't! The amount of deleted stuff is enormous - but because it helps me see how the argument is progressing. So the cause is "Writing in TeX => better work => better grade". Thus we can conclude "Writing in TeX => better grade" but without that middle step, the causality is all wrong.
@PatrickGundlach I'm wondering the same. At some point in the next few years, my kids are going to start handing in typed essays. Having also seen some of the horrors produced by word processors, I'm wondering at what point TeX is acceptable.
(They already know that they'll be using a Linux machine to do their homework ...)
@Psachnodaimonia what do you mean by height and/or depth? The maximum ascender and descender in that line? or the distance to the next line of text (which is baselineskip)
@Psachnodaimonia well that's quite hard to get at in TeX (as you don't get access to the lines after paragraph breaking. If you use \showoutput then you see all the sizes in the log. But usually you just need height and depth of strutbox which is big enough for all standard letters at that size.
@PatrickGundlach Yea, whatever. I really think a pointy-klicky application like lowriter is good for most things in school. So the need for TeX really arises for larger things after say grade 9.
@DavidCarlisle But she sure doesn't grok computers as well as the kids do ;-)
@PatrickGundlach he'll grow up to be Sebastian Rahtz in other words...
ye! more undocumented features in my packages....
Thanks. I could not see that \twocolumn did not work in minipage because it only works for the first column. If my text is long enough it exceeds the bottom of the page instead of going to the second column. And column widths of the next portrait oriented pages are destroyed. — Harun3d20 mins ago
I am working on mdframed but for that i need to provide width minipage and then i can use mdframed inside it. For that i need to predefine the mdframed size using minipage.
\begin{minipage}{0.2\linewidth}
\includegraphics[width=0.9\linewidth]{logo}
\end{minipage}
\begin{minipage}...
@MarcoDaniel I think he wants a rounded box around a single line box of natural width so probably some sort of tikz box thing around \mbox and not mdframed at all
@N3buchadnezzar In the case of the question @MarcoDaniel has linked, the OP is from the far East, so we'd possibly have an issue translating a question in their native language
I was trying to add the symbol ^ in the document and getting error. How could I do that
\documentclass{article}
\begin{document}
Hello world
\^
\end{document}
I need to add \,$... to document
I am using Beamer with the Warsaw theme, and all sections show up in my headline. Is there an easy way to remove them? I have tried using
\section*{My section}
and this removed them from the TOC, however the trick doesn't apply for the headline.
Thank you for your help,
Tunnuz
At the end of a Beamer presentation, I want a "Thank you for your attention"-slide that is not part of the sections in my presentation. More specifically, I want no section in the navigation bar to be highlighted when I am on that slide. So is there a way to end a section, such that the following...
Does the letterspacing (and tracking) options of microtype not work with the latest version of LuaTeX?
When I try:
\documentclass{article}
\usepackage[no-math]{fontspec}
\fontspec[SmallCapsFont={LinLibertineCapitalsO},
SmallCapsFeatures={Letters=SmallCaps}]{Linux Libertine O}
\usepack...
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) thesis
(biblatex) and rerun LaTeX afterwards.
I only have this but now I'm deleting the garbage...
the problem is fixed already (ok, its more like a workaround), just tried out hyperref and TeX Live 2013 and this works too with evince.
So it would be nice if you would close this.
... going to register on this site, I really like it ... even though it's a bit too complex / too much blinking a...
After many tests in Mac OS X and Ubuntu, I haven't been able to run arara with Brent Longborough's xelatexmk.yalm rule. No matter what I do, arara seems to run latexmk with pdflatex, not with xelatex. I've discussed the issue with Brent, who kindly gave me the assistance he could, but to no avail...
My thoughts: arara is not the one to blame (entirely) in this one. The expansion is being done correctly, the problem relies on the replacement code that is submitted to the PErl interpreter. A simple rule might work, so we should recommend that.
And tell that the expansion is being done correctly by arara, the tricky part relies on the replacement code that is submitted to the Perl interpreter via -e flag for latexmk. A simple rule might work for now, while we try to figure out other ideas. :)
@Brent.Longborough: Your file doesn't work. You have to remove some space before %S and %O and you have to remove @{ synctex == "" ? " --synctex=1" : synctex }.
@N3buchadnezzar There seem to be some very odd things in the way the Windows binaries have been compiled. I'm just getting the CC'd e-mails: I'm not really contributing.
@N3buchadnezzar Yeah, I noticed that. I've added a comment the code on 11 June 2012 explaining that the bug that made the use of \hspace necessary before has been fixed, and you can (and should) now remove the \hspace.
@MarcoDaniel Hmm - I gurdd I don't really understand how it all fits together, then, 'cos the synctex stuff should disappear with leaving any extra space
@Brent.Longborough The space of synctex isn't the problem. latexmk is written in perl and the argument of the flag -e must be given in single quotes on Unix systems. This isn't possible because the single quote is needed by the line: command: ---- .