# All Questions

4 views

### How to add some spaces before z = 0;?

I'm trying to do a quick example with Pascal codes. \setlength{\parindent}{0em} \begin{document} program first; \\ const\\ z = 0; \\ var\\ n,m: integer;\\ p,q: real\\ begin \\ end. \end{document} ...
3 views

### Hyperref adds horizontal space to custom equation reference

When hyperref package is used, Equation (Section#-Equation#) becomes Equation ( Section#-Equation#) I am having difficulty narrowing down how hyperlink adds the space. MWE ...
8 views

### Mac Tex can't find a package even though textlive says it is installed

I installed mac tex on yosemite via homebrew. I want to use this package. If I search for it in texlive it says that it is installed. However, if I try to compile the example file by pressing the ...
4 views

### Increase tabular first and last padding

I use the tabu package to typeset my table. My overall goal is to have the same inner padding between the table border and the text and between the text cells. By default, LaTeX puts a \tabcolsep ...
5 views

### Overriding line spacing from Lyx?

A reviewer asked for double spacing. How can I temporarily override the line spacing of the "Standard" style, from Lyx and for the whole document?
22 views

### How can I sort out this problem in the column 3?. The words are shifted to the top. My codes are attached

\documentclass{article} \usepackage{array} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{document} \begin{table}[h] \centering \caption{The results.} ...
8 views

### Programming code listing: enumeration and left margin

I'd like to inlcude programming codes in LaTeX by using the verbatim package. For the code I use, the enumeration is continous. So if a new code starts, the numbers are ongoing, which should not be ...
13 views

### I cannot add pictures to my document using latex and texstudio

It was working earlier but it does not work now. \usepackage{verbatim,graphicx} //Some code \includegraphics{dopler} Both, image and tex file are in the same folder.
30 views

### Where and why does (LuaLa)TeX scale down the requested base font size?

(The question has been raised in the past, but the answers provide solutions on how to scale up (or down) the fonts, not why it was scaled in the first place, AFAIK) Background: It is very common for ...
18 views

### How to get a S' with a subscript at the correct position

I want to create the symbol S'_\geq, but the lower \geq is placed too far right. If I use S^'_\geq, the ' is too far up, but the \geq is in the right position. How can I get an S' with a subscript ...
20 views

### Subnumbering Equations Under the actual equation number

I am trying to write an optimization problem like below using eqnarray: Max z =a + b (1) s.t a > 1 b < 4 But I want to write the sub-equation numbers as (1.a) and (1.b) ...
13 views

### Embedding Examples & Solutions In Worksheets

How can I "embed" examples and solutions into my code to make easy-to-use worksheets? Context: I am creating a fractions workbook for students, many of whom have many unfortunate challenges in life, ...
14 views

### How to add preliminary pages to ToC?

I am writing my thesis and am trying to add the table of contents. The \tableofcontents provides all the contents of the chapters but I want to display the preliminary elements such as Title page and ...
22 views

### How can I redefine the description list to pass an arg to redefined items that contain TikZ nodes?

I am open to suggestions regarding my question's wording. I would like to have all description lists support an optional argument that represents node name prefixes. This will be passed to the ...
9 views

My code below doesn't work because it doesn't print all address fields. By the way I've got a problem with french caracters therfor I'm using babel. Could you please tell me what is wrong ? Thank ...
18 views

### updmap error (affecting pdfcrop)

After installing texlive (on LMDE2), pdfcrop is running into errors. The error output is identical to the errors I get when I run updmap from terminal: /usr/local/texlive/2015/bin/i386-linux/updmap: ...
19 views

### How to create \topsep when there is no preceding text

The following MWE demonstrates two lists, each of which follows a header. In the first case, the list items are arranged in a single column as usual. In the second case, the list is broken into two ...
17 views

### Hyperref: Danish ø in \url or \href doesn't work (appears as \T1\)

Refer to this question and answer. When I compile the file below (encoded in utf-8) with pdflatex, only the middle option produces a working link as opposed to all three in the linked question. In ...
5 views

### Include video with \movie not working

I'm trying to embed a video in my latex presentation (using beamer). I'm compiling latex within the TexShop. When trying to embed this way, under the multimedia package: ...
23 views

### special characters cannot show after changing font with lualatex

I was using the following preamble with lualatex. I have many sanskrit words using unconventional Roman script, such as ahaḿtattva, rúpa, tanmátra. \documentclass[12pt, b5paper]{book} ...
9 views

### How to enable contextual swashes for Arabic

I recently read about Contextual Swashes for Arabic fonts from here. They have shown an example of how it would look. I've already read this question and it helped me set up my MWE. Here is a quick ...
66 views

### I need page-numbering odd-roman

I'm trying to number the pages with only odd number. how to change the count from (1,2,3,4,5) to (1,3,5,7,9) in latex?
27 views

### how to get latex to hyphenate a word that contains a slash? [duplicate]

I'm using 'und/oder' (German for 'and/or') in one of my texts (I know it's not nice :)). Latex separates it 'und/o-der' which is not nice. Using \mbox fixes that problem. Trying to find a general ...
33 views

### Centering doesn't work for figure with tabularx

I have a figure with 3 images in it, searching TeX I found out that the best way to accomplish that was with a tabularx inside a figure, like this: \begin{figure}[t] \centering ...
11 views

