« first day (867 days earlier)      last day (4052 days later) » 

12:00 AM
:8540546
\newcommand{\mysection}[2][]{
\refstepcounter{subsection}
\label{art:\arabic{section}:\Alph{subsection}}
\phantomsection
\subsection*{\textit{Section \Alph{subsection}: #2}}
\addcontentsline{toc}{subsection}{\textit{Section \Alph{subsection}: #2}}
}
\ref{art:2:A} returns "B"
 
@Gnintendo why can't you replace al that with just using \subsection then you wouldn't need any of the extra code, then just defining the formatting of a subsection head to include teh word Section which appeasr to be the only thing different from teh standard behaviour isn't ot?
 
yes but that's a pain in the ass
at any rate
why in the hell is that returning B
it doesn't make any sense to me
 
@Gnintendo why? It's one line of code and will automatically work with hyperref rather than lots of lines that don't work?
@Gnintendo You know the drill, MWE :-) (can't guess from that fragment)
 
Idea for OP question template is , OS: ?, TeXdistro:? TeX-IDE: ? All updated: ?
 
@DavidCarlisle It was like 30 lines or something to redefine it without totally screwing over the table of contents
or more
and I didn't understand it
(the package)
@DavidCarlisle so from this it should be working, then?
 
12:06 AM
@Gnintendo the definition of \subsection in article class is one command on 4 actual lines and it seems to me is all you want to do is copy them and add Section into the last line.
 
@DavidCarlisle I really really really just wnat to figure out why this isn't working at this point
 
@Gnintendo well I can't tell from that fragment what the expected result is.
@Gnintendo Ask on site with a full MWE and someone will say (but I'm going to bed:-)
 
@DavidCarlisle the expected result is "A"
@DavidCarlisle can you explain what that fragment label does
because the label is attaching itself to the right item
but it isn't associating itself with the counter associating with that item
it just associates itself with 2 no matter where I put it
and I don't understand why
 
@Gnintendo No that's the result you expect, the expectations of the OP don't count on a Q&A site:-)
 
@DavidCarlisle I thought that's what you wanted to know?
also, see: above
@DavidCarlisle I can even simplify
 
12:10 AM
@Gnintendo No I can't say what the expected behaviour of tex is because you haven't given enough definitions. If people post a MWE I add \tracingall at the top and then usually can reply fairly quickly. If they just post fragments you just get into circular discussions trying to find out what information hasn't been revealed.
 
warning: all the labels/codes have gotten really awkward since I've been desperately trying to modify them to not make any reference to a section result in not-B
@DavidCarlisle most obviously relevant is on line 120, \ref{vacant} is expected to result in the letter of the section defined on line
125
but it merely results in "B"
 
@Gnintendo what's wrong with using tex.sx:-) I might have a look but it's just gone midnight so I might not bother, If you ask a question on site someone more awake might look
 
@DavidCarlisle I don't even feel I know enough to ask a comprehensible question, clearly something very base here is wrong and I have no idea what the hell it is, but it definitely seems related to my use of the counter
 
the aux file has \newlabel{vacant}{{B}{4}{\textit {Section \Alph {subsection}: Vacancies\label {vacant}}}{section*.39}{}} see the first two fields that are intended for numerical information are correctly expanded, that's B on page 4, but the hyperref fields storing the name for autoref and friends get the \protected title but as you have put the number in there it isn't expanded so will expand to the value at the time you use the ref. Don't use the * form for numbered sections.
 
12:27 AM
hmm
@DavidCarlisle I think I got it behaving like I want:
 
@Gnintendo what did you change (can't be bothered to download again:-) (you are missing loads of % from ends of line by the way
 
@DavidCarlisle (wait what, where should I have percents? T.T)
\renewcommand\thesection{\Roman{section}}
\renewcommand\thesubsection{\Alph{subsection}}
\renewcommand\thesubsubsection{\arabic{subsubsection}}
I had that but I had {section} as the definition for every one of those
T.T
 
@Gnintendo every line that ends with { or } that's in a definition
 
more relevant, where am I missing % signs!?
 
@Gnintendo That's why I asked what thesubsection was :-)
 
12:37 AM
shh, I'm silly
:<
@DavidCarlisle can you give me an example of a place where I missed it?
 
@Gnintendo almost every line:
 
@DavidCarlisle I thought it didn't matter in this case?
like, in \newcommand
are you talking about in newcommand?
 
\newcommand{\mysubsection}[2][art:\arabic{section}:\Alph{subsection}:\arabic{subsubsection}]{%%%%%%%%%%%%%%%%%%%%
\refstepcounter{subsubsection}%%%%%%%%%%%%%%%
\label{sub:#1}%%%%%%%%%%%%%%
\phantomsection
\addcontentsline{toc}{subsubsection}{Subsection \arabic{subsubsection}: #2}%%%%%
\subsubsection*{Subsection \arabic{subsubsection}: #2}%%%%
}
 
I didn't think that was necessary
 
@Gnintendo would I lie to you?
 
12:39 AM
maybe :P
so, what makes those needed here: I understand the first and last ones, but I'm not sure what makes the ones in-between needed, I didn't think there was a space that could be inserted in those commands
 
@Gnintendo For a start adding those saves 5 bytes of tex memory, now you may not care about that but I spent weeks going through the latex format removing a space here and a {} there to save a few hundred bytes, so it upsets me, but more importantly if you use your section command before the previous para finishes, ie don't leave a blank line before it those spaces will make space tokens and whether or not they produce space in the output depends on stuff that it's simpler not to worry about
 
@MarianoSuárez-Alvarez: I see Norbert fixed the typo. Good job! :)
 
@DavidCarlisle oh.
 
Wow, Marc's book is costing €80 to me!
 
@PauloCereda how much is a latexbook or texbook? (or even a latex companion?) for comparison?
 
12:55 AM
@DavidCarlisle 45-50 $ TLC
 
@DavidCarlisle TeXBook: €70 || Companion: €60
 
@texenthusiast brazil prices have their own logic:-)
 
@DavidCarlisle :)
 
@DavidCarlisle it's cheaper on US/CA/UK recently got TLC for 45 $ but all TLC boxset is-4 books- 130 $ (all brand new)
 
1:17 AM
The new pope has a question (Structure column in Aquamacs):
 
@Speravir Which has only an answer: "use Texmaker". ;-)
Good night.
 
@egreg ;-) good night, as well.
 
1:34 AM
@cmhughes chat.stackexchange.com/transcript/41?m=7455135#7455135 and not to forget “Adorable Creature”. @Karl'sstudents some name forgotten? :-)
 
@Speravir Damien Walters,
 
@Karl'sstudents Ah, yes, but @cmhughes recalled this one.
 
@Speravir :-D
Harte Arbeit wird mich frei!
 
@Karl'sstudents You see, here are some guys having fun in collecting your names. ;-D
 
@Speravir Hahaha... what is the purpose?
 
1:41 AM
@Karl'sstudents Just fun … The names are funny mostly as well (and the avatars, too).
 
@Karl'sstudents Strictly speaking (in terms of law) it is not mine, but my father's. But he seems to be more imprinted on/to (?) me, so yes, it is mine.
 
@Speravir is it a kitten?
 
@Karl'sstudents No, male and almost 10 years old, but quite small.
 
@Speravir I see. it looks so adorable.
 
 
3 hours later…
5:15 AM
@Speravir @Karl'sstudents He does, do you have a bigger or another photo of him?
 
 
2 hours later…
7:06 AM
@StevenB.Segletes Just updating all my LaTeX packages reduced my compile time from 260s to 20s. Not calling tikz in your new version (1.1) of scalerel was probably a good idea, though in my case the majority of slowdowns must have come from other packages (dunno how tikz-related this is).
@tohecz I was wondering about your comment below this answer of yours the other day that a format search in Word with an empty string field is far from failsafe in detecting all occurrences of e.g. italicization (for the purpose of converting manually from doc to tex). I'm all ears.
 
 
3 hours later…
10:10 AM
Guys, I was thinking of Leo Liu for our next interview. :)
 
10:22 AM
@PauloCereda Good idea
@PauloCereda On the LaTeX3 team list, we're discussing improving our testing. You'd got some ideas about this: did you get anywhere?
 
@JosephWright I actually have a few ideas. :) I'll read the thread and post something later on. :)
 
@PauloCereda It's on the internal list: I'll forward you the relevant messages
 
@JosephWright Not in LaTeX-L?
 
@PauloCereda No
 
@JosephWright Oh. :(
@JosephWright: got it, thanks.
 
10:33 AM
@PauloCereda Leo Liu is Good choice, i agree
 
@texenthusiast Let's invite him then. :)
@JosephWright: would you do the honours? :)
I don't know if Leo is a chat regular.
 
@leoliu Would you like to be our next interviewee?
 
11:32 AM
@JosephWright Well, I'm pleased to. I'm sorry that my English is not very well. I hope it wouldn't be a big trouble.
 
11:59 AM
@LeoLiu Yay! :) Thank you very much!
Your English is great, don't worry. :)
 
 
1 hour later…
1:01 PM
@JosephWright: Is the registration to the mailing list open? If so, I'll add a reply there. :)
 
