# All Questions

7 views

### Tweaking table size with column separation

I have a large table which is very slightly wider (around 1cm) than my text width and I want to squash it up slightly so that it fits. Rotating it or resizing the text was undesirable in this context. ...
29 views

### textwidth in tabularx

My table doesnt comform to the textwidth. The hline do, but the text wont. Excel2latext is used to make the table. Only they 'x' is added to the tablular. \begin{table}[htbp] \centering ...
11 views

### “There´s no line here to end” after trying to make a table

\begin{table} \begin{center} \begin{singlespacing} \scalebox{1}[.75]{ \begin{tabular}{||p{2cm} | p{2cm} | p{1.8cm} | p{3cm} | p{2.5cm} | p{1.7cm} | p{1.7cm} ||}%p{1.7cm}||} \hline \hline Project & ...
3 views

### Compiling nomenclature adds section to bibliography

After compiling the nomenclature I started noticing against my citations in the bibliography. For example: A. Ahmed, Y. Low, M. Aly, V. Josifovski, and A. J. Smola. Scalable distributed infer- ence ...
7 views

### Reduce Space Between LOT and LOF (continued) Page

I have tried to reduce the space between page 120 and 131 to be as equal as the space between 131 and 133. I have tried so many tricks but it is still not working. Here is a portion of the cls file ...
14 views

### What are all the things i have to keep in mind while preparing a lecture notes(or a book) in latex?

What are all the things i have to keep in mind while preparing a lecture notes(or a book) in latex? My guess: Defining the section and chapter titles properly. And in which way we are going to ...
17 views

### Equal sign does not show up in beamer

I'm doing my beamer now and if I write the equal sign (=) whether it is in math mode or not, it does not appear in the output. Help? Thanks. \documentclass{beamer} \begin{document} \begin{frame}{a} ...
2k views

### plot 3d graphs of functions defined implicitly

