{latex3} is about the new material being developed by the LaTeX3 Project. This includes the expl3 programming language along with higher-level concepts such as xparse.

learn more… | top users | synonyms

3
votes
0answers
61 views

Immutable functions in latex3?

Imagine we have a nonempty sequence named \l_tmpa_seq. We want to assign a name \l_tmpb_seq a value which is the result of invoking a function like \int_eval:n {#1 + 1} on every member of the ...
3
votes
0answers
47 views

Experimenting with l3box and l3skip's dim variables

Note: The following MWE has no significance in use or further application of any kind rather than just for experimenting with the packages explicitly written on the question title. ...
3
votes
0answers
77 views

Difficulty saving formatting to a sequence to be called later in my code

I had an idea about how to answer this question and started putting some things together. I wanted to put something together that was fairly powerful and could handle simplification of linear ...
2
votes
0answers
58 views

Determine whether the macro/function is in subscript, in superscript, or neither

I would like to provide different formatting for an xparse command, depending on whether the command is expanded in superscript, in subscript, or neither. That is, I would like to know inside the ...
2
votes
0answers
52 views

How do I get the length of a type-set argument to a macro in latex3?

I would like to be able to decide how long a resulting character sequence is, in order to properly type set an expression. Consider an argument like \varepsilon or \mathscr{A} which both result in a ...
2
votes
0answers
118 views

Problem adding caption with siunitx

I am using latex/beamer(texlive) to compile a document and I am getting an error. Apparently it has something to do with siunitx package. Here is a minimum working example. ...
2
votes
0answers
123 views

Sorting a list of tokens (not necessarily numerals) in expl3/LaTeX3

I'd like to sort a list of words according to their lexicographical order using expl3 code. My words are in a seq variable that I access in a stack-like manner (this is not relevant, though). I've ...
1
vote
0answers
323 views

ubuntu installing l3kernel and l3packages

I apologize for this very basic question. I've downloaded the current versions of l3kernel.zip and l3packages.zip, but have no idea how to install them. As far as I can tell, there is no ...
1
vote
0answers
49 views

miktex 2.7 on win 7 problem: metafont modes not seen by initexmf, Yap

I am using MikTeX 2.7 + WinEdt 5.x on WinXP for many years without problems. But after I installed it on another machine running Win 7, MikTeX appears to work partially: it compiles all LaTeX ...
0
votes
0answers
16 views

Need a Macro for Tables - independent of row and column size

I have created the following macro for Table: \newcommand{\createtable}[7]{ \begin{table}[htbp] \begin{tabular}{|p{8cm}||p{8cm}|} \hline \begin{center}\textbf{\cellcolor{Orchid!25}{#1}}\end{center} ...
0
votes
0answers
19 views

Sweave's “fig=TRUE” cannot write file

I use Sweave to get my R data into LaTeX. While this works fine with "just data", I am not able to include plots. My .Rnw-file looks like this: \documentclass[a4paper,10pt]{article} ...
0
votes
0answers
62 views

How to convert Latex entities to hex value?

I'm in the process of converting latex to xml. So, I need to convert latex entities into hex value. I thought to convert from latex entities to html to hex entities or can it be done directly from ...
0
votes
0answers
28 views

Length of the inner-most plain-text argument (token sequence) in a nested macro expression (via expl3)

I would like to determine the length of the original token sequence passed to the inner-most macro as in \compl{\indexset{J}} where \NewDocumentCommand{\indexset}{m}{\mathsf{#1}} ...
0
votes
0answers
75 views

Question regarding the loading of fonts

A TeX file loads some fonts not found in the computer \setCJKmainfont[BoldFont=FZDaHei-B02S,ItalicFont=Adobe Kaiti Std]{FZZhongDengXian-Z07S}% \setCJKsansfont{Adobe Heiti Std} \setCJKmonofont{Adobe ...
0
votes
0answers
41 views

How can I tl_put_right a genuine }

LaTeX3. How can I tl_put_right a genuine } into a token list? All my attempts to expand \c_group_end_token were not successful.
0
votes
0answers
106 views

Jaxodraw preview does not work, but .tex export does

I am running Jaxodraw 2.1-0 on Xubuntu 14.04, and my preview button doesn't work. I get the "axodraw4j.sty not found" error message, although that file is in the jaxodraw directory. Further, if I ...
0
votes
0answers
137 views

Endfloat and appendix: two sets of floats

I am using the endfloat package and I'd like to print two sets of floats. The first set right after the bibliography where each figure and table is labeled Figure 1, Figure 2, Table 1, Table 2, etc ...