@tohecz \string<token> produces the "textual" representation of <token> as characters with category code 12 (but spaces have still 10). So \expandafter\string\csname a token\endcsname` will produce \a token: seven category code 12 characters and the space with category code 10.
Hi guys, we have one more question about the viewers precision (circles being rasterized), does anybody have a quick link to one? I just scoured, but cant seem to find the correct search word.
Consider the following code:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{plotmarks}
\begin{document}
\tikz{\draw (0,0) -- plot[mark=o] (0.5,0) -- (1,0);}
\end{document}
It seems that the mark is not smoothly drawn:
Using the smooth option does not have any effects since the ...
I do have a short problem with Tikz
\documentclass{article}
\usepackage{pgf,tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\fill[pattern=north east lines] (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
\end{document}
I simply want to fill differently shaped ...
If you draw two circles that are exactly the same in all aspects (location, size, etc...) except they have different colors, then the "border" of the underlying circle is showing through.
\documentclass[10pt]{book}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
...
I have produced some .eps images of graphs (using the Python matplotlib module) and they look very shoddy, e.g. the crosshatching looks like a very rough plaid, but when I compile my document with xetex, all of my images are crisp and clean again. Can anyone explain why my .eps images look poor b...
What would the correct wording of the question be? The question is obviously not only related to TikZ. It is for any vector graphics that gets rasterized by the viewer.
@zeroth It's not only anti-aliasing issue unfortunately. Tikz also guilty about it as it saves these plotmarks and reuses which might introduce those effects
If you scale up the picture say 5 6 times you can see that the behavior doesn't improve
@zeroth I think the culprit is the reusage. Might be scaled via resizebox type of mechanism which is forcing additional pixeallation but I'm just guessing here. But I can see certain amount of noise.
@percusse, ok, so what do we do about these things. Either way, it would be nice to have a general question to refer to about these things, but should the question then contain answers about both the symbols and lines in general? Or is it just too much...
@PauloCereda when I was to select a bachelors project topic, computer graphics was one option, but theoretical informatics won due to a very good eventual supervisor
@percusse, would you mind answering the question in question? You know more about these plotmarks than I do, and it would probably be good to have this.
@tohecz Psmith, the TeX bot: I'm able to recognize the following commands: help, list, cricket, ctan, texdef, eightball, answer, choose. You probably noticed that all commands must start with !!/ followed by the command name, didn't you? Splendid!
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:
\sloppy:
macro:->\tolerance 9999\emergencystretch 3em\hfuzz .5\p@ \vfuzz \hfuzz
@percusse Psmith, the TeX bot: Do you like (enjoy, ...)? | Yes, I do. :: Siri | Siri is a personal assistant application for iOS. The application was first available from the App Store, then came standard on Apple's mobile devices starting with iPhone 4S. Siri uses natural language processing to answer questions and perform actions by delegating requests to an expanding set of web services, including Wolfram|Alpha. ::
In LyX, how can I set Ubuntu's document viewer (Evince) as the preferred PDF reader for the generated PDF files?
All of a sudden it started using Okular, which I don't like all that much.
@tohecz No, more like "a game (of snooker) now and then". (At least, I think that's roughly what the phrase means, but I also think I'm sometimes guilty of using English phrases without really knowing their meaning ...)
@leo "Supersede" comes from Latin "supersedeo, supersedere", which literally means "to sit over", so "take the place of "supplant". In Italian there is "soprassedere" that comes from the same root, but in the modern language it means something completely different (to delay).
@leo The vagaries of history, I guess. The word that means 'supersede' is 'suplantar'. Why the Latin word didn't make it into those languages is relatively unknowable.
It's the same way that we don't really know why certain British or American usages happen. When American English diverges even more from British English we'll wonder why some words have disappeared.
@egreg Right, but it's almost worse than that: I want to say it was originally printed with a low-resolution printer, but they then scanned it and reprinted
one sec let me see if I can see if they are made up of smaller dots
and I can't see the individual dots from those, so if I'm assuming the other section is printed with the same printer then I wouldn't be able to see the dots
I could always take it to the radiation lab and look at it under a microscope to be CERTAIN
but I don't care that much :)
@egreg That's my guess
At any rate, my Linear Algebra solutions manual looks beautiful :P
@cgnieder I have reading the documentation of exsheets package for a while. Is it possible to do something like: \includequestions[topic=limits,random=5]{calculusExercises.tex}?
where topic is an already defined question property
I ask because it seems the use-topics options is ignored
@cgnieder thanks :-). I'm trying to create a command \makeexam{limits,continuity,derivatives} then it selects 5 random questions of each topic and do and exam. So far I have just the way to write the exam: titles, foots and headers, etc. I'm toying with your package to achieve that
@tohecz That's from the Latin "supplere", which basically means "to fill". "Suplantar" is from "subplantare", literally "to put under one's feet" ("planta" is in the sense of "sole of the feet").
It's not surprising that Latin terms have come to your language, particularly in the field of teaching, as it was done in Latin in the ancient universities.
@PauloCereda Right, and there's no word in modern Portuguese or Spanish (or French, for that matter) that seems to be derived directly from Latin 'supersedere'.
@leo even with the bug I just found fixed it won't be working properly: first the random questions are chosen and then the topics are chosen which means you probably will end up with less than the chosen number... I'll try to correct it this week
@egreg How certain are you that 'supersedere' was actually a Latin word (as opposed to made up in Latin later)? It's quite odd that it has no cognates in any of the other Romance languages.
@egreg remember the problem of finding the mathchar of implicit characters? xetex makes things more interesting \alpha expands to \mitalpha which has been \let to a character, but \show or \meaning show > \mitalpha=the letter ???. l.19 \show\mitalpha with real ascii question marks (which bm then happily typesets.... arrrrggggg
Is there any package that generates 2d barcodes (QR code). I want to add a barcode on the front page of a manual I have written containing the URL where to download that manual. It would be nice if I could continue using pdflatex. Instead of converting each time.
EDIT: [Reaction to Jake's answer...
thanks @tohecz, but that isn't a tikz package. I have found a couple of programs, online services and pst-barcode, but nothing with tikz. The pst-barcode output seems a little fuzzy and a tex solution would be preferable to something external.
@leo I remembered that I already mentioned it in the manual: “If you use the random option you need to be aware of the following facts: the options `use-classes`, `use-topics` and `question/print` are not considered when selecting the questions which means you might end up with less questions included than you’ve specified. The option `question/use` is also not taken into consideration. In fact it is completely ignored and the questions are included anyway. I’m still not sure this is a feature or a bug. . .”
@All: How complicated you think it is to implement QR codes in TikZ? I'm willing to put a bounty to it, but it wouldn't make sense if the solution cannot be made in 7 days.
@Max Yeah, that sounds good. Will you state the question? I'll then add an information about my eventual bounty, I feel good ideas should be supported ;)
@Max I go to bed soon, so please hit me up with a message here as soon as the question is ready. Yeah, and be sure to be very precise with the question.
I am looking for a Tikz QR code generator. I am aware of pst-barcode as well as several local programs and web services to do this. Nevertheless, I would much prefer a Tikz replacement, if possible at all. If this doesn't yet exist, I would be willing to award a bounty on the creation of one. How...
Your edit sounds very distrusting. I don't actually believe the Tikz crowd is that reputation motivated. Even though bounties are fun and I want to honour the effort, someone will do it just for the fun of it, I am certain.