How can I plot 3d graphs of functions defined implicitly (quadratic forms, for Linear Algebra course notes -- I'd like to include lots of examples)? As far as I can see it is not possible with ...
12 views

### Parallel numbering in columns

I have a bilingual text in two columns using paracol. I want to number them in parallel while using switchcolumn commands, as shown below. How can I do this? \documentclass[10pt,a4paper]{article} ...
14 views

### hyperref versus \pagecolor conflict

I'm writing an important report which I've produced in LaTeX annually for several years. This year I decided to make the cover page different - white on blue instead of plain old black on white. I've ...
5 views

### Detecting empty key values when key is provided

I believe I am looking for a LaTeX3 type syntax solution to more appropriately detect a missing argument. To me I would have expected key={} to be a valueless, blank, or empty argument key. After ...
13 views

### real MetaPost space

In MetaPost I label something with: Label(1)(percent, ", 269 GiB") (inwards, 0) withcolor (1, 1, 0) ; Unfortionately the space after the comma and the space between 269 and GiB is represented by a ...
11 views

### Inlinely Inline Enumerate

\documentclass{report} ...
12 views

### Latex Command to Compile another Latex File

I am making a cover letter, where I add a CV to that letter. I currently use the command \includepdf[pages={-}]{CV.pdf} Using the package pdfpages to include another pdf file. This imply that ...
2 views

### How to print the index entries where we are using splitidx to create index?

I am using the following comments to use multiple indices. But the index page is not coming in the output.. \documentclass{scrbook} % We use article class ... \usepackage{splitidx} % ... and the ...
52 views

### Macro for creating trees for B-series as math symbols

I am writing a paper on numerical solutions for ODEs. For the representations of B-series I want to use binary tree-like symbols. I know how to produce them with TiKZ; however, just as in the given ...
476 views

### Creating a default preamble

Since I am using (almost) the same set up for my tex documents, I wonder if there is a way to create a preamble with my default packages and to recall it anytime I want to create a tex document. If ...
53 views

### Bibtex - citations fail

I placed my bibliography just before the end of the file the end of the file \bibliography{mybib}{} \bibliographystyle{plain} @article{damodaran2010comatose, title = {Comatose Markets: What if ...
35 views

### Macro in texstudio/texmaker to surround selected text with tags

When you use some of the predefined shortcuts in texstudio on selected text, it wraps the text with the appropriate tags(is that the proper term?). For instance, suppose i highlight Hello Worldand ...
9 views

### modification in the \cite command to show page

I have a little problem. I am using the abntex2 package in my document, and I am using bibtex to make the bibliography. When I use, for instance, \cite{reis}, that gives me the name of the author and ...
17 views

### Algorithm2e writing simple pseudocode with multiple functions

I am new at algorithm2e and I'm really struggling with the most simple things. I would like to write an algorithm (pseudocode) with a few functions that call each other. For now, I have this minimal ...
18 views

### Use Python to generate input to XeTeX

I am wondering what is a good way to use Python to generate an arithmetic worksheet consisting only of 2-digit numbers squared. Specifically I want to be able to call upon a Python program in which it ...
7 views

### Number formatting in the table with spreadtab

I am using spreadtab for the calculation in a table. In the same time, I use numprint package for number formatting as advised in the documentation of spreadtab. To get thousand separator as , and ...
9 views

### Only first chapter page number is up - how to keep it same as other pages

In my thesis document, the page number for the first page of the chapter appears at a different location (little up) compared to all other pages. This happens only for Chapter-1. Chapter 2, 3, ... etc ...
74 views

### Listings not showing in \lstlistoflistings

My document looks like this when at the listings page (I dont get any errors, its just empty): My document is like this: \documentclass[a4paper,12pt]{book} \usepackage{apacite} \usepackage{natbib} ...
5k views

### How to reduce font size of TOC on lyx beamer

I am using a LyX beamer template which can be downloaded from this link. I'm having trouble with a large TOC, which can't fit on one page. How can I reduce the font size of TOC, so that it can be fit ...
6 views

### Including compiled PDFs in documentation built by l3build

I am building a project with l3build. There are some examples I want to present in the documentation, showing their source code, annotated with DocStrip, as well as including the output they produce ...
21 views

### moderncv - typeset 2 words first name and 2 words second name

My name is, Enrico Maria De Angelis. Using moderncv class and template, my name is typeset in two lines: "Enrico Maria De" in the first line, "Angelis" in the second line. How could I solve this ...
44 views

### Use a macro that expands as tikz code as content for forest

I'm trying to produce a tree that sets the content of each node as a table. My attempt is like this \documentclass{article} \usepackage{forest} \tikzset{ table/.style={% rectangle split, ...
22 views

### How do I insert a \in cross reference across components?

I am using ConTeXts project format, with each chapter using its own .tex file. In chapter 6, I want to refer to [fig05] in chapter 9. Looking at the wiki for \in there's no discussion of this. But ...
37 views

### Uneven Columns in two-column-Tables

I've been given the task of replicating this kind of table: I'm completely new to LaTeX, have literally started today but after looking around on forums I thought I'd give it a go. Here's my ...
46 views

### MiKTex on Windows 10

I have just downloaded and installed MiKTeX. When I tried to update from nearest package repository I get "Sorry, but something went wrong: The remote package repository is not online. You have to ...
160 views

### Beamer: Prevent/disable appearing individual subsection titles before actual content

Recently I started to question my decision to enable the appearance of individual subsection titles before actual content. I still want to show the outline of the upcoming section once before the ...
26 views

### 2 MetaPost questions

This is my MetaPost input file: prologues := 3 ; outputformat := "%j-%c.eps" ; input piechartmp; beginfig(1); SetupColors((0.7, 0.7), this, this) ; SetupPercent(this, "%") ; Segment(64, ...
82 views

### LaTeX can not find pdfTeX

After updating system operation my LaTeX file gave me this error You need a TeX distribution like MacTeX installed on your system to typeset your document. When a TeX distribution is installed you ...
27 views

### How to define a command for putting periods in abbreviations (initialisms)?

Is there an easy way to define a command that takes a word (an initialism) and inserts a period after every character? That is, I would like to define a command \init{abc} that outputs "A.B.C." ...
18 views

### Persistent Underfull \hbox Warning

I can't fix this no matter how I set the parameters \pretolerance, \tolerance, and \emergencystretch. Minimum Working Example with downloadable font using xelatex: \documentclass[10pt,twoside]{book} ...
83 views

### Draw a class diagramm in black and white

I want to draw a class diagramm (and later on other diagramms) in black and white using LaTeX and Tikz-uml as the default color is a kind of yellow. Is there an easy parameter to attach to the ...
52 views

### Using Lyx on Fedora 20: what does this error mean?

I get this error when trying to compile a pdf with Lyx 2.1: This is pdfTeX, Version 3.1415926-2.6-1.40.14 (TeX Live 2014/dev) (format=latex 2015.4.2) 28 JUL 2015 12:45 entering extended mode ...
428 views

### Fake small caps with UTF-8 on pdfTeX

I am using arev package for a scientific LaTeX article (compiling using pfdlatex) and would like to use small caps for certrain proper names. On the internet I found a code ...
2k views

### “%” symbol in BibTex - Latex

I want to refer an url which contains % symbols, using BibTex. If I just write %, the rest of the line becomes a comment. If I write \%, then the slash also appears. @MISC{ref, ...
2k views

### Draw a turkey, a pumpkin pie, or any other object traditionally associated with Thanksgiving

Using TeX- and LaTeX-related tools and packages, how would you draw a turkey, a pumpkin pie, a pecan pie, a gravy boat, or any other object(s) traditionally associated with Thanksgiving?
27 views

### Pgfplot Legend Type

I need a legend type given below. I want to write parameter values just once. How can i get this type legend. code example \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} ...
73 views

### Adjusting space when using the “lettre” class

I am quite new in writing letters with LaTeX, and I am wondering whether there is a way to adjust the space between the end of the sender's e-mail address and the subject of the letter (see picture ...
21 views

### \appendix command adds a period after section number before it was called

I am using the scrartcl class. To make an appendix with tables and figures I am using the command \appendix. After it, I simply continue using \section to make sections. I noticed that if I use ...
23 views

### BibTeX error when trying to compile an entry

@ELECTRONIC{ios9, author = {{Apple Inc.}, month = {September}, year = {2015}, title = {iOS Security}, url = {https://ssl.apple.com/business/docs/iOS_Security_Guide.pdf/}, timestamp = ...
128 views

### GNU Readline- like history, for the latex terminal shell?

I find myself more than often willing to use the (pdf)latex shell, and \typeout commands there directly - unfortunately, there is one deal breaker: there is no command line history. I think that in ...
46 views

### Option clash for package hyperref

I am trying to use hyperref in my tex file.. here is a minimal working example.. which gives me the option clash error \documentclass[12pt]{report} \usepackage{hyperref} \hypersetup{ ...