@PauloCereda You can post to the team list (latex-project@latex-team.org), and all of the team will get the message.
 
@JosephWright No registration needed?
 
@PauloCereda Not to post to the list: it's the team e-mail, so the fact it's a list is not visible to 'outsiders' :-)
 
@JosephWright oooooh a secret! :)
 
1:25 PM
Lo :-)
I don't sound too grumpy in my answer do I?
0
A: Glossaries: using name of (sub)sections instead of page numbers

Nicola TalbotThe location has to be written to the external file as a number (formatted using standard counter commands such as \arabic, \roman or \alph) otherwise makeindex will reject the entry. Even if you use xindy, you'd have to define a location style and list the mappings between all the section number...

 
@NicolaTalbot Hi Nicola!
 
@PauloCereda Hi Paulo! How's things?
 
@NicolaTalbot I think your answer is great! (I cannot upvote now, but I'll do it ASAP)
@NicolaTalbot In a hurry! :) And you? :)
 
Which one is better and recommended? Putting \par at the end of the previous paragraph (right after the period) or putting it at the beginning of the next paragraph?
 
@PauloCereda Thanks :-) I worry about getting on my high horse about such things, but I think people should be encouraged to think about document design rather than do stuff because it looks nice.
 
1:37 PM
@Karl'sstudents None. Leave a blank line between the paragraphs.
 
