« first day (795 days earlier)      last day (4139 days later) » 

kan
12:16 AM
Can someone help me with this problem: I would like to move all the files that turn up in a particular search to be moved to a file.
 
@kan you mean concatenate them to one file?
 
kan
mv -v find . -iname "galois"` galois`
@DavidCarlisle No, move them to a directory, sorry, not a file (my bad).
 
@kan that moves all the files called galois (case insensitive) to galois (so will try to move the target to itself)
 
kan
@DavidCarlisle Oh, I see the problem now.
 
@kan Change the name of the directory and revert the name after moving the files. But beware that if the list is long, things can go wrong. Using xargs is usually recommended in this case; or add an action to find.
 
kan
12:27 AM
@egreg The first sentence is what I did. The list cannot possibly go wrong, as there are around 14 files only...
I don't know what xargs is.
 
@kan it's a utility for handling long lists of arguments, as typically generated by find (but I usually prefer using -exec myself)
 
Wouldn't find . -iname galois\* -exec mv -v {} RENAMED \; be better?
Where RENAMED stands for the provisional name you gave to the target directory
 
@egreg well you changed the list from files named galois to files whose name starts with galois which avoids the problem of the target matching but is a different operation isn't it?
 
kan
@egreg Now, I think I understand what you want there... actually, I was trying to do this with pipe.
And failed, of course.
 
@DavidCarlisle It seems that this is what @kan is trying to do.
 
12:32 AM
Does anyone know a reference for printing patterns on the page edges such that when pages are stacked on top of each other a picture forms? I think I'm coming close to a package for that. But I don't know about the printer conventions. Right now I'm assuming that the pages are going to be cut down to a smaller size.
You might ask who might need this and I'd say probably noone.
I'm trying to replicate the shoulder of the book in the open end too.
 
kan
@DavidCarlisle Well, won't the target still be matched because, after all, it starts with galois too (in my case, of course, as @egreg has made it RENAMED)?
 
Max
Is this chan actually backed by an irc and which one if so?
 
12:57 AM
@JosephWright @MartinScharrer @StefanKottwitz I made an edit on the CW answer to LaTeX Introductions in languages other than English and noticed an error for a link to a Russian resource (doubled link to another already mentioned publication).
So I made a web search with what was given and now I’m confused: I found and added a link for “LaTeX 2e по-русски (2004) by И. Котельников and П. Чеботаев”, but there is also labirint.ru/books/277560 with a commercial version of 2011. Do you have any chance to ask other, Russian speaking moderators for help (isn’t there a “Russian language and usage”?), whether the version of 2004 is in fact also commercial and so the link illegal?
 
@kan yes sorry was thinking the pattern forced a non-empty suffix bit of course it doesn't
 
kan
@Speravir Got to love the Russians.
 
@kan The “funny” thing is: The linked PDF file is on a university server.
 
kan
@Speravir I have had experiences too.
On the Course page, the book was linked.
 
@kan A book written by you?
 
kan
1:05 AM
@Speravir Noooooooo... For the record, I am still an undergraduate student.
 
@kan Aah, this way round …
 
kan
(not to say, undergrads won't write books; but usually, they don't.)
 
leo
!!/answer how are you?
 
@leo Psmith sneaks off to play Cricket when @PauloCereda isn't around to supervise.
 
leo
@DavidCarlisle just noted
 
1:46 AM
@leo What is your problem with EPS and MiKTeX?
 
leo
@Speravir Have a document with some EPS images. I compile and get errors that in short says that LaTeX do not know what EPS is
 
@leo For EPS you need an engine drive, where EPS is allowed, otherwise it must be converted first into an allowed image format, the best of should PDF. Cf. this answer of Heiko Oberdiek. For pdftex there is epstopdf, also from Heiko, what in MiKTeX must explicitly be included.
@leo: See this answer of mine: Including pdf figures in Latex document using TexnicCenter It does not matter, that is was meant for TeXnicCenter.
 
leo
2:02 AM
@Speravir I know that. I compile the same document with pdftex using TeXLive and the image are converted to PDF without problem. When compiling with MikTeX and it does not work, just give errors
 
