# All Questions

419 views

### Symbol request for a mysterious symbol

Is there a symbol that looks like the element sign $\in$ but instead of being curved, looks more like a less than sign $<$? I have trawled through hundreds of symbols and tried detexify.
475 views

### Reference table value in text

I want to be able to reference a table value in my text (this is because I often update my tables, and then list the specific values in the text). Here is an example table I would use: % Example ...
3k views

### newcommand for verbatim

297 views

### Align right in table if no expression

I am using pgfplotstabletypset to read in a table -- I want all cells in the first column with the expression Factor in them to be aligned to the left and bolded, and I want all cells without that ...
41 views

### Manually control the header in article [duplicate]

Possible Duplicate: title too long when using amsart Minimal working example (LaTeX): \documentclass{amsart} \begin{document} \author{AUTHOR} \title{REALLY LONG TITLE} \maketitle Body of ...
425 views

### How to say “this is a good place for a page break”?

How do I tell LaTeX, "if you need to put a page break, this is a good place to put it" ?
808 views

### \verbatim environment compatible with lingmacros \enumsentence

Using the verbatim environment inside an \enumsentence fails. Here is a MWE: \documentclass{article} \usepackage{lingmacros} \begin{document} \enumsentence{ \begin{verbatim} foo \end{verbatim} } \...
2k views

### How to avoid page breaks before enumerate/itemize by default?

Basically the same as this question, except I don't want to have to remember to write \mynobreakpar (or anything else) everywhere. How do I set this as the default option for all itemize/enumerate/...
3k views

### How to write Stirling numbers of the second kind?

What is the best way to write a Stirling number of the second kind? Isn't there any standard command in LaTeX? For example, a command \binom is for binomial coefficients. In the wikipedia article on ...
36k views

### How to remove the whitespace BEFORE itemize/enumerate?

I'm somewhat of a LaTeX noob, and this is driving me completely nuts. When I type \documentclass{article} \usepackage{enumitem} \begin{document} Some text \begin{itemize}[noitemsep] ...
37k views

### Fourier Transform (super-fancy) “f”?

What's a "fancy" f I can use to denote a Fourier transform? (I mean something fancier than what \mathcal{F} provides.)
645 views

### pgfgantt “title list options” incompatible with beamer

Creating a Gantt chart using the pgfgantt package, with days of the weeks as the titles, can be done using title list options as demonstrated in the package manual. But it doesn't seem to agree with ...
884 views

### Position margin notes relative to left margin in plain TeX