@PauloCereda I had to go to London yesterday. It made me really appreciate the peace and quiet of my little village :-)
 
@egreg OK. Thanks for answering.
 
@NicolaTalbot I know the feeling. :) I have to go to São Paulo next week. :)
 
@Karl'sstudents A blank line is equivalent to typing \par and it's visually easier to spot.
 
@egreg Yes. It really makes sense.
 
1:41 PM
@PauloCereda Oh poor you! Brazil has some beautiful countryside, but I didn't much care for São Paulo (or Rio).
 
You know, the question emerged when I read the seventh page of the book "LATEX for Complete Novices".
 
@Karl'sstudents @NicolaTalbot I wouldn't recommend such an example. Blank lines for \par should always be preferred.
 
@egreg Yes. But if we have to choose one of them, I prefer to put it at the end of the previous paragraph.
 
@Karl'sstudents Of course. It means "end the paragraph here".
 
@egreg So does it mean we save several byte of memory? :D
 
1:49 PM
@Karl'sstudents It's swallowed because it follows a control sequence.
 
@egreg So does it mean we save several byte of memory? :D
 
@Karl'sstudents I don't get it.
 
@egreg Sometimes you need to make it obvious that you want a paragraph break somewhere. I often find that when teaching people about stuff like \raggedright and I put a blank line in the code, the don't put in the blank line in their example and wonder why what I told them doesn't work. Added \par emphasizes that they really need to put a paragraph break there.
 
@NicolaTalbot Of course the whole text should be taken into consideration; I never read "LaTeX for Complete Novices", you know. ;-)
 