@leo Aah, then I cannot help without an example. Perhaps the MiKTeX version of epstopdf needs an update, but we need some proof first. Ask a question on the main site (what perhaps will be closed as too localized) or (only if you are sure) go to sourceforge.net/p/miktex/bugs and describe the issue well (again said: with example is the best).
 
leo
@Speravir I'll see if I can prepare an example and I'll ping you if I post it on main
Thanks for ask :-)
 
@leo BTW see my remark in tex.stackexchange.com/a/86949
 
2:23 AM
Hey guys, I'm trying to modify a .cls file (philosophersimprint.cls) and am running into all sorts of issues. I didn't want to ask a question about it because it seemed like the sort of thing that was too specific to my own needs to be of general interest. Is this the appropriate place to ask for help (never used chat on TeX.SE before), and would someone be able and willing to help?
 
@Dennis well you can ask, but if it involves showing any amount of code, it's better to ask on site as formatting here is very limited
 
@DavidCarlisle Ok, reasonable enough. But, modifying a .cls file would be appropriate for main site? I'm just worried that I'll have the question closed for not being of wide enough interest. Is that the sort of thing that I should just go for and if people complain, delete the question? I'm always a bit confused about etiquette.
 
@DavidCarlisle yes
 
@DavidCarlisle Ha, I just was going to write, that on this time not many people are active here, especially the TeXnicians, but after your reply I decided to cancel this. ;-)
 
2:35 AM
@DavidCarlisle I'm just looking to preserve their formatting (because I like the set-up) but change a few things; e.g., get rid of the title page and journal identifying info, switch to 1 column, and go to a portrait orientation
 
@Dennis well it depends what kind of mod it is of course if it is changing (say) heading or title layout it's just standard fare for this site same issues really whatever the class, if it is something really specific then less so, but probably better to ask on site (I may not answer but there must be someone in the world for whom it isn't 2.30 in the morning:-)
 
@DavidCarlisle but the .cls file isn't marked with comments like some and it is a bit more complicated than other (simple) .cls's I've successfully modded
@DavidCarlisle ok thanks for the advice, i'll create a question
 
if you are looking at the .cls it has been stripped of comments as usual for latex, you want teh originakl documented source eg anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/contrib/…
@Dennis ^^^
 
@DavidCarlisle ah ok, that makes sense, i'll take a look and see if i can figure out how to do what i want from the documentation. otherwise i'll post a question. thanks for the help. don't want to keep you up at 2:30 am!
 
night all...
 
2:40 AM
night
 
leo
@DavidCarlisle sleep well
 
 
4 hours later…
7:06 AM
Hullo. How do you pronounce "TeX" and "LaTeX"?
Oh never mind, I found the question on main!
 
@Gigili This is contained in the first couple of paragraphs of the TeX Book.
 
@Werner Right, I've always pronounced the 'x' as an English 'x' and not like German 'ch' sound!
TIL, thanks anyway.
 
 
2 hours later…
8:48 AM
@Max Thanks -- I was wondering today where the upvotes came from, and it appears that it was due to your link :-)
 
9:26 AM
For all: If we have to categorize the existing packages into some groups, what groups do you propose?
 
@AdorableCreature This requires thought, and is thus not suited for chat. If it doesn't already exist, it would make a good big list question, especially as some pretty useful tags could come out of it.
 
@AdorableCreature Have you looked at the various CTAN categories?
 
@StephanLehmke OK. Thanks.
@JosephWright Not yet. I will search for it now.
 
A TeX ontology would be fun. :)
 
@AdorableCreature ctan.org/topic
Anyone noticed that the 'register' business has reappeared on the new CTAN site? Doesn't actually let you register :-(
 
9:35 AM
@JosephWright This ia a bit like the TeX.SE tags: 20 entries for letter A alone - too many to be useful as "categories".
 
@StephanLehmke :-)
 
We need TeX taxonomists.
@JosephWright Thanks.
 
@JosephWright +1
 
I vote for David. Of course, the result would be and . :)
4
 
@JosephWright This link is better: ctan.tug.org/characterization
 
9:41 AM
@AdorableCreature That was the other view I was trying to find :-)
 
@JosephWright I see.
 
How can I upload an image in a LaTeX presenation?
Note that I've read this page
But I am getting errors trying to do that!
 
