1
vote
1answer
138 views

Forbid word breaking (ConTeXt)

In the following example \definefont[Shehkl][name:Scheherazade*arabic at 15pt] % or file:amiri-regular.ttf*... file:alq.ttf \definestartstop[Arab][commands=\setups{Arabic}] \def\Arab{\doArab} \def\...
5
votes
1answer
131 views

Should I include page numbers with landscape?

In my paper I have two separate longtables that each go across 3 pages in landscape mode. Which is typographically better (i) include page numbers in the bottom center of these tables (ii) have no ...
4
votes
1answer
4k views

LaTeX code for “white square brackets” 〚 and 〛 [duplicate]

Possible Duplicate: How to look up a symbol? How does one make the symbol for a blackboard bold kind square brackets ,something like [[.The symbol being talked about is used for containing ...
7
votes
1answer
1k views

\thispagestyle{empty} with longtable

I have a longtable and landscape table that spans 3 pages. I don't want a page number to be displayed on any of these 3 pages. However, setting \thispagestyle{empty} just preceding the commencement of ...
13
votes
1answer
375 views

What's the right space to right the alignment of a right aligned align environment?

As Hilbert would have put it, had he lived in the TeX-era: No one shall expel us from the Paradise that AMS has created. and one aspect of that paradise is release from the tyranny of eqnarray ...
3
votes
1answer
144 views

Prevent page break within footnote in ConTeXt

I have the following example of footenotes: \definepapersize[MyBook][A5] \setuppapersize[MyBook][A5] \usetypescript[times] \setupbodyfont[times,11pt] \setupbodyfontenvironment [default][em=italic] ...
2
votes
0answers
40 views

Auto-breaking of Equation [duplicate]

Possible Duplicate: How can I split an equation over two lines I want to make my own class file having a two columns. I just want to ask if there's a possibility where we can automatically ...
8
votes
1answer
2k views

Add a dot in “MA Thesis” in biblatex’s @masterthesis entry

in output I see "MA Thesis" however I want to have "MA. Thesis". How one can put a dot after "MA"? I am using numeric style. I looked though the file biblatex.def and I can see some \map sententences ...
4
votes
2answers
380 views

combine \oldstylenums and \textsc

I would like to have a command that combines \oldstylenums for numbers in the argument and \textsc for text in the argument. I believe that a solution using some for loop is possible, but I think ...
8
votes
1answer
3k views

Change font size of \texttt globally?

I'm using TeX Gyre Pagella as the main font of a document which is typeset using a font size of 10pt. For the technical terms, I want to replace the default Computer Modern Typewriter with Bera Mono --...
11
votes
3answers
15k views

the memory dump file could not be found

I'm using MiKTex on Windows 8. Using the simplest tex file would bring about the error. pdflatex.exe: the memory dump file could not be found. \documentclass{article} \begin{document} ...
2
votes
2answers
783 views

italic correction in math mode

I use txfonts and \texttt in italics in math mode, but the letters' italic correction is not working: an italic/"TT" letter "d" adjacent to a closing parenthesis touches it. Here is minimal sample ...
0
votes
1answer
113 views

Order of Figure in a Review Copy article

Order of figures (floats) is a common issue with LaTeX. I'm using a LaTeX template from a journal editor in my article I will submit for peer-review. I cannot thus use any of my own packages or ...
16
votes
2answers
9k views

A medium dot in math mode

Is there a nice way to produce a medium-sized dot to use in a formula like this: $x_{i\cdot} = \sum_{j} x_{ij}$ The \cdot is not very visible.
18
votes
1answer
723 views

How do I make a macro require math mode?

I have defined a macro that I would like to be used exclusively in math mode. In order to enforce this, I would like the macro to throw an error message whenever it is used outside of math mode. What ...
7
votes
1answer
1k views

Renumbering the \part in Exam class

I just want one section to be renumbered, not all the \parts numbering. I have found this in the manual: \renewcommand{\thepartno}{\Roman{partno}} But that is making all the numbering for \part ...
4
votes
1answer
3k views

Umlauts in a JabRef managed BibTeX file and file encoding

When I have Umlauts in my BibTex file then I learned that it should be inserted as H{\"o}ckel The problem with this approach is, that inside the JabRef preview or when I export the database to e.g. ...
4
votes
1answer
781 views

How to list supplementary figures in the list of figures?

I created several supplementary figures in my thesis using the newfloat package as below: \usepackage{newfloat} \DeclareFloatingEnvironment[name={Supplementary Figure}]{suppfigure} When I create ...
6
votes
1answer
2k views

Where to save lco templates for scrlttr2 letters?

In the german Koma Script Book I read about the elegant way to predefine the personal address in a .lco file like this ~/texmf/tex/latex/jd_private_v001.lco # <- added answer here for other ...
2
votes
1answer
321 views

Sweave: How to remove horizontal space in Soutput environments?

As the following example shows, there is a horizontal space added in the Soutput environment. This leads to a non-left-aligned output (see the output of rnorm(). I found that this space already exists ...
6
votes
2answers
4k views

Deleting blank page after title page

Using amsbook, I get a blank white page after the title page and before the TOC. Any way to delete this page? Many thanks. Here is a MWE, for what it's worth: \documentclass[openany]{amsbook} \...
6
votes
2answers
2k views

Have XeLaTeX use the default Times font in Ubuntu

Using the Texlive PPA backport to Ubuntu 12.04, I am having trouble getting XeLaTeX to use a standard times font (i.e. one that would not be embedded). I am using e.g. \setmainfont{times} and \...
3
votes
0answers
603 views

Beamerposter example does not work [closed]

I want to create a poster using beamerposter. I am trying to compile this example from the package documentation. Without touching anything, when I compile the example-style-I6dv.tex, I obtain 75 ...
8
votes
1answer
228 views

Avoid infinite compiler passes with biblatex ibid citation styles?

I've run into a problem when using both gb4e and the authoryear-icomp style of biblatex. [I mistakenly thought gb4e had something to do with this, so this question was originally named Avoid clash of ...
10
votes
2answers
174 views

Strange spacing when putting a math macro before a binary operation

I found there to be very odd spacing when using a math macro just before a binary operation. Here is a minimal example: \documentclass[11pt]{article} \usepackage{amsmath} \DeclareMathOperator{\id}{id}...
9
votes
3answers
5k views

pgfplots with symbolic x coords and error bars

I am trying to plot explicit error bars like this: \begin{tikzpicture} \begin{axis} [symbolic x coords={Lighting,Computers,Total}] \addplot+[only marks] plot[error bars/.cd, y dir=both, y explicit] ...
7
votes
2answers
738 views

Not having “Chapter” appear in chapter names

If, in amsbook, I write something like \chapter{My great chapter} it appears in the text as Chapter 1. My great chapter I would like to make it appear simply as 1. My great chapter Anyone have ...
9
votes
1answer
5k views

set minor grid values in pgfplots

I have a weibull plot (at least I try to create a decent one), based on the code shown here. However I do want to have a minor grid as it typically appears in log plots. Here however the y axis tics ...
8
votes
1answer
124 views

hyperref generated bookmarks pointing too low

I'm using the hyperref package to create a Table of Contents with internal links (bookmarks in Acrobat Reader). However, I don't like the fact that it jumps a little too low when the links are clicked....
5
votes
1answer
296 views

pass xkeyval option to class

I have read about passing options to classes in this thread, but do not understand what I'm doing wrong. My class is defined like so, using xkeyval and based on memoir. \NeedsTeXFormat{LaTeX2e} \...
15
votes
1answer
2k views

What's the difference between \paragraph and \paragraph*?

Is there any difference between \paragraph{} and \paragraph*{}? When it's used (if nothing has been modified before, i.e. like in this post: Paragraph header), there's no difference in the created ...
5
votes
1answer
2k views

multirow and text wrapping

I have a problem using multirow along with text wrapping when spanning cell contains a lot of text. Here is my code: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{...
5
votes
1answer
254 views

Emacs+AUCTeX lost highlighting

Adding additional highlighted keywords in Emacs+AUCTeX messes up conventional highlighting. My code: (defvar my-new-face (make-face 'my-new-face)) (defvar my-another-new-face (make-face 'my-another-...
7
votes
1answer
237 views

Random coefficients in the polynom package?

I am using the probsoln package to generate random math quizzes. For polynomial division, I can generate random integer coefficients, but I had planned on using the polynom package to auto-generate ...
11
votes
2answers
1k views

How to highlight all words of the form [0-9][A-Za-z0-9]* immediately following an equal sign?

I am using the Latex Listings package to include code in a document. I need to implemented syntax highlighting similar to what you see in a standard IDE. I've been able to assign colors to comments, ...
7
votes
2answers
821 views

Unicode characters changing order in listings (XeTeX)

I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of służąca ...
19
votes
1answer
4k views

How are amounts of money to be typeset?

Writing a letter to Americans, I have wondered how to properly typeset amounts of money. As far as I know, the $-sign is supposed to precede the number, but I am clueless of the rest. Here are some ...
10
votes
2answers
589 views

The different meanings of LaTeX's \stop command

we know that \stop will cause LaTeX to stop parsing and output what it has processed up to this command. But then I discovered another way to use it, as demonstrated in this minimum working ...
5
votes
1answer
2k views

Extend page “width” or “margin” for todonotes comments or other package comments to sit in

Basically, I would like to know how to achieve margin/width extension, similar to what Word/OpenOffice does when users insert comments. I am using the todonotes package and am collaborating on a ...
7
votes
1answer
199 views

Automatically convert \left to \Bigl

I have a LaTeX file, which includes tons of other auto-generated LaTeX files containing TikZ figures. Suppose I want to make every \left( in the TikZ figure appear at the same, fixed size, say \Bigl(. ...
2
votes
1answer
165 views

How to inline tikzexternal.sty

I am preparing a document, which uses pgfplots, for submission. I externalized figures etc. successfully. Though, now I'm facing a serious problem: On the target system the tikzexternal.sty file may ...
8
votes
2answers
300 views

How do I suppress the whitespace above an equation block at the page top?

How do I suppress the whitespace above the equation block at the page top ? It is added to the top margin, and I don't want that to happen. I know that \abovedisplayshortskip controls this for the ...
11
votes
3answers
1k views

Punctuation in bibliography with multiple languages

In a document written in a given language (in my case French but it may not matter so much) I have a bibliography mixing entries in different languages (in this case French, English and German). I ...
1
vote
0answers
83 views

Manipulating Bibtex reference fields [closed]

I need to use a specific format for my reference lists for my publications, however, I don't really understand how I can manipulated BibTeX to do what I want. I am trying to get the following format: ...
6
votes
3answers
926 views

Adding a Known Trend Line to a tikz plot rather than connecting the points

The graph below is currently plots a point at each value of x that is an integer between -10 and 10 and connects them. What I'd like to do instead is more like this: First, I'd like to add a red, ...
5
votes
3answers
755 views

How can I highlight text before a character with listing?

All is in the title. I would like to add a color to the text before a character with listing package. For example, I would like to add a color to text between the beginning of a line and : or =, in a ...
5
votes
1answer
708 views

How do I remove tick labels in latex using pstricks?

On my old Mac running OS 10.4.11, using TeXShop 2.26 I would use the pstricks package to draw figures. In those figures I had neither tick marks nor tick labels. I have recently switched to a new ...
5
votes
0answers
143 views

How to draw a split arrow [duplicate]

Possible Duplicate: How to draw a Sankey Diagram using TikZ I want to have an arrow which splits up and one end is pointing then downwards. When you compile the code below you should see my ...
2
votes
1answer
317 views

adding vertical space conflicts with inputenc using utf8x only

For context, this question was raised by the answer to a previous question. I'm trying to design a title page for a beamer presentation, although this could be a more general issue. I use the ...
7
votes
4answers
567 views

cleveref: configure symbol §/§§ for all sectioning types once time

I want to configure the section symbol § (singular and plural form §§) indistinctly for all types of sections (part, chapter, section, subsection, paragraph and so on). I use the cleveref package, but ...

15 30 50 per page