@egreg I meant because TeX shallow the end of line character following \par, does TeX save several memory compared to when we put \par at the beginning of the next paragraph?
 
1:53 PM
@egreg :-) That segment is actually just an illustration of how sample code is displayed in the book. It's not supposed to be teaching people to actually use \par.
 
@Karl'sstudents I still don't get it.
 
@egreg OK. Is there any difference in using CPU memory when using one of the two cases discussed above?
 
@Karl'sstudents There's no practical difference among text\par<eol>text and text<eol>\par text or text<eol><eol>text. In the second case there's a final space that \par removes when doing the typesetting.
 
@egreg OK. Thank you.
@NicolaTalbot Another example when implementing an environment, we use \par at the last right before the }.
 
@Karl'sstudents What should \ignorespaces do? \par makes TeX switch to vertical modes where spaces are ignored anyway.
@Karl'sstudents Using \par in definitions rather than a blank line is recommended.
 
2:08 PM
@egreg Good point!
one question: When defining a paragraph scope environment, do we need to put \par at the beginning (right after the first {) and \par at the last (right before the second })?
 
@Karl'sstudents There are some examples that use \ignorespaces (such as this one.)
 
@Karl'sstudents It depends on what you do in the environment.
 
@NicolaTalbot Thanks. I am reading...
@egreg I usually put \par (as I mentioned in the question) to free user from manually specifying \par before and after the environment being used.
 
@Karl'sstudents If the environment should start a new paragraph, this is indeed good practice.
 
@egreg How about the closing \par at the end of environment implementation?
 
2:15 PM
@Karl'sstudents Again, it depends on what the environment is supposed to do.
 
@JosephWright: Mail sent. :) Could you ping me if the mail was successfully received? :)
 
@egreg OK.
Can we use \ignorespaces instead of \ignorespacesafterend? Because I think \ignorespacesafterend is a subset of \ignorespaces?
 
@PauloCereda Received
 
@JosephWright Thanks. :)
@Joseph: I think now I need to wait you guys to exchange secret messages and wait for an official announcement. :)
 
@Karl'sstudents They have different usages; \ignorespaces has no effect if put at the end of the "end part" of an environment's definition.
 
2:25 PM
!!/texdef --tex latex ignorespaces ignorespacesafterend
Looks like Psmith isn't active.
 
The replacement for the sleeping Psmith says:
\ignorespacesafterend:
macro:->\global \let \if@ignore \iftrue
 
@egreg Oh, I just knew it. Then \ignorespaces should be renamed as \ignorespacesbeforestart. At leat to avoid mismental model
 
 
2 hours later…
4:33 PM
@JosephWright It seems that the last update of LaTeX3 broke breqn
! Undefined control sequence.
\math_char:NNn ...#3->\tex_mathchar:D \int_eval:w
 
@egreg Drat, forgot to check breqn: will take a look
@egreg The code there is a PITA
 
MWE:
\documentclass{article}
\usepackage{amsmath}
\usepackage{breqn}
\begin{document}
\begin{dmath}
x
\end{dmath}
\end{document}
@JosephWright Did you remove \int_eval:w?
 
@egreg Moved to \__int_eval:w
@egreg That was a while ago, but we'd not removed the older names
There was a not-well-done conversion of breqn to expl3 syntax, meaning it's not really correct and is hard to look after
 
In the answer to tex.stackexchange.com/questions/102784/… I added the code that should patch the thing, at least until breqn is updated.
@JosephWright Actually it's flexisym.
 
4:49 PM
@egreg Yes, I'd found that :-)
@egreg Problem fixed in the dev version, but I need to talk to Lars Madsen to get an update sent to CTAN
 
@JosephWright Also the \math_ prefixes don't seem the best choice.
 
"Using LaTeX to Write a PhD Thesis" is likely to drop off bookseller lists for a few days pending corrections. Just in case anyone's following its progress with avid interest ;-)
2
 
5:08 PM
@egreg No, but as the team have some say here I'd image this will change
 
 
1 hour later…
6:28 PM
@egreg Fixed version of breqn sent to CTAN
 
