@percusse Have heard of arrayjobx but have not used it -- there are also some listadd macros in etoolbox. But I tend to use \foreach as I don't know if I could do a Hello World document without tikz anymore. :-)
@egreg Wish I could read it. :-) So, are the spaces in g_grill_list_ #1 _clist just for readability? I find it strange. Of course I found it strange having spaces in key words with \tikz, but eventually got used to it and now I like it...
@YiannisLazarides I've thought about a tex syntax that is explicitly directly mapped to mathml/html rather than the usual one, so in the case of tables commands like \td{...} \td[colspan=3, rowspan=2, class=wibble]{....} that way you can include arbitrary html features, canvas forms whatever without necessarily having to invent new tex syntax for each. Obviously in some cases you'd want to use the macro layer to hide some of this and get back to a more traditional tex syntax
@PeterGrill It's not difficult: \clist_gclear_new:N globally clears a clist, defining it if istill undefined. The :c version just uses a name in braces instead of a control sequence. Similarly \clist_gput_right:Nn globally adds to a clist variable (and the :cn variant uses a name). Then \clist_map_inline:Nn cycles over the elements. Actually sequences would be better, for this kind of application.
@DavidCarlisle Aha! This sounds much better than my ideas. The optional part of the \td[] is the answer and a good marriage between the two. For simpler tables an extended markdown is ok.
I know that Miktex has an option -max-print-line=n to change the width of the output. I wondered if something like that existed for pdftex from TexLive ?
It is very annoying to have a tool using only half the width of the screen...
Thanks
@DavidCarlisle There are also variants. As I am filtering both ways one could also simplify \td[1,2][class]. Maybe you want to make your comment an answer?
why doesn't this produce a 5 inch wide by 2 inch tall box ?
\documentclass [a4paper] {article}
\begin{document}
\fbox{
\begin{minipage} [c] [2in] [c] {5in}
\begin{center}
This is some text in the middle of a 5 inch wide by 2 inch
tall minipage. Is it exactly that tall and wide?
\end{center}
\end{minipage}}
\end{document}
Hi I have a two columns table with ACM SIG Proceedings template http://www.acm.org/sigs/publications/proceedings-templates
Here is my code for six authors, my problem is I have a 7-th author, I am not sure how to add it nicely, is it possible to squeeze the second rows(maybe smaller font size) t...
@PauloCereda Our computer center had to set up email addresses for the students; the domain name proposed was stud.univr.it; I warmly suggested not using that abbreviation of "studenti".
I have a question on using neocomplcache for LaTeX code completion in Vim. It seems to be working for HTML / PHP etc, however, the pop-up omnicomplete box does not show up when editing LaTeX files.
How should I proceed? By the way, I am attempting to mimic the code complete behavior in IDEs, s...
It's not really an answer, but my thoughts are too long for a comment. :)
First of all, I'd like to thank you for all the effort you've put into moderncv and the time spent in helping people here. :)
I really share your worries on some MWE lacking the minimal component. Indeed we have quite a b...
@Shokodemon It is MathJax but we don't use it here that's why I queried it. The tex.sx site doesn't choose to enable the mathjax formatting. (There are some discussion on meta for the reasons)
@DavidCarlisle oh yeah that i know that the chat site does not use mathJax, certainly. i was writing a proof on the mainsite and wondered how to go about it! i will checkout the mailing list though too !
oh dear - i have to check my facts. it's easy to assume things.
oh wait a minute - yes i meant that. by main site i meant math.stackexchange since i came here by clicking the chat button over there. i didn't know it's not implemented everywhere though!
@Shokodemon that's Ok no harm done:-) It would be confusing to use it here as people here don't just want to display some mathematics they often need to ask about the darker corners of TeX's typesetting behaviour. MathJax doesn't use TeX at all so it typically does something different in dark corners
@Shokodemon yes it takes a subset of the math part of latex syntax (it doesn't implement document level commands like \chapter or \section at all) and loads a javascript library to convert that to MathML and then to render the MathML native in the browser or by converting it to html+css or svg, so it implements an extended subset of a latex-like language but it isn't actually latex (or tex)
Thanks @DavidCarlisle, alas, I am using the verbatim package, which is not covered by that answer and am not using emacs, so the script doesn't seem to be of direct benefit. — Richard28 mins ago
@kan chrome beta is OK chrome stable still hasn't got math support so doesn't count. I use firefox nightly as my default browser asctually. But today's new browser is IE 9 update version 9.0.11 yipee!! aren't I lucky.
@kan Take a good look at emacs' customization interface. Does it look like a tool which is meant to make it easy for you to adapt emacs to your tastes? No! It's just a thin shell beneath which lieth despair! HC SVNT DRACONES
@percusse I used to spend hours customising emacs (before it had a customisation layer) and my .emacs was so big I used to byte compile it, but at some point (I think it was when I switched to windows and started to be corrupted in the ways of the dark side) I just stopped and now go with the flow. I used to compile Tex from source as well but I haven't done that for ages either:-)
I know this isn't strictly speaking a LaTeX question, so please move this somewhere else if you feel like it.
I find large tables of numeric values a bit hard to comprehend at a glance ... or even many. One strategy to alleviate this is to set the hue of the background color according to the val...
I use Vim 7.3 and LaTeX-Suite 1.8.23.
But every time when I use the function in LaTeX-Suite , such as $e^^ and amsmath<F5>, the whole source code will be highlighted. How to fix it up?
Great news! A student of mine brought here his sister for some consulting about her thesis in LaTeX. The problems were solved and I earned a bottle of Valpolicella. :)
@GonzaloMedina mostly it's used so I can get a google id with an approximation to my real name rather than a random string of digits at the end. I believe my passport says it stands for Paul but it doesn't get used much:-)
@PauloCereda everyone knows that: Pedro de Alcântara Francisco António João Carlos Xavier de Paula Miguel Rafael Joaquim José Gonzaga Pascoal Cipriano Serafim
@PauloCereda Ah, I got confused; I thought you had a first name, a middle name, yet another name and then the last (family) names; that's not so uncommon amongst Spanish descendants.
@egreg We use first the father's last name and then the mother's last name; in some countries (Argentina, I believe) the parents can decide the order; in Colombia there's a proposal so that the order can be optional too.
@DavidCarlisle Indeed. :) A friend of mine got excommunicated from a course because he CTRL+C/CTRL+V a text from a(n European) Portuguese source. One of the members of the committee found the word "Ficheiro" which we never use it here (we use "Arquivo" - means "File").
:6971490 yes win7 64 bash: type: edit: not found or if I find the windows cmd prompt (once in a lifetime:-) then 'edit' is not recognized as an internal or external command,
operable program or batch file.
We tried to have {$1 $2} in the fieldvalue, but we could not achieve that.
What I did was to replicate the step and then append $2 later to that field.
@MarcoDaniel It's a Perl replacement, I guess. It should work. :)
Let me give some background. With ABNT, when an entry has no author, part of the title becomes "the reference". For example, The book of the thousand nights and a night would become The book (according to the regex, $1 $2).
@PauloCereda You are right. I found the correct hint in the documentation:
•If match is defined but replace is not, only apply the step if the fieldsource ⟨entryfield⟩ matches the match regular expression29. You may use capture paren- thesis as usual and refer to these ($1. . . $9) in later fieldvalue specifications. This allows you to pull out parts of some fields and put these parts in other fields.
@MarcoDaniel I did. Parenthesis are used in the match=\regex to set which parts I want, then if I refer either $1 or $2 in the fieldvalue, it works, but not both.
I want to evaluate expressions to populate different entries in a table. Sagetex is the most powerful way I have come across. But I guess I need to install Sage on my computer along with the Sagetex package. Therefore I was looking for alternatives. Any ideas?
The first math paper I've written in latex this century, pretty impressive co-authors too : UNIQUENESS IN FORMAL LOGIC DAVID CARLISLE, R. MÖBIUS AND O. PEANO
@PauloCereda If you know a solution please tell me ;-) -- Maybe you can ask a question. I think it's an interesting question which can be important for other users
@PauloCereda Hey I have an Erdos number of 4 which isn't bad:-)
7
MR Erdos Number = 4 David P. Carlisle coauthored with Nicholas J. Kuhn MR0992772 (90c:55018) Nicholas J. Kuhn coauthored with Frederick R. Cohen MR0683727 (84m:55009) Frederick R. Cohen coauthored with John L. Selfridge MR0376583 (51 #12758) John L. Selfridge coauthored with Paul Erdős1 MR0229570 (37 #5144)
Friends, I'm stuck with a doubt about how to concatenate values from regex parenthesis into the fieldvalue mapping option. Let's see a quick working example:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{fruits,
title = {The apple and the banana},...
@PauloCereda grmble now it says I need to do $ tlmgr update biber
@PauloCereda I should have stuck to bibtex
data source /tmp/par-davidc/cache-8eaa473e710cf88586c3ecec6aadfd9638ffc6da//inc/lib/Biber/LaTeX/recode_data.xml not found in . Compilation failed in require at Biber/Utils.pm line 20.
@hhh Its much easier to answer these if you show the code in an example in a question on site but most likely you have \begin{array}{ccc?cc} with some character like ? that is not a defined column type
so if I delete the cache file just how long should I leave biber before kill -9
@PauloCere biber stull hasn't finished but if I change the $2 to $1~$2 then the .bcf file ends up with map_field_value="$1\nobreakspace {}$2"/> which might not have the desired meaning if used directly in perl, what happens if you just use $1 $2 ?
How does one gets a layout similar to the LaTeX3 newsletter? Specifically, the text is left justified only and I cannot figure out how. I have tried raggedright/raggedleft commands without success.
@JosephWright When I talk to my classes about the infinity of prime numbers, I ask them if the think the result is more or less than 100 years old; then I increase to 200, then 400, then 1000. Eventually many are surprised to discover it's about 2300 years old.
@JosephWright Another surprising fact is that here nobody is taught Euclid's algorithm for the gcd, in middle schools, but rather they do the computation by factorization. I guess that something that's been known by mankind for 23 centuries should be not so hard to grasp even for kids.
@JosephWright If I want to serialise some LaTeX3 stuff to the aux file, presumably I need to put in \ExplSyntaxOn and \ExplSyntaxOff either side of it, right?
@JosephWright Oh. I want to provide a way for someone to save a Hobby path definition to avoid having to regenerate it every run. I've serialised it to a token list so I can save it and reread it within a single run, but I'd like to be able to save it between runs. Should I rename everything with "normal" names, save that, and then on rereading convert back to L3 names?
@AndrewStacey As I said, you either need \ExplSyntax guards or can use a separate file plus \ProvidesExplFile (read with \@onefilewithoptions). Speaking of which, I'm about to fix an issue with the latter approach in the CTAN release!