I want to add margin notes in the Tufte style to my Plain TeX document. (I'm using eplain, if that matters.) I know that if I were using LaTeX I could just use tufte-latex, but as a thorough ...
276 views

### Not include listing in list of listing

I would not add to list of listing some of my listings. For example I import my matlab file through \lstinputlisting. What command I should use to not add that code to list of listing?
2k views

### Represent an arc over letters

I want to have a flat arc over some letters. How is it possible? \documentclass{article} \usepackage{graphicx,amsmath} \newcommand\bigfrown[2][\textstyle]{\ensuremath{% \array[b]{c}\text{\scalebox{...
1k views

### In biblatex, make title sentence case but not journal name

To force reference titles to a sentence case I use the following line in my .bbx style file: \DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{titlecase}{\...
767 views

### What is the difference between \textcolor and \color?

I would like to define a new command to work as an alert command. If I want to alert some part of my text I would simply write \alert{}. But I want the result in red color. What is the best way to ...
6k views

### Use \overarc to represent an arc

I can not understand why the following tex file does not compile. \documentclass{elsarticle} \usepackage[hmargin=1in,vmargin=1in]{geometry} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...
434 views

### Proportional font, word-wrapping verbatim

How can I get a xelatex-compatible verbatim-like environment which uses a proportional font and applies word wrapping? I would like to able to put in something like this... Proposition 2.3.13. ...
270 views

### How to emulate \pdfstartlink and \pdfendlink with xetex?

In my ocgx package, I would use the new ocg-p package instead of the ocg package. With pdflatex or lualatex, all is good. But with xelatex, I obviously can't use \pdfstartlink and \pdfendlink (these ...
135 views

### Formatting bibliography: biblio entry followed by page number(s) where the entry is cited. How?

I'm trying to format a bibliography for a journal submission, and they have the requirement that each bibliography entry is followed by "the page numbers of your manuscript in which these references ...
1k views

### tikz declare function and babel french option

I would like to declare functions in tikz for multiple uses of the same function within the code. Sadly, it seems that the tikz "declare function" is not compatible with the french option in babel. ...
931 views

### \psmatrix baseline

I'm using lingmacros' \enumsentence with a \psmatrix inside. \enumsentence{ \psset{linewidth=.5pt} \begin{psmatrix}[rowsep=.2cm,nodesep=.05cm,colsep=.1cm] &\rnode{gm}{grammatical morphemes}\\ \...
1k views

### A new blank page is created bofore the plot when inserting a plot into a landscape page using pdflscape

I am inserting a picture into a file. To make the page landscape, I used the "pdflscape" package, but it creates a blank page before the plot. \documentclass{article} \usepackage{pdflscape} \begin{...
2k views

### How do I eliminate extra vertical space between the title and the first section heading?

When I use the amsart class with a lot of in-text figures, I find that the section headings do not stand out quite as much as I would like. Thus, I have taken to adding the following to my preamble, ...
1k views

### Title between lines

So I want to have one line above and one under the title of a chapter in scrreprt, like: _________________________________________________ 1. Introduction ...
215 views

### Base document page numbers with pdfpages and nup

It's possible to have pdfpages number the pages of the document it including using the following command: \includepdfset{pagecommand=\thispagestyle{plain}} (cf. Base document page numbers with ...
58 views

### How do I type 3 “times”5 (like 3 x 5) [duplicate]

Possible Duplicate: How to look up a symbol? I'm wondering how I can type "time". (I could omit it, but I want to emphasize that it is a product, so I want to type it out). Does anyone have a ...
279 views

### \numberwithin makes the first equation unnumbered

I might be doing something stupid, but the following code produces a document with the first equation unnumbered (only an empty set of parentheses is given). The second equation is correctly numbered ...
1k views

### Adding image next to text in table

I have a text in a 3 row table like as follows \begin{wrapfigure}{r}{3in} \centering \includegraphics{style3color.png} \end{wrapfigure} \begin{tabular*}{7in}{l@{\extracolsep{\fill}}r} a \\ b \\ c \\...
721 views

### error with hyperref and the krantz class [closed]

I'm using the krantz.cls to write a book, and I ran into an error with the hyperref package. Here is a minimal example (test.tex): \documentclass{krantz} \usepackage{hyperref} \begin{document} \...
236 views

### Using subequations without amsmath

Following on from my previous question regarding the use of align and aligned without 'amsmath', I am currently working on a proceedings paper, and have realised after finishing it that only specific ...
378 views

### Include BibTeX contents in a listings block

I am trying to include the literal contents of a BibTeX file in my LaTeX document using the listings package but am running into an issue. As BibTeX does not appear to be natively supported (though ...
420 views

### Reduce the size of horizontal line

I want to reduce the size of horizontal line. \begin{frame} \restylealgo{boxed} \begin{algorithm}[H] \Setline \nl i\; \end{algorithm} \end{frame}
827 views

### Revtex 4.1 using superscript and square bracket style of citation in the same article

I am preparing an manuscript for an AIP journal and using Revtex 4.1. By default AIP uses superscript citation style. However, sometimes I'd like to use square-bracket style in the text when ...
372 views

### How to change specific symbols in math mode

I use \usepackage[utopia]{mathdesign} for math numbers, symbols, etc. but I want to change the \sum symbol to default computer modern one. When I use \DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{...
421 views

### Path to image located in the cloud for different users or computers

I'm trying to point the location of an image in the cloud (Dropbox) using TeX on Mac OS. The problem is that I require full path name which contains the username (different for both machines). For ...
918 views

### TikZ Externalize: Referenced legends from PGFPlots are not included

The following MWE without TikZ externalization works. However, the legend at the bottom is lost with externalization. Since the \ref in this example does not refer to anything outside tikzpicture ...
975 views

### Using aligned and align without amsmath

I am currently working on a proceedings paper, and have realised after finishing it that only specific packages are permitted - one of which is not amsmath. As a result, many of the nice equations ...
432 views

### Write on a file and input it

I'm trying to redefine a \tableofcontents-like command. I proceed this way : the displayed elements are written to a file, and the file is input when I want the display. If I know the toc will be ...
62 views

### change page which is created for \part

Is there a way to change the style of the heading etc. for \part? I want to change the layout to leave out "Part 1." and instead just print out the part's name. Actually I could change the question ...
225 views

### Different numbering scheme per chapter [duplicate]

I would like to change the numbering scheme for my theorems per chapter. That's because I have smaller and bigger chapters. Bigger chapters need subsections for proper structuring, and so my theorems ...
190 views

### Break up \listoftables and \listoffigures by adding section names

Is it possible to use \listoftables and \listoffigures, but to have the lists divided by sections, similar to how the table of contents works?
717 views

### How to remove the blank page when omitting comments and messages in knitr

I am using the following code to create a plot, I want to omit message, comments and warnings and everything else but the plot. \documentclass{article} \usepackage{pdflscape} \pagestyle{empty} \...
9k views

### Figure goes automatically to next page [duplicate]

Possible Duplicate: How to influence the position of float environments like figure and table in LaTeX? I've created a PNG image with Microsoft Visio and I want to put it in a document I'm ...
914 views

### Need to remove comma after last author (only)

I'm trying to submit to a journal that has a non-standard bibliography format: citations look like this: Gordon, R. H., C.-E. Bai, and D. D. Li. 1999. "Efficiency Losses from Tax Distortions vs. ...
9k views

### Cite Author's Full Name

I'd like to generate a linked citation with a full author's name. For instance, if I use According to \citet{bob2000} apples are tasty. And run with hyperref, I get the author's last name and a ...
22k views

### Sorted list of publications in moderncv from bibtex

I am trying to create my CV in Latex, after I got fed up with MS Word. I decided to use this template, just because it looks nice. But now I am struggling to add the list of my publications (stored in ...