6:49 PM
@NicolaTalbot: is it better to put \begin{itshape} after the second \par\vspace{\baselineskip}% in the code snippet you gave as follows?
\newenvironment{exercise}% environment name
{% begin code
\par\vspace{\baselineskip}%
\textbf{Exercise}\begin{itshape}%
\par\vspace{\baselineskip}%
}%
{\end{itshape}}% end code
 
leo
hi there!
 
@Karl'sstudents \itshape instead of \begin{itshape} and no \end{itshape}
 
@egreg I meant which is recommended "\par\vspace{\baselineskip}\begin{itshape}" or "\begin{itshape}\par\vspace{\baselineskip}"?
 
@Karl'sstudents It's the same. But don't use \begin{itshape}
 
@egreg Why,? the code after the environment will be affected if we don't use the declaration form.
 
7:04 PM
@Karl'sstudents \itshape is a declaration that changes the current font. \end{exercise} will limit the scope by itself.
 
@egreg good point!
 
You should simply use \itshape; sometimes \begin{<font decl>} is seen, it's usually wrong. In the sense that it's wrong, period. :)
 
Consider the following,
\newenvironment{exercise}[1]% environment name
{% begin code
\par\vspace{\baselineskip}\noindent
\textbf{Exercise (#1)}\begin{itshape}%
\par\vspace{\baselineskip}\noindent\ignorespaces
}%
{% end code
\end{itshape}\ignorespacesafterend
}
 
Is it good practice to append \par before the \ignorespacesafterend?
 
7:11 PM
hi
why is the default space above and below the lines and text in a tablur differnt ?
 
@Karl'sstudents The purpose of that bit of code is to illustrate how to define a new environment. If you actually want to define an environment that behaves like that you're better off using \newtheorem (the starred version provided by ntheorem/amsthm if you want it unnumbered).
 
@NicolaTalbot Yes. I agree with you.
 
7:47 PM
is my question with the default space of tabulars worth a question on the main page ?
 
@DominicMichaelis It might be an idea to produce a minimal example illustrating what you mean.
 
oh right sry
 
@DominicMichaelis Here's a starting point:
\documentclass{article}

\begin{document}

\begin{tabular}{ll}
Row & 1\\
Row & 2\\
Row & 3
\end{tabular}

\end{document}
 
thanks :)
 
@DominicMichaelis If you're using \hline you might want to have a look at the booktabs package
 
7:55 PM
oh i guess this is what i am searching, why are vertical lines bad ?
@NicolaTalbot oh great booktabs is exactly what i searched
 
@DominicMichaelis The Oxford Style Manual says "Most publishers omit as superfluous all vertical rules in tables. If correctly spaced and aligned, presentation is clearer and less cluttered without them: only tables with extremely complex internal structures benefit from them."
 
how long are you using LaTeX ?
 
@DominicMichaelis I started using LaTeX when it was still LaTeX2.09. Around 1991, as far as I can remember.
 
oh that longer than I live. I just "use" latex for about a year
 
@DominicMichaelis If you're interested I have a list of LaTeX resources.
 
8:10 PM
Sure I would like to learn much more about LaTeX
 
 
1 hour later…
9:19 PM
@NicolaTalbot newcomer.
 
@DavidCarlisle ;-) When did you start?
 
@NicolaTalbot '87
been here all day worn out thebigbangfair.co.uk/home.cfm
 
@DavidCarlisle Ooh, I was at sixth form college back then. That takes me back.
@DavidCarlisle That looks like fun. Were you demonstrating anything (lego?) or just visiting?
 
@NicolaTalbot visiting, we went to the NEC last year but was at london this year so we took the train in, it's quite good really lots of hands on stuff to do but since there is no possibility of leaving before they put the lights out and kick us out it's a long day:-)
 
How can we explain why does the presence of consecutive occurrences of \vspace{\baselineskip} preceded by a characters make them "killed"?
Karl's
\par
\vspace{\baselineskip} \ \vspace{\baselineskip} \ \vspace{\baselineskip}
students
 