### Using @masterthesis entry in .bib to use it in beamer

I am making my slides with beamer and for the references, I'm referencing it to a .bib file. In that file I have the following entry: @mastersthesis{kooshathesis, title={Disease-Gene Association ...
9 views

### gnuplot: selectively put certain keys to the top [migrated]

I am trying to use gnuplot to draw a figure. Due to the limited space, the figure is drawn like this: I am thinking to move the first three labels (ins-replace, bb-split and func-reorder to the top ...
12 views

### How to prevent page breaks and force indentation in inner paragraphs of a command?

I'm trying to write a diary of a journey I did in the past but I'm facing a problem with paragraph identation and page breaks. I've written the following command (\EntradaDiario) ...
9 views

### How to change the label and deitalicize expex example?

I have the following code: \documentclass[11pt]{article} \usepackage{CJKutf8} \usepackage[T1]{fontenc} \newenvironment{korean}{% \CJKfamily{mj}}{} \usepackage{expex} \begin{document} ...
19 views

### Widening the width of blocks in beamer

Related to this question I would like to permanently widen the width of blocks in beamer. The effect should be that of block at the bottom of the picture, whereas the block at the top is the standard ...
22 views

### String diagrams in monoidal categories

I'm writing a paper which contains a chapter on a certain kind of monoidal categories (spherical, that is) and I would like to include the usual graphical calculus for morphisms. In particular, I'm ...
16 views

### How can one semi-bold a small group of “normal text” words?

Bold often appears too drastic. I would like to grade the weight of some fonts locally within the text, so that they stand out, but do not overwhelm.
15 views

### Invisible Overfull \hbox in toc

For a few toc-entries with long titles getting wrapped I am getting Overfull \hboxes, which are not visible, if I don't use the draft-option of memoir. I wonder where they come from, and how to turn ...
12 views

### Biblatex and CiteULike as a remote bib database

By reading the Biblatex package doc, I understand I can use my CiteULike bibliographic database as a resource, if only I specify the correct URL as a remote databibresource, and if I use biber as a ...
17 views

17 views

### Change label (x-axis, y-axis) font size of already inserted eps figure in LaTeX

Just wondering if there is a possibility of changing the font size of the x-axis and y-axis of an eps figure. I tried \fontsize{15}{12}\selectfont, but it did not work at all. Thank you very much in ...
19 views

### Beamer: reduce vertical space on title slide

In the following title slide, I want to include some graphics at the bottom, but they are cut off. Is there some way I can reduce the vertical space between the \author{} block and the \date{} block. ...
35 views

### Error Unable to update the static FcBlanks

After an update with MikTex 2.9 (Windows 7) I have the problem that some fonts are garbled. Running xelatex displays Unable to update the static FcBlank and I get the same error with the following ...
20 views

### How to input a footnote in a table environment

How do I put a footnote number in a table and the note at the bottom of the same page? Using the \footnote{} command put a footnote number in the table where I wanted it, but no footnote on that page. ...
11 views

### pgf-umlcd operation command fails within a beamer document

It appears there is some incompatibility with the zero option to specify a virtual operation in pgf-umlcd with beamer. It works fine in an article document. The example pgf-umlcd code was taken ...
45 views

### Writing two partial differential equations in LaTeX

Do you know how is it possible to write this equation in LaTeX? I tried with this type, but it seems that this is not the correct version of writing. K_ox=\frac{d^(2/3)_o}{n_x} ...
48 views

Like the question says, Is there any way to download a compilable tex source from a wikipedia article? Or maybe a tool that generates a tex source from a wikipedia article.
21 views

### Footnote symbol bold, small in text, normalsize in footnote

I should know this... I'd like to have the footnote figure in bold face and small (textsuperscript) in the running text and bold face and normal size in the footnote text at the bottom of the page. ...
7 views

### glossaries abbreviation in abbreviation - missing footnote

Out of this, I managed to have footnotes (glossaries at first use) within the description of glossary and acronyms using the glossaries package. Now, I referred in an acronym to another abbreviation. ...
24 views

### dvi output fonts blurred after upgrading to Windows 10 - pdf perfect

Using MiKTeX 2.9 and amsbook, the dvi output fonts have become blurred or furry precisely after upgrading to Windows 10 (a clean install onto a formatted disc). In contrast, the pdf output fonts ...
20 views

### How should I avoid orphan and widow lines in Context

Typesetting a very simple document (no maths etc, just text, quotations and images), I am stuck with several orphan and widow lines. Is there a way to make Context avoid doing this? I can't find any ...
62 views

### TikZ node newcommand : pass color as argument

I need to create a row of circles (colored markers) followed by some text. See the image below. I achieve this using the following code. \begin{tikzpicture}[scale=2] \matrix[nodes={minimum ...
23 views

### font consistency in environment (theorem…) and in general text

I am using a template, and it uses the font \usefont{T1}{bch}{m}{n}\selectfont{}, the third font in the code and output, for the text in general. But this font is not used inside environments, like ...
15 views

### Pgfplots: \addplot3 with all axis in logarithmic scale

I would like to generate a surf plot and set the mode of all axis to "log". For instance \documentclass[tikz]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis} ...