Questions tagged [keycommand]

A LaTeX package to help defining environments with optional key=value arguments

Filter by
Sorted by
Tagged with
3 votes
1 answer
109 views

Issue with new command in center environment using direct lua

\documentclass{article} \usepackage{luacode,xkeyval} \makeatletter \define@key{someop}{a}{\def\mop@one{#1}}% \setkeys{someop}{a=0}% \newcommand{\luaTest}[2][]{{% \setkeys{someop}{#1}% \directlua{% ...
user61681's user avatar
  • 1,749
0 votes
0 answers
42 views

What is the used and package of next command line \addtocontents{toc}{\vspace{2em}}?

Supposed me that line command is to Add a gap in the Contents, for aesthetics but also am search the line command that realize the blank page in my document so think that these the line command that ...
Rotat's user avatar
  • 1
3 votes
1 answer
79 views

Latex3: handling of sub-functions with shared name sub-parameters

I am using latex3 to write a set of macros. I have defined the nomeclature class, and a nominal case which comprehends all the possible combinations to be used in the test cases_i ( i = 1:N ). Now I ...
wdsgn's user avatar
  • 311
1 vote
1 answer
321 views

How to create a command to write partial derivatives

Now I am writing a theorem in my partial differential equation course and it involves so many partial derivatives like $\frac{\partial f}{\partial u}, \frac{\partial u}{\partial x},\frac{\partial v}{\...
Shreya Chauhan's user avatar
3 votes
3 answers
195 views

Improve a keycommand macro

My question is about how to improve an already working macro via the keycommand package. The small inclusion shows my efforts so far: \documentclass{article} \usepackage[margin=0.95in]{geometry} \...
hsmyers's user avatar
  • 1,509
2 votes
1 answer
1k views

Periodic Table command with key value

I want to make a \TabPeriodique command with some optional arguments to insert a periodic table. I found the code for a periodic table from here. First, sometimes i need a periodic table without the ...
Piroooh's user avatar
  • 1,197
0 votes
0 answers
53 views

Change button meaning in texmaker

I am using texmaker on a macbook. It would be very convenient for me if the '$' sign had a single press button. Is there a way to set texmaker to output '$' if I press '§'? I cannot not go further ...
Nadori's user avatar
  • 1,865
0 votes
0 answers
37 views

Latex Command for Greatest Integer Function [duplicate]

I tried browsing and cant fnd the command for the double bracket symbol found below:
jun's user avatar
  • 149
0 votes
0 answers
82 views

Thesis turned NULL! [duplicate]

I was working on TexStudio and accidentally pulled out the plug, the PC turned off immediately (no battery). It happens regularly. However, this time when I restarted it and tried to open the .tex ...
user190913's user avatar
4 votes
2 answers
104 views

How to extend the elements package to print melting and boiling points?

To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements. Using the same logic used in elements package, I thought about creating ...
grsousajunior's user avatar
1 vote
1 answer
1k views

A way to use textbf and textit at the same time with one command

Hello I have to make a document where I use a lot \textbf and \textit at the same time, so I tried to create a new command where it use both at the same time, but it gave me an error and I don't know ...
TeemoJg's user avatar
  • 883
0 votes
1 answer
211 views

Which shortcut compiles user commands (different types of compyling) in texstudio

I want to run txs:///latex | txs:///bibtex | txs:///latex | txs:///latex | txs:///dvipdf | txs:///dvips | txs:///view txs:///pdflatex | txs:///bibtex | txs:///pdflatex | txs:///view txs:///dvi-ps-...
JoKalliauer's user avatar
1 vote
1 answer
176 views

Two \IfEq in \newkeycommand causes failure

Consider this .tex file \documentclass[10pt]{article} \usepackage{MWE} \MWESettings[X=8]{article} \begin{document} The answer is \name \end{document} Where MWE.sty is \NeedsTeXFormat{LaTeX2e} \...
Don Kreher's user avatar