I will that caption position is in center of page, like top in example.
Here my code:
\documentclass{article}
\usepackage{color}
\usepackage{listings}
\usepackage[justification=centering]{caption}
\lstdefinestyle{SC}{
language=erlang,
xleftmargin=.2\textwidth,
xrightmargin=.2\tex...
@CarLaTeX With such strict criteria, a major portion of answers on the site should probably be deleted. And if you delete it, the question will hang around as unanswered, coming back to haunt us in the future.
… unless you persuade the OP to delete the question, of course. I don't think it's worth the trouble.
Is there a more elegant solution of illustrating result of tex code when asking a question other than printscreen and cutting a picture and uploading it? I haven't posted in this part of stack, before.
@AlvinLepik that is the thing to do (either uploading a file or in most browsers you can just cut and paste or drag and drop) (doesn't have to be print screen eg windows has a "snipping tool" that lets you select a region of the preview which you can paste to this site
@AlvinLepik no other sites on the network eg the math site have mathjax running so you can use tex-like syntax to get math expressions displayed, but here we don't enable that as we need to see tex output not a javascript approximation
@DavidCarlisle Good morning David. Right now I'm at school and I'll be at 11:10. In the meantime, I dedicate myself to answering you and egreg.
@UlrikeFischer, @yo' Good morning to you!
@egreg Kind Enrico. It does not matter if it's ugly or not. I can not fill in here with mtpro2 because I'm not at home but in a computer lab. I'll see him at my house. In my opinion, but they are only personal tastes, my question made sense. I copied your code from the chat. Perhaps it was more appropriate to accompany it with an answer. Maybe if I lose the code I find it from my question. I send you my most sincere greetings from Sicily. Here is a hot that I do not like.
@user55789 Well in texworks you can add it through the preferences.
@user55789 What do you mean? the latex run will normally be faster than a pdflatex run, but as you have to run dvips and ps2pdf afterwards that's an unfair comparision.
The tex file contains some ~270 pstricks pictures and the compilation is about 3 hours on the machine I'm working on now
I've managed to reduce this time to some 45 minutes by using a machine with a top of the line Quadro graphics card, but this shouldn't be a requirement
I'm starting to believe I'm doing something fundamentally wrong
@user55789 but the difference between using latex and pdflatex is not one of time, it is that one does not work. perhaps you are using the auto-pst package thing that calls latex in the background from pdflatex?
@user55789 why are you just drip feeding information in riddles, you did not say you were using xetex:-) xetex (or rather xdvipdfmx) has some limited support for pstricks
@user55789 Is it an option to compile the figures once and then just include them later? If they are so heavy that it takes 3 hours to compile, it will be a mess to compile them every time.
@DavidCarlisle Possibly, but I've never succesfully compiled with pdflatex, and now the author claims that this tex > dvi > ps > pdf workflow will produce the correct output
I'm just trying to go with what works best at this point
And one could argue that the support is limited indeed:-)
@mickep I've looked into that, but I cannot seem to automate it. Changing the document considerably is not allowed by the standards of the journal I'm working with (for obvious reasons)
I'd need to replace all "\begin{pspicture} ... \end{pspicture}" with some kind of "\includegraphics" some 270 times, including some inline math which will not look publication ready
@user55789 well... pstricks allows the end user to inject literal postscript code into the output stream. If that code has an error then it will naturally kill ghostscript so without seeing the code (or at least ghostscript's log) not much can be said
@user55789 are you sure the xetex run is OK? (by default the log from xdvipdfmx is discarded) but ghostscript won't just stop with an error exit without giving some error log as to why it stopped
@user55789 not really. xelatex (like latex) does not see the postscript at all it just writes it out into the dvi file, then you (or xdvipdfmx acting on your behalf) calls ghostscript to convert the postscript to pdf after (xe)tex has finished
@user55789 quite possible. If e.g. the document tries to insert a jpg you would get an error with latex-dvips-ps2pdf but not with xelatex. But if the author hasn't set up the document to work with xelatex it doesn't make sense to switch to it - as David already wrote, fonts and hyphenation can be wrong.
@DavidCarlisle I just get some technical information but no meaningful error. I did manage to compile the source so I can break down the journal template piece by piece to see where the error lies
(that is, with simply "latex" and not xetex)
Now it's just a big grind until I find the culprit, thanks both of you for your help up until now:-)
@Sebastiano Sorry for the late reply, I had to leave in a hurry. I didn't express myself correctly; what I meant is that you have to change both those values according to the font you're using.
@Sebastiano Unfortunately I don't have this mtpro2 font so I cannot test, but try using 10, instead of 12, I think it will bet pretty close. Then you'll need just a little fine-tuning.
@Sebastiano What happens here is that you write the upper part of the T (\hT), then you have to go back to write the lower part of the J (\hJ) on top of it. These values, 10 or 12, are the amount you have to go back to make the half characters look as one.
@PauloCereda Indeed :)
@PauloCereda I think it's the same comparison for American and British English. The written language is almost the same. The pronunciation is totally different
I often find myself looking for a button to help me copy all the text from a source code box in a post without having to drag the mouse over the whole thing first. I wonder why this doesn't exist, and if there is a point in petitioning the SX folks to provide one.
@samcarter Hmm, and I don't even run firefox. (I use Vivaldi these days.) I do have greasemonkey, though, so maybe I can look around and find one of those scripts. (@yo') Oh, this one for example.
@egreg A bunch of my linguist-musician friends were having a discussion about why you can say "We're performing the Beethoven 5th" (in the context of an upcoming concert). This got into a discussion of the uniqueness presupposition of the definite article, to which someone replied "This explains why I can say 'I'm playing the Vivaldi', since every piece he wrote is the same." :D
@PauloCereda Oh, it's not that urgent. Take your time. I've just noticed another thing we will have to "worry" about: PDF controls (there are interesting solutions around...) which might get us to use ugly workarounds ;)
@AlanMunn Have you ever listened to Vivaldi’s Gloria (RV 589)? And what about a lesser composer such as J. S. Bach copying and arranging several compositions by Vivaldi? ;-)
\DeclarePairedDelimiter allows one to define extensible delimiters (for example using the \big option). An example is provided below with double brackets. I need a similar delimiter with triple brackets. As I was unable to find one, I built it from the double bracket symbol found in stmaryd. ...
into a package. I’m seeking advice on how to adjust the horizontal space between the components of each delimiter. Is anybody willing to suggest improvements to the—admittedly poorly-chosen—spacing shown in the answer?
@egreg If I remember correctly, J. S. Bach was one of Vivaldi’s pupils.
@GuM No, Vivaldi was just seven years older than J. S. Bach. But it's very well documented that young Bach copied several compositions by Vivaldi in order to learn the Italian style.
@egreg Yes, 1678 Vivaldi, 1685 Bach; yet I think that Bach took lessons from Vivaldi about composition. This is not impossible, but maybe I’m just mistaking Bach for someone else.
Bach’s Violin Concert in E major, for example, begins with a typical “Vivaldian” opening, the triad on the tonic (E-G#-H).
@DavidCarlisle Seriously, I’m not looking for late upvotes, I really need advice on the spacing.
@GuM They never met in person. As I said, Bach studied on his own Vivaldi's pieces and adapted a number of them for other instruments. Notably he transcribed a concert for violin in A for organ and a concert for four violins into one for four harpsichords.
@egreg Hi, and good evening. I have added a comment for you. the user @Jhor has been very good. My question, for my opinion, isn't not very bad. In fact he has obtained +11 and my approvation.
For my book I'm finding a symbol for "J" with a glyphs on the head. You can see the figures below:
First picture:
Second picture:
Is there command or a strategy to obtain a similar shape with the known fonts?
Now I'm using times + mtpro2[lite] and the classical calligraphic fonts:
...
@egreg But I liked it a lot. In my opinion, you do not have to be rigid at least as I think it. If you see my profile rarely (or almost never) negative vote. I am always bombarded with negative votes :-). Always an esteemed greeting and thank you from the heart. Now I am at work with the document of May 15 for my fifth class of art school.
@egreg You are very good and I respect you very much. My most sincere greetings. Good work and always "grazie".
@Sebastiano if the document is only for you to read then it doesn't really matter what it looks like it is true, but if you want other people to read the document then you shouldn't make up symbols that look confusing and use constructs that destroy searching and accessibility of the PDF
@DavidCarlisle I think there is some user who can use my question and answer. I can also make mistakes but as I told @egreg I do not care about the score. I liked the answer so much !!! David is 100% authorized to edit my application to make it understandable. My English and my idea of English are very likely to confuse users.
@Sebastiano the question is understandable, what makes you think people didn't understand it? you are asking about letter shapes that is font design so off topic (as I said before I wouldn't have voted it off topic myself and let it go, but others voted that way and it is hard to argue with their choice)
@Sebastiano and going the other way I thought your pdf one (after you added the maxtract thing) was one of your better answers, but you deleted it:-)
@Sebastiano that question asks two things (which never works well on this site) it asks how the math is encoded internally in the pdf (which is what @HenriMenke and I focussed on) but it also asks how to extract the information. Pointing at a tool that does quite a good job of doing that extraction is a perfectly good answer. I would have voted for it but I was reading the maxtract doc and when I came back your answer had gone...
@DavidCarlisle I canceled it because I saw it voted I thought I have, for the umpteenth time, a mistake to understand what he meant. Now I put it back.
@DavidCarlisle In truth, I can not understand anything, at least for now. However, I added my answer again.
@Sebastiano I don't think it's the answer that the OP wants as I suspect he wanted a description of the internal format of pdf so he could write his own extraction tool but that's actually very hard as the mathematical structure is just not there, so pointing at a tool that is written to do the extraction seems like an answer to me.
@DavidCarlisle I think I know what you mean. A post which I consider one of my better ones has zero votes. (I'm not saying this to get votes, I'm rep capped, too ;-) Stay tuned for 40 minutes. ;-)