Linked Questions

16
votes
3answers
104k views

How to bold just one word in a line

If I have a line of text, how do I make just the first word bold? I tried this: \bf{NTn} = Number of lines but it made the entire line bold.
14
votes
4answers
1k views

Can I get $$…$$ to behave like \[…\]?

Is it possible to modify LaTeX so that good old $$...$$ behaves like \[...\] (and by this I mean that it should be synonymous to it). If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...
16
votes
2answers
2k views

Why are these commands considered as bad practice?

I was reading LaTeX: Do not use these commands, but the author didn't explain why they are bad. Could anyone help me understand. \\ (except inside a special environment like tabular, array, or ...
19
votes
2answers
1k views

Is there any reason not to use \let to redefine a deprecated control sequence to the currently recommended one?

I understand that \bf and \it are both deprecated in the current version of LaTeX. To the best of my knowledge, the correct control sequences replacing them are \bfseries and \itshape. Is there any ...
15
votes
2answers
37k views

customizing the algorithmic package: break and loop labels

I would like to add two customizations to the algorithmic package: introduce a new break command and have the possibility to provide labels to the LOOP so that break {label} is clear to which loop is ...
11
votes
3answers
11k views

Memoir class and Bibtex

I have biblio.bib: @article{XX, title={{Title}}, author={Author}, journal={Journal Title}, volume=1, number=11, pages={1-2}, year=1666 } And myfile.tex \documentclass[oneside]{memoir} \...
10
votes
4answers
28k views

Space between lines

I try to typeset title pages and use LARGE and bold for this. The problem is that the lines seem to be too close to each other. I think it looks bad. Is this the way it is supposed to be? Is there a ...
7
votes
1answer
29k views

Merge columns in LaTeX

I would like to merge column in LaTeX. I can make that but this line is incomplete because it still open on the left. Perhaps you will not understand what I mean, but this is the code that I wrote \...
13
votes
1answer
14k views

Synonyms for \bfseries and \itshape and such?

Seeing as it is quite confusing for non-TeX expert to know how to specify italic or bold font, and the names such as \bfseries are not straightforward... Is there a package that defines synonyms like ...
4
votes
1answer
9k views

! Paragraph ended before \@optionaltemp was complete

I'm desperate, can't figure out what's going on... So here's my code for a gloosed example: \a \begingl \gla nie ale jeśli ją \underline{pan} \underline{zobaczy} \underline{będzie} \underline{pan} \...
6
votes
2answers
2k views

Why is the \bf command applied to more than I asked?

MWE: \documentclass{article} \usepackage{bm} \begin{document} $$x(t), \bf{x}(t), \bf{x(t)}$$ \end{document} Result: Question: Why are the second and third x(t) typeset the same? In the second ...
9
votes
2answers
2k views

Remove spaces after a custom definition

As scientific species names should be written in italic, I have adopted a shortcut to do this in LaTex by creating a definition in the preamble: \def\GM{{\it Gadus morhua~}} Then it's easy to call ...
8
votes
1answer
8k views

How can I get TeXstudio's syntax highlighting to recognize an unknown command?

TeXstudio does not recognize the LaTeX command \rm (red highlighting in the document, with the message: unrecognized command), even after I activate all possible completion files (.cwl). In such a ...
3
votes
2answers
11k views

How to write maths symbols

I have written in my work $X^{+},\,\rm{e}^{X},\,|X|^{p}$. Why is the second and third term not in italics?
9
votes
1answer
11k views

define an global variable; error ! Use of \@ doesn't match its definition

I want to define some variable for my IPE template, such as the title, affiliation and author etc. The code is listed below. However when I compile it using pdflatex, it does not show the result what ...

15 30 50 per page