9:31 PM
@Karl'sstudents well at least the second of those three vspace is in horizontal mode (the first may or may not be, depending) vspace in horizontal mode is something you don't normally want to do. What happens is that the paragraph breaks as normal then the space is inserted after the line on which the point where the vspace was ends up. sorry just saw the \par at the start so the first is not in hmode.
 
texenthusiast, I will try finding the setup from the screenshot and let you know how that goes.
 
@dustin Hi there
 
@Karl'sstudents not sure what you mean by killed, you get all three of those spaces, but the second two come after the line that has the two \ \
 
@dustin include @user-name to ping anyone here
 
@texenthusiast I don't have a preference option in Texnic Center. I am using the most current build of it too. They may have changed it.
 
9:35 PM
@DavidCarlisle l3galley :-)
 
@DavidCarlisle That sounds tiring! In fact I think I need a lie-down just thinking about it.
Hello @Paulo!
 
@NicolaTalbot Hi Nicola! :)
 
@DavidCarlisle Trying to digest it. By the way, how to show the u-like space characters? Without using listings package.
 
@Karl'sstudents use verbatim* or \verb* or \textvisiblespace
 
@PauloCereda I've uploaded the corrections to my book and have gone back to writing Perl :-)
 
9:38 PM
@NicolaTalbot Yay! :) I need to face Perl some day! :)
 
@DavidCarlisle I meant for the rendered text rather than the source text. Showing the space with u-like character in the render text so we can easily count the spaces.
 
@dustin actually i am working on linux texmaker completely opposite to your Windows and TC. I will try my best to help as i used TC in its alpha.
 
@texenthusiast ok thanks.
 
@PauloCereda :-) I've decided to try reimplementing some Java code as Perl/Tk. The memory requirements are huge so I was wondering if using Perl instead might help.
 
@Karl'sstudents well you need to use some kind of monospace really as otherwise there are not really spaces to count just variable amounts of glue of varying lengths.
 
9:45 PM
@texenthusiast I found this -max-print-line=120 -interaction=nonstopmode "%wm" how should I edit it?
 
@DavidCarlisle Considering the 3 spaces we got, what caused the first space?
 
@dustin wait a sec i will come to win 7 and TC
 
@Karl'sstudents 3? you get the same horizontal space as Karl's\par\mbox{}\ \ students Or in fact same without the \mbox{}
 
Karl's
\par
\vspace{\baselineskip} \ \vspace{\baselineskip} \ \vspace{\baselineskip}
students
produces 3 spaces before students.
I got it, because of the space after the first \vspace{\baselineskip}
 
@texenthusiast I changed that line to --enable-write18. The pdf compiled without an issue but only the axis showed up and not the inverted cycloid.
 
9:54 PM
@Karl'sstudents No it produces a para indent and 2, same as Karl's\par\ \ students
@Karl'sstudents the first vspace is in vmode so the space after it is ignored then there is a \ then the vadjust node from the 2nd vspace then the ` ` space which would have caused a space except latex suppresses it since there was a space before, then the second \ then the second vadjust node.
@Karl'sstudents your construct then same with no vspace but two \ then three \ you'll see the horizontal spacing is 2 spaces in your case.
 
@dustin its in Build(Alt+F7) -->profiles -->select the latex-->pdf profile --> in "command line arguments to pass to compiler" --> add --enable-write18 and -synctex=1 with other default commands to pdflatex.exe. i am on TC 2.0 beta 1 32 bit.
@dustin post the code minimal working example (MWE) at the question so anyone can verify
 
Let's consider this
\documentclass[preview,varwidth]{standalone}

\begin{document}
\preview
\tt\noindent
Karl's
\par\noindent
\vspace{\baselineskip} \ \vspace{\baselineskip} \ \vspace{\baselineskip}
students
\endpreview
\end{document}
There are 3 spaces right below Kar
 
@texenthusiast where did you put this -synctex=1? I only have arguments to pass to compiler and bibtex arguments and makeindex arguments
 
@dustin same place after --enable-write18 to pass for pdflatex.exe
 
If I remove a white space after the first \vspace{\baselineskip}, I got
 
10:06 PM
@texenthusiast so it should say --enable-write18 and -synctex=1
 