@Gigili "uploading an image in a presentation"? what does it mean?
 
9:58 AM
@Gigili Hello! There's a good reason why we want people to compose a Minimal non-Working Example
 
@Gigili What format is the image in?
 
@JosephWright You know know that: Can I add some my check to every paragraph? (I have the feeling that \everypar is not reliable)
 
@JosephWright @AdorableCreature There's also texcatalogue.sarovar.org/bytopic.html
 
@tohecz What exactly do you want to do?
@tohecz \everypar is used by a lot of things, so making sure you don't get overwritten can be awkward
 
@JosephWright Tweaking into \@par ?
 
10:04 AM
@tohecz That's the other end of the paragraph
 
That doesn't matter to me
 
@tohecz But it does to TeX!
 
I want to do some check that must be done during the first column of the last page of my document
 
@tohecz Testing for the last page will be awkward: a two-pass approach I guess
 
@JosephWright Yep, I have the check working, I use it in \section and \bibitem, but that's not enough
 
10:10 AM
@tohecz Well \everypar is inserted at the start of each paragraph, but any 'special effects' might overwrite it. You could hook into \@@par, I guess, but that is potentially risky
 
Every \@@par you take, \everypar you make, every risk you take, it's your own fate, TeX'll be watching you.
13
So Windows Live Messenger = Skype.
 
@PauloCereda Yes
 
@PauloCereda damn do you write your poems down? You could make a TUGboat article of them once
@JosephWright seems that \g@addto@macro\@par\@chketp works ;)
 
@tohecz I have arara to worry first. :)
 
@JosephWright JPEG
 
10:22 AM
@Gigili Are you using pdfLaTeX?
 
@tohecz: by the way, you'll see the most epic announcement message when I upload arara to CTAN.
 
@tohecz Most of the time it will
 
@JosephWright I think I'll give it a try for now
I gotta go (shopping)
 
@JosephWright Yes
@tohecz Very informative, thank you.
 
@Gigili OK, what error do you see?
 
10:25 AM
@JosephWright Wait a few minutes please, I deleted that part from the code, must retype it.
 
10:42 AM
@JosephWright Now it is 'file not found'
But, umm ...
Is it supposed to be in the "tex" folder?
 
Max
@HendrikVogt Apparently you were right, I was mislead. I was staring at Russian Mathematics from the cold war era for an hour now and I come to believe their ds are like the americans (gotta love cold war for keeping them from using TeX btw)
 
11:03 AM
Skim users: how do you print odd pages?
 
@PauloCereda Hi. Sorry I didn't reply to your welcome yesterday - I got distracted. Good question about skim. Under Paper Handling you'll find the Pages to Print options, which include Odd Only
 
@AndrewSwann ooh! Thanks! :)
 
11:30 AM
@Gigili You need your graphic either in the same folder as your .tex or in a place TeX 'knows to look in'. I tend to use a subfolder of the location of my .tex file plus \graphicspath, but that is not universally popular.
 
Is there a way to tell LaTeX to do a command at the next paragraph break? I want to detect if the height of the next paragraph is less than 2 lines, and if so, add vertical space.
 
@codebeard Tricky :-)
 
I was hoping to do something like \recordverticalposition\atnextpar{\if \verticalposition-\recordedverticalposition}{\addvspace{...}}}
that if statement isn't right, but maybe you understand what I mean
 
@codebeard One possible approach
\documentclass{article}
\usepackage{lipsum}
\newcommand*{\specialpar}[1]{%
  \let\origpar\par
  \def\par{%
    \origpar
    \let\par\origpar
    \ifnum\prevgraf<3 %
      \vspace{#1}%
    \fi
  }%
}
\begin{document}
\lipsum[1]

\specialpar{1 em}
\lipsum[1]

\specialpar{1 em}
Some short text.

\lipsum[1]


\end{document}
I've gone for 'less than three lines': do you really mean only one line in a paragraph?
Note this will break in many different ways!
 
Thanks, that looks like it might work
I really do mean one line, so I guess I can change it to <2
 
11:40 AM
@JosephWright Should I continue or you are busy with some other questions?
 
@Gigili Fire away
 
=)
 
@Gigili I'm mainly writing lecture notes
 
