Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
15 views

Information about surrounding text [duplicate]

I'm trying to define a command which raises an issue about spaces. Basically, I want to have a single command for these two : \documentclass{article} \newcommand{\Cinf}{$C^\infty$ } \newcommand{\...
Loulou's user avatar
  • 159
3 votes
1 answer
508 views

ifthenelse adds undesired space

In the following fragment, my use of \ifthenelse in a \newcommand adds a space: \documentclass[letterpaper]{article} \usepackage{ifthen} \usepackage{graphicx} \newboolean{color-version} \setboolean{...
Peeter Joot's user avatar
  • 3,055
0 votes
1 answer
158 views

Remove space after \else inside command definition

I'm defining this command for my index: \newcommand*{command}{\iffirstsubsubitem\unskip\firstsubsubitemfalse\ \else; \fi} and I'm wondering if there is a way to eliminate the white space it prints ...
qwertxyz's user avatar
  • 542
0 votes
1 answer
224 views

Make a \newcommand argument optional without consequence

I have this code block in my .cls file - \newcommand{\ExperienceEntry}[5]{ \noindent\makebox[\width][l]{#1} \hfill \makebox[\width][l]{#2} \\ \noindent\makebox[\width][l]{#3} \hfill \\ ...
Pratyush Das's user avatar
1 vote
1 answer
1k views

Remove empty white line in between items (twentysecondcv)

I am still quite a novice at using LaTeX. I'm currently using this particular template to write my CV https://www.latextemplates.com/template/twenty-seconds-resumecv Sometimes I don't want to use ...
Deepgreen's user avatar