With 2 spaces
 
@dustin yes it's for forward .tex to .pdf interaction and vice-versa
 
@Karl'sstudents That's completely different to your earlier code you have par\noindent which means that all three of the vspace are in hmode not just 2.
 
@texenthusiast i have an error that says I cant find file and
 
@dustin use enable-write18 only for the timebeing to resolve the gnuplot
 
10:09 PM
@DavidCarlisle Oh my ghost, I thought \noindent has no contribution other than preventing the indentation. :-)
 
@dustin please post the code that gave the error in the question
 
\begin{tikzpicture}[line join = round, line cap = round, >=triangle 45]
\draw[->] (0,0) -- (6.2,0);
\foreach \x in {0,1,2,3,4,5,6}
\draw[shift = {(\x,0)}, color = black] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize $\x$};
\draw[<-] (0,-2) -- (0,0);
\foreach \y in {0,-1}
\draw[shift = {(0,\y)}] (2pt,0pt) -- (-2pt,0pt) node[left] {\footnotesize $\y$};
\draw (0pt,-10pt) node[fill = white] {\footnotesize $0$};
\clip(0,-2) rectangle (6.2,0);
\draw[smooth, samples = 100, domain = 0:6.28319] plot[parametric] function{t - sin((t)*180/pi), -1 + cos((t)*180/pi)};
@texenthusiast my function doesn't plot though.
 
@Karl'sstudents If you see \par\noindent in code it's usually wrong:-) \noindent starts the paragraph. Well it's OK if it is followed by known tokens but as I commented the other day on an question of Brent's on site it shouldn't be used at the start of an enviorrnment followed by an unknown environment body.
 
@dustin add it in the question also. it will help others who are in the same position
 
@DavidCarlisle I'm surprised you can think of a legitimate use for this outside of galley-like cases
 
10:16 PM
@dustin where is the gnuplot in this ?
 
@texenthusiast The function part
 
Yes
 
@DavidCarlisle So vertical spacing macro (if needed) should come after \par and then followed by \noindent (if needed) rather than \par followed by \noindent followed by vertical spacing? Just for confirmation.
 
@JosephWright \par\noindent\tabular*{\textwidth} occurs so often it seems pointles to argue to strongly that it is wrong/
 
@DavidCarlisle Still is, though
 
10:20 PM
@Karl'sstudents Yes although preferably without the \noindent
@JosephWright I'm corrupted by html5: If the masses are happy it must be right.
@Karl'sstudents if you do par noindent vertical spacing the space comes after the first line of the paragraph.
 
@DavidCarlisle OK. Thank you. Another question: Is it necessary to prefix a vertical spacing macro with \nointerlineskip to remove interlineskip before applying the vertical space? (from newbie's mental model)
 
@Karl'sstudents it's usually worse to use \nointerlineskip except when it's needed. If in doubt don't use it.
 
@DavidCarlisle What space do you meant? vertical one or the unnecessary white space left (if not forgotten) after the vertical space macro?
 
@Karl'sstudents With \nointerlineskip you won't be able to know the precise amount of spacing, because it will depend on the depth of the previous line.
 
@dustin when use calling gnuplot from pgfplots you don't need gnuplottex package
 
10:25 PM
@texenthusiast Removing that package will fix it?
 
@dustin there are two ways i know to talk with gnuplot a) via pgfplots b) via gnuplottex
 
@Karl'sstudents the vertical space comes after the first line try \par\noindent\vspace{1in} enough text to make two lines....... and you'll see where the space comes. No one ever wants it there. It's a latex feature.
 
@dustin comment out % allsectionsfont and % gnuplottex , it should work
 
@egreg But if we write \par\nointerlineskip\vspace{\baselineskip}, does \vspace{\baselineskip} provide the precice amount of spacing?
 
@Karl'sstudents No, it will depend on the depth of the final line in the last paragraph.
 
10:28 PM
@texenthusiast It didn't work
 
@Karl'sstudents If you do that the position of the following line depends on whether there is a letter like g with a descender on the previous line, or whether there are capitals or just lowercase on the next line. You almost never want that.
 