This is my code, and I want to add an image to the 3d page.
Wait, I think I'll have to do what you said about its location/path.
 
@Gigili Yes, should just be \includegraphics{<filename>}
 
11:41 AM
@JosephWright when you say "break in many different ways", do you mean that other things redefining \par are going to interfere? Or is there many other ways?
 
@codebeard Things altering \par
@codebeard Also material that does not have the 'correct' height
 
@JosephWright well, it's worth a shot. thank you
 
@JosephWright Still:
> ! LaTeX Error: File `<Untitled>' not found.
How to figure out where is the place TeX "knows to look in"?
I saw some D:/texlive/2012/... comments among compiling messages and pasted the image there, but to no avail
 
@Gigili No, TeX will not look there
@Gigili Start with the image in the same folder as the .tex file
 
@JosephWright You mean the folder in which I saved my sample code? there is also a copy of the image there
 
11:55 AM
@Gigili Yes, it should be found if it is in the same folder
 
I'm sorry to disturb you, should I ask on main?
\begin{frame}{continue}

\includegraphics{<Untitled>}

\end{frame}
Would be enough?
 
@Gigili That's the correct approach: I suspect you have something odd up for example the wrong .tex file compiling or a typo in the image file name
 
12:16 PM
@JosephWright Could you please delete the MWE I pasted above?
 
@Gigili Done
 
Thanks.
And thank you for your help.
 
@Gigili Ah, you've called your graphic the same name as your .tex file: not a good plan!
0
Q: what if I use a \def name starting with "if"

neurinoFollowing this answer I'm setting up my own dictionaries. Compiling files I get this error: ! Use of \if doesn't match its definition. and I guess is why I named a term as if_foreign_buyer \def \if_foreign_buyer{You can only...} removing starting if solves the problem Any solution, other ...

We must have a question about 'letters' and csnames, which would answer this
 
@JosephWright Changed it now! I thought you recommended me to choose a more meaningful name and doesn't matter whether it's the same name. Thank you.
 
@Gigili The problem here is that pdfLaTeX (by default) looks for graphics in a particular order, and will find the empty .pdf file before the .jpg. You can alter the order, but it's far safer to use a different name
 
12:24 PM
Noted.
I had to remove '<>' too
It works now.
 
@Gigili They are often used by programmers as part of a description of syntax, to mean 'to be filled in when used'
 
1:19 PM
I thought I didn't reach my 40 votes, but then I rechecked: they were spent at least 10 hours ago. :)
 
1:52 PM
I need a trick to finalize or execute or discard my bounty in tex.stackexchange.com/q/55943/19356 immediately (without waiting) so I can offer another bounty for another question. Is there such a trick?
 
@AdorableCreature There's a reason you are limited on bounties: they are meant to be targetted
 
@JosephWright OK. Thanks.
 
@AdorableCreature The mods can if really necessary reverse a bounty: good reason needed - fire away!
 
@JosephWright OK. Leave it as is because there is no such a good reason. :-)
 
2:48 PM
For those who never see a multiple-time suspended user, see physics.stackexchange.com/users/4864/ron-maimon. :-)
 
@AdorableCreature Yes, I'd seen that
@AdorableCreature I suspect I think the professionals are, for the most part, completely incompetent might have something to do with it
 
@JosephWright I thought the same.
 
@AdorableCreature I'd seen that too :-)
 
@JosephWright I see. Thanks.
 
2:56 PM
I've no idea about the rights-and-wrongs: that's up to the mods of each site to determine
@AdorableCreature We've had one or two 'interesting' characters
 
@JosephWright What does it mean?
 
@AdorableCreature Some users generate quite a bit of work for the mods :-)
5
 
Where would I find the actual values (in pt) of the default list vertical spacing?
 
@AlanMunn I'd read the .cls files
@AlanMunn It's not 'abstracted' with the kernel-supplied classes
 
@JosephWright My sockpuppets? :)
 
3:05 PM
@AlanMunn Or you could just \tracingall a simple case :-)
 
@JosephWright I looked in article.cls but didn't find anything; I also looked in source2e. Maybe I'm looking in the wrong places.
 
@AlanMunn You are after \@listi or similar:
\@listi ->\leftmargin \leftmargini \parsep 4\p@ \@plus 2\p@ \@minus \p@ \topsep
 8\p@ \@plus 2\p@ \@minus 4\p@ \itemsep 4\p@ \@plus 2\p@ \@minus \p@
 
3:21 PM
@JosephWright Thanks. Where did you get that from?
 
@AlanMunn \tracingall :-)
It's part of the expansion of \list, which is the generic list structure in LaTeX
 
@JosephWright Ok. Now I see it.
 
@AlanMunn They are in the .clo files: for book it's bk10.clo, bk11.clo or bk12.clo
 
@egreg Ah, forgot about them. Thanks.
 
3:58 PM
Do you also feel that SkyNet is already implemented from this video?
It feels like post apocalyptic deserted café TV next to a skeleton...
 
4:55 PM
@egreg I think your solution to the lists question is needlessly more complicated than mine.
 
@AlanMunn I realized it and asked Reza to remove the accept mark so I can delete it.
 
@egreg Which one: I can always zap it
 
3
Q: enumitem revert nolistsep

RezaWith enumitem package, I have used \setlist{nolistsep} for some part of the document. For another part of my document, I need to revert the separation in the list entries to its default. I wonder how this can be done.

 
@egreg Thanks. :)
 
5:11 PM
@AdorableCreature Wow, now I start to understand what someone meant when they were talking about "fanboys". Life seems to be much more colourful on other SE sites. TeX.SE suddenly seems dry and shallow in all its on-topicness. I should start reading other sites. If only I weren't so clueless in everything else :-(
 
@StephanLehmke We 'suffer' from the problem that answers are demonstrably valid, so there's much less room for opinion.
Despite having just said "I think your solution to the lists question is needlessly more complicated than mine." :)
 
People could argue against my duck-related answers. :)
 
@AlanMunn There would be plenty of room for opinion - KOMA vs Memoir, PSTricks vs. TikZ, whathaveyou. Also there are enough questions which are not of the type "why do I get this error message". There is barely any demonstrable evidence on questions of readability, layout design or typographic style, so this leaves more than enough room for faction conflicts. There must be another reason.
2
 
leo
5:27 PM
hi :-)
why all the people appear in pile?
 
I bet not a single person is gonna criticise that I started every single sentence with "There" ;-)
 
Hey this could be a nice TikZ exercise: metro.sp.gov.br/pdf/mapa-da-rede-metro.pdf
:P
 
@leo Huh?
 
@StephanLehmke We're just all too nice. But I think the relative proportion of verifiable answers does help.
@leo Do you mean the avatars of people in the room? I don't see that. (FF on a Mac).
 
leo
ha ha
 
5:31 PM
 
INTERNET EXPLORER?!?!?!?!!
 
leo
@PauloCereda sadly yes
ie8
 
@PauloCereda To boldly go where no browser has gone before.
 
leo
there is no ie10 for me today
 
@AlanMunn Look! The notification icon is square! Spooky, isn't it? :)
 
5:32 PM
@PauloCereda Made with Corel Draw :-( Take this: vrr.de/imperia/md/content/fahrten/stadtlinienplaene/…
 
leo
can't log in with Firefox and Chrome is pretty slow in this computer
 
@StephanLehmke OMG!
@Stephan: I had to study the subway lines and I thought it would be a nice use case for a TikZ package. :P
 
@PauloCereda There's also a lot of auto-generated stuff: efa.vrr.de/vrrstd/…
 
@StephanLehmke Wow!
 
leo
How do I know what version of LaTeX is running in my compter?
I'm under MikTeX
 
5:42 PM
@leo you can see the log file, execute pdflatex yourinputfilename.tex > log.txt
 
leo
thanks
 
@leo how about the good old --version flag? :)
pdflatex --version
 
Hi everyone!
 
leo
hi
 
What's up?
 
5:46 PM
@AndreyVihrov Hi Andrey, we haven't seen you here in a while.
 
@AlanMunn Hi, Alan
 
@AndreyVihrov Hi Andrey! Long time no see! :)
 
leo
now I know why I can't find Garbage Collector :-)
 
@PauloCereda Hello, Paulo
I see that @egreg is getting close to Jon Skeet
 
@AndreyVihrov He's 500K+ :)
 
5:50 PM
@egreg Surely this wouldn't be much of a challenge to you… ;-)
 
@egreg Hi! Please, how does \baselinestretch work? If I wanted a stretch of plus 0.1pt in [10pt] document, what do I have to say?
 
@AndreyVihrov However, if we look at rep/questions, JS is at 0.12, I am at 4.74. If we look at points per answer, he's at 21.67, I'm at 41.93. :)
2
@tohecz \baselinestretch doesn't act on the "plus" component; \AtBeginDocument{\baselineskip=1\baselineskip plus 0.1pt} will do, but not for different sizes (\small, \large and so on). One might do something about that.
 
@egreg isn't it because he has twice as many answers?
@egreg \g@addto@macro{\selectfont}{\baselineskip=1\baselineskip plus 0.02ex\relax} ?
 
@tohecz He has 6.8 times my answers.
 
@egreg and answers/day ?
 
6:05 PM
@tohecz It may work.
@tohecz Exercise for the interested reader. :)
 
@tohecz It works, @egreg, thanks for help!
 
@tohecz In general it's not a good idea to have stretchability in interline glue.
 
@egreg yeah I know, but in the 2-column format, with many floats and sectioning commands, I get lots of underful pages
 
@tohecz I'd much rather add stretchability before a sectioning command and around floats.
 
6:24 PM
@StephanLehmke there's a lot already. I believe that a (very small) bit of stretch will make the page look better. I add 0.02ex which is <1%
you allow more even in microtype (the basic setting is 30 which means 3% AFAIK)
 
6:45 PM
Ehm.. howerver, I'd like to apologize if I abuse of you patience each time I need help and want to thank you all for the great help that I received (and hope I will receive in the future) in this chatroom :)
 
7:36 PM
Do someone knows if there is a way to change the displayed font for \texttt{} command? I'm using the class suftesi, if this can help
 
!!/texdef -t latex \noun
 
@Werner Good luck
 
@JosephWright :) ... sorry, LoL.
I guess better would have been...
!!/answer "What is the meaning of \noun and how does it compare to the meaning of \life?
... @Psmith is counting computers again...
 
@Jake Sorry, for some reason parts of the code didn't show up in my browser, hence my confusion.
 
@Werner Sorry, my browser was closed. :)
 
7:50 PM
@PauloCereda Seems like I've been a burden recently. I thought @Psmith is synchronized with your whereabouts.
 
!!/texdef -t latex \noun
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\noun:
undefined
 
!!/answer "What is the meaning of \noun and how does it compare to the meaning of \life?
 
@Werner Psmith, the TeX bot: I'm sorry, no answers.
@Werner I'm logged in several computers at the same time. The one Psmith resides wasn't logged though. :)
 
@PauloCereda No comparison I guess.
 
@TorbjørnT. No worries
 
8:26 PM
@unNaturhal What font would you like to use?
 
 
1 hour later…
9:52 PM
0
Q: How to configure Texmaker to work on Mac with MacTeX?

0x90I installed Texmaker for mac and download MacTeX and installed this .zip: I couldn't find the files in /usr/ or /bin/. What are the preferences I should enter in these cells? Please give me the full paths

Anyone got any bright ideas? I'm suspicious of download MacTeX 2011 at only 255 Mb, as since we are now on 2012 that might fail to grab the necessary bits and pieces. Other than that, though, I'm not sure what to say.
@0x90 I suspect that your problem is that MacTeX 2011 has now been replaced by MacTeX 2012. The installer you've got expects to be able to grab the 'main' part of the TeX system over the internet, but that won't work once the version is stepped. So I would try downloading MacTeX 2012.
The MacTeX 2012 installer includes all of the material in one go, so it's a lot bigger (2.1 Gb!)
 
@egreg One that make more visible di difference with the other normal font.. maybe courier new
 
@JosephWright That's not likely the problem. MacTeX has never done an internet based download; it's always one big disk image. But the BasicTeX installation is quite small, so that could account for the small size. I wonder if it really installed.
 
@AlanMunn The link on tug.org/mactex/2011 is a file of 255 Mb, which is much too small to contain all of TeX Live
@AlanMunn I'm going to check what's actually in it!
I wonder if the website has got a messed-up link: checking the 2010 page points to the same file
 
@JosephWright Yes, you're right. The link seems very odd. AFAIK, only one years worth is maintained at a time, so you shouldn't even be able to download the 2011 image.
 
@AlanMunn You can from the 'historic' TUG page, certainly
Those files are much bigger
 
10:09 PM
@JosephWright So @0x90 should really just download and install MacTeX 2012 and be done with it.
 
@AlanMunn That will be my answer in a second: I just want to check what the downloaded file is
Ah: it's the DVD-companion binary, so does need a 'real' TL about
 
@unNaturhal \usepackage{tgcursor}. Or \usepackage{beramono}, there are many; most of them allow for choosing a scaling factor for the font, to adjust it to the main Roman font.
 
@egreg Ehm.. the problem is that I don't know what to do after I included packages..
 
@unNaturhal Well, nothing. Just use \texttt
 
@egreg Oh, nice! Thanks
 
10:13 PM
@unNaturhal and if you load lmodern, load it first, the monospace fonts afterwards
 
@tohecz Mmh.. I think that I will load the monospace font as latest package
 
@unNaturhal a good order is {lmodern}, {some_monospace_package}, [T1]{fontenc}, {microtype}
 
@tohecz I don't know what are you saying..
 
@unNaturhal Don't worry; tohecz doesn't believe that somebody may actually not be using lmodern. :)
 
@JosephWright @StefanKottwitz I’m just curious: Did you notice chat.stackexchange.com/transcript/message/7500341#7500341 (and my directly following message)?
 
10:17 PM
@egreg When I include {beramono} nothing change.. with tgcursor, instead, there are differences..
 
!!/help
 
Wait.
Done.
 
@unNaturhal Oh, yes! suftesi uses Bera Mono by default!
 
!!/texdef -t latex -p beramono \ttdefault
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\ttdefault:
\long macro:->fvm
 
10:19 PM
@egreg Oh, ok :p
 
@Speravir I saw it briefly: you suspect the PDF is a knock-off?
 
!!/texdef -t latex -c suftesi \ttdefault
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\ttdefault:
\long macro:->fvm
 
...?
 
@unNaturhal instead of loading a package try to say \renewcommand{\ttdefault}{lmtt}
 
10:20 PM
@tohecz What does this command mean?
 
@unNaturhal it changes the default family for monospace (=tt in TeX) to Latin Modern Monospace (=lmtt)
 
@tohecz And.. where I have to add this line? Preamble?
 
@unNaturhal I would say wherever in the preamble
 
@tohecz Ok I try :p
@tohecz It's quite identical to beramono..
 
@unNaturhal Identical or similar?
 
10:24 PM
@tohecz Wait
@tohecz Ok, similar.. Both are sans serif
 
@JosephWright Depending on what you mean with “knock-off”. In the sense of stolen or illegal providing of an older book edition (because we get it free of charge): yes. But perhaps in the pdf some clause is written or so, that it is now free, but my Russian is veeery rusty. Even worse for us would be, it stood in another place.
 
@unNaturhal that is possible
 
@unNaturhal Here's a comparison
 
@tohecz However, beramono is too much similar to the other main font.. lmtt is a bit more different.. and tgcursor seems too thin to be printed well..
 
 
10:29 PM
0
Q: How should a salary negotiation letter look like?

Sandra SchlichtingDoes anyone know if there exists a template for salary negotiation? Or perhaps how one should look like?

This seems oddly specific.
Give me more money, damn it! (But in Garamond to give it some subtlety.)
4
 
@egreg Oh.. cool.. I was wrong, lmtt is serif
There is a way to make lmtt a bit greater without increasing the text in other fonts? @egreg @tohecz
 
@unNaturhal good question, @egreg will know better I think
 
@unNaturhal Not with the default lmodern package. (You should say "larger", not "greater") or with the simple \renewcommand{\ttdefault}{lmtt}.
 
@egreg Oh :( this means that there isn't a practical way? (thanks for the correction:) )
 
@unNaturhal there is one, let me find it
 
10:37 PM
@unNaturhal There is, but it's a bit longer than a simple \renewcommand
 
@egreg And this will break up my whole work?
 
@unNaturhal Why should it?
 
@tohecz :D
@egreg I don't know.. I'm a novice xD
 
!!/texdef -t latex texttt
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\texttt:
macro:->\protect \texttt


\texttt :
\long macro:#1->\ifmmode \nfss@text {\ttfamily #1}\else \hmode@bgroup \text@command {#1}\ttfamily \check@icl #1\check@icr \expandafter \egroup \fi
 
10:39 PM
\renewcommand{\ttdefault}{lmtt}
\usepackage{relsize}
\makeatletter
\expandafter\g@addto@macro\csname ttfamily \endcsname{\larger}
\makeatother
@unNaturhal ^^ this
 
@tohecz Give me a second to try it :)
(I have to remove \renewcommand?)
 
@unNaturhal no, this goes after the renewcommand (I actually included it in this latest code)
 
@unNaturhal Here it is
\documentclass{suftesi}
\usepackage[T1]{fontenc}

\newcommand{\lmttscale}{s*[1.05]}
\DeclareFontFamily{T1}{lmtt}{\hyphenchar\font=-1 }
\DeclareFontShape{T1}{lmtt}{m}{n}
     {<-8.5> \lmttscale   ec-lmtt8  <8.5-9.5> \lmttscale ec-lmtt9
      <9.5-11> \lmttscale ec-lmtt10 <11-> \lmttscale ec-lmtt12
      }{}
\DeclareFontShape{T1}{lmtt}{m}{it}
     {<-> \lmttscale ec-lmtti10}{}
\DeclareFontShape{T1}{lmtt}{m}{sl}
     {<-> \lmttscale ec-lmtto10}{}
\DeclareFontShape{T1}{lmtt}{m}{sc}
     {<-> \lmttscale  ec-lmtcsc10}{}
@unNaturhal Change the 1.05 to some other value, but this seems to be right.
 
@egreg This is certainly better, @unNaturhal
 
Oh o.o Ok I try it (and try to understood it :P)
@egreg This is.. simply amazing! :D
 
10:51 PM
@unNaturhal Well, it's just the contents of the t1lmtt.fd file that LaTeX would normally read when finding \renewcommand{\ttdefault}{lmtt} (better, when some \texttt bit has to be typeset for the first time); I just added the scaling factor. Having that code in your file avoids LaTeX go and read the .fd file.
 
!!/texdef -t latex pagenumbering
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\pagenumbering:
macro:#1->\global \c@page \@ne \gdef \thepage {\csname @#1\endcsname \c@page }
 
@egreg Wonderful :) you are a genius :)
 
@tohecz It doesn't issue a page break command, if that is what you thought. :)
@unNaturhal Been there, done that. ;-) Not really a big deal (if you know about LaTeX font selection scheme).
 
@egreg I still think you are a genius, it's a problem for you? :p
 
10:55 PM
@unNaturhal Experienced user. ;-)
 
@egreg :)
Thank you :)
And thank you too @tohecz :)
 
@unNaturhal you're welcome :)
@egreg no, I need to store the old page number
let's hope it works correctly
 
Oh, since I have already disturbed you, could you tell me if there is a way to "centrate" a tikz image in a page? The class suftesi uses a slight column for the notes, and this put my image moved a bit in the page.. If you want I can add a screenshot to explain
 
@unNaturhal The problem is that the margin is different for odd and even pages, so you need to know where you are. There are some tricks for this also on the site.
 
@egreg Mmmh.. this is a screenshot of the page, if it can be useful puu.sh/1J8us
 
11:06 PM
@unNaturhal Too wide; reduce it a bit. If you don't have many large figures, you can manually hand tune their positioning, but only in the final revision of the document.
 
@egreg You mean that the image is too wide?
 
@unNaturhal Yes. But don't worry too much. Scaling it, say at 90% is not a big problem.
 
@egreg Is not a problem if it takes the entire page. And if I reduce it the text in the boxes will be difficult to read.. or not?
@egreg Is already at 75% (I think..)
 
@unNaturhal Oh, well, that may be possible. But can you fit an elephant is a Smart (the car)?
 
@egreg Of course not..
 
11:28 PM
Okay, it's time to go to sleep! Thanks at all for the help, we will see tomorrow :)
 
11:39 PM
@unNaturhal g'night
I go, too
 

« first day (795 days earlier)      last day (4139 days later) »