@texenthusiast I have the error pgf plot table not found
 
@Karl'sstudents Remember that TeX always puts interline skip in addition to the explicit \vskip (except in some cases described in the TeXbook, for instance when one does \unvbox).
 
@egreg If you use \unvbox you should know what you are doing :-)
 
@JosephWright Never stopped me
 
10:32 PM
@JosephWright And know about \prevdepth.
 
@DavidCarlisle Quite true: I'm currently doing physics experiments down the road from you (Harwell), and I've no idea what's going on :-)
 
@egreg It's still hard to get right spacing even knowing prevdepth as you can't so easily get the height of the first row in the box (you need vtop at one end and vbox at the other (pause while @JosephWright interjects a coffin remark)
 
@DavidCarlisle Confirmed and understood. Thank you.
 
@DavidCarlisle Coffins weren't my idea, I just tidied up the code
 
@dustin did you add --write18-enabled ? try opening command window of the same folder and run pdflatex --write-enabled your-filename.tex.
 
10:35 PM
@JosephWright yes I know:-) But you'd slipped in a galley reference earlier so I assumed you'd want a coffin reference there:-)
 
@DavidCarlisle Of course
@DavidCarlisle xor
 
@texenthusiast do you mean --enable-write18?
 
@egreg OK. I save your statement until my knowledge is enough to digest it as my reading from TeXBook has not reached that topic. :-)
 
@dustin ya i typed wrong --enable-write18
 
@texenthusiast -enable-write18 is also correct.
 
10:38 PM
@texenthusiast -max-print-line=120 --enable-write18 "%wm" is what I have
 
@dustin run Latex--> PDF profile
 
@texenthusiast what?
 
@dustin on the tool bar in TC top bar selec the latex--> PDF from the scrollbar box
 
@texenthusiast it is always set to that
 
@dustin did you run from command window also
 
10:43 PM
@texenthusiast I just ran it from TC
 
@dustin i mean its just to verify the if it works from command window to eliminate any TC configuration etc.
 
@texenthusiast how do I do that?
 
@dustin go to start and run the cmd in the search and double click it
 
@texenthusiast ok it is open
 
@dustin to make it simple copy the .tex file to Desktop
 
10:48 PM
@texenthusiast ok
 
@dustin cd to Desktop
 
@texenthusiast done
 
@dustin now your path would be something like C:\users\username\Desktop
 
@texenthusiast already there
 
@dustin type pdflatex --enable-write18 your-filename.tex
 
10:53 PM
you know this on? spikedmath.com/537.html
 
@texenthusiast didn't work
 
@dustin post me the errors paste.ubuntu.com
 
@texenthusiast it compiled but the function part didn't generate
 
@dustin send me both yourfilename.tex and .log file via above link
@dustin are you using miktex ?
 
@texenthusiast yes. I just pasted my tex file
 
10:58 PM
@dustin where are the paste ubuntu links posted ?
 
@texenthusiast I am going to restart my computer to see if that helps.
 
@dustin your errors.log
@dustin you don't need gnuplottex package
 
@texenthusiast with or without gnuplottex, there is no difference.
 
@dustin yes but you don't need it. it compiles well here. you mean the plot parametric is not working ?
 
@texenthusiast yes. You can get the parametric curve to show up when you compile it?
 
11:06 PM
@dustin i dont know pgfplots may be rephrase your question or post a new question on pgfplots
@dustin sorry i cannot help you more , my knowledge has limits
 
@texenthusiast ok thanks.
 
11:23 PM
@JosephWright can tikz talk with gnuplot like pgfplots ?
 
@texenthusiast I think so: a lot of the plotting 'back end' is part of TikZ rather than being pgfplots-specific. However, @christianfeuersanger is the man to ask, really.
 
@JosephWright I thought OP used gnuplot commands by explicitly mentioning in .tex using gnuplottex package. Hence i was wondering about gnuplot
@JosephWright there is another possibility to run gnuplot under the hood using pgfplots (today's lesson) :) Thanks a lot
 

« first day (867 days earlier)      last day (4052 days later) »