9
votes
1answer
2k views

How can I an place a figure next to an equation?

I'm new to LaTeX. This is my first script, an exercise. I'm try to place a 4 figures (SCfigure) I already charted with KmPlot next to its correspondent equations, but they always appear on the next ...
8
votes
3answers
669 views

How can I number the references in a bibliography irrespective of their order of appearance in a document?

I'm putting together a linguistics bibliography using lsalike.bib and lsalike.sty. I'm generating it by using \nocite{*} and would like the references to be numbered (but kept in the usual order). ...
2
votes
2answers
161 views

Too many erros after upgrading TeX

I am getting too many errors since I upgraded my computer with the latest version of TeX. For instance, the following piece of code doesn't work any more. Could you help me do a clean install and \ ...
7
votes
2answers
1k views

Enumerate over two columns in tabular environment

I can't seem to figure out the minute details needed to use enumerate inside a tabular environment. If I just sort of brute force the code I can get something similar to what I'm trying to achieve, ...
6
votes
3answers
278 views

Without using intersection method, can we find the following vector component?

Given that two vectors, i.e., green and red ones. The objective is to find the blue one such that the resultant of the green and blue ones is parallel to the red one and with the same direction as the ...
6
votes
3answers
249 views

What's the best way to align binary operators to the right of a relation symbol?

I know that you're generally told to align binary operators to the right of a relation symbol like this (using {align*}): \begin{align*} x={}&a+b+c\\ &+d+e+f \end{align*} But would it ...
5
votes
1answer
166 views

Paragraph titles disappearing

So, I'm trying to use the listings package for some code samples in my document. When I converted my verbatim sections to lstlisting my paragraph titles disappeared. I've attached some example code ...
22
votes
1answer
2k views

framed or mdframed? (Pros/Cons)

I'm currently thinking about using shaded and framed sections in my document. But for now, I couldn't clarify the differences between framed and mdframed (or other packages). Although the ...
4
votes
2answers
1k views

Globally set a word in Small Caps (or italics)

I am using Lyx with Preamble. I am working on a project where the abbreviation "hon." needs to be set to small caps globally. (/sc). Tried to use \renewcommand, no luck there.
5
votes
1answer
3k views

How can I repeat the header but not the caption with longtable?

I am trying to set up a longtable where the header is repeated on every new page but the caption only appears once at the top of the page. The table is defined as follows: \begin{longtable}{|l|l|l|} ...
19
votes
3answers
1k views

Tikz: joining points on a circle

I have the following figure I would like to draw portions of circles between some of the red points. More explicitly, I would like to go from ac1 to ab1 and then to ac2 following circle A, then go ...
11
votes
2answers
2k views

How can I add Section numbering and a Contents entry to the PDF bookmarks?

I'm having a bit of trouble with the PDF bookmarks. I am trying to Add "Contents" as an entry to the PDF bookmarking. Have numbering for my sections and subsections. I am looking to achieve ...
3
votes
1answer
318 views

passing text to alltt embeded in command (extra newline needed)

I wanted to close alltt inside a command (to add some ornaments around the text), but the spaces that were used for putting the monospaced text into columns was not preserved. I found the solution ...
1
vote
1answer
3k views

Longtable caption below table in LyX

In LyX I've created a longtable. In LyX the caption is below the table but in the PDF it is shown above the table. Is there a way to force the caption to be below the table in the PDF without ...
0
votes
1answer
7k views

Which document class for writing resume? [duplicate]

Possible Duplicate: LaTeX template for resume/curriculum vitae I am trying to create a new resume in LaTeX previously I used Scribus but not happy with the formatting and pdf size. To ...
2
votes
1answer
530 views

Romanian fonts in `bibtex`

I need romanian characters ş and ţ in citations. For this I updated chicago style (chicago.bst file) and for et. al. i replaced: first " ş.a. " but i got ?.a. instead second " \cb{s}.a." but i get ...
12
votes
1answer
1k views

Repeat the same reference in footnote on different pages

I'm using BibLaTeX to handle my bibliography and I want a reference to be placed in a footnote on every page where I cite the same work and have the same number. Also I want to be able to cite the ...
4
votes
2answers
226 views

Include pdf-graphic without including the whole pdf

I have drawn a lattice in latex with tikz, successfully compiled it to a pdf and been able to include it in my document. However, the whole PDF (i.e. A4 page) is included and I only want to include ...
8
votes
2answers
2k views

How to highlight (colorize) the syntax of configuration files (like .ini or .conf)?

I need to highlight the syntax of files containing lines with parameters and their values in LaTeX. Let's say I have a following file: # some comment parameter1 = value of parameter1 parameter2 = ...
3
votes
1answer
189 views

Name “Chapter” is not showed in the table of the content

In my LaTeX code I add the line \tableofcontents And begging of each chapter i have these lines. \renewcommand{\vspace}[2]{}\chapter{ } {\huge\bf Introduction} ...
1
vote
1answer
223 views

width multicolum not sum of combined cells

I have the following table, but the multicolumn cell width is not the same as the sum of the cells it is combined from. I assume, this is caused by some margins in each cell, i.e. that the cel width ...
3
votes
1answer
1k views

Cannot customize the footer of the classicthesis package

I am using the classicthesis package as a template for my document. It adds a footer to the document when it is in draft mode. The footer is configured in classicthesis.sty by the following lines. % ...
21
votes
3answers
3k views

Do I need fontenc and inputenc

My question feels like a duplicate of: fontenc vs inputenc, but in that question the OP uses German and non-ascii characters. I speak and write in English exclusively. My keyboard is the standard ...
7
votes
1answer
3k views

Extending the width of caption for subfigure

The caption of the subfigure follows the size of the figure/table. Is it possible to stretch the width so that it does not follow the size. \documentclass[11pt,a4paper]{report} \usepackage{ ...
13
votes
2answers
295 views

Objective: To separate text column from figures column in every page

I don't know if this has been asked before. But so far nothing has come up with my search. In some books, the figures are placed at the outer side of the page like in the picture below. Is this ...
2
votes
1answer
1k views

itemize without pagebreak

I have the following structure of my lists (commonly): ..... Here is the list: * item1 * item2 .... I would like to make my list inseverable (the list with its 'caption' won't be divided by ...
10
votes
1answer
768 views

Accessing randomly selected problems via the probsoln package

I have two datasets, each containing problems dealing with a specific topic. These problems are stored in external files (again, one file per topic) and loaded into the datasets in a random order. I ...
3
votes
1answer
505 views

natbib, hyperref and citation inside a float figure

I use Lyx and MikTeX 2.9 to write my thesis based on book KOMA-script. Right at the finish I have an error at pdflatex run: Extra }, or forgotten \ endgroup. <argument> ... \IeC {\c s}i ...
0
votes
1answer
135 views

Defect of measuring into the count of alphabet width

Question: Why in the example below I get (with CM at 10pt) \alphabet=342.93138pt and \myalphabetwidth=342.6536pt why I have this difference between the two measures? What is the more correct? ...
10
votes
1answer
2k views

using [] in the caption of the subfigure

The subfigure caption uses []. Because of that, I am unable to use [] in its caption. \subfigure[ This [] is important] How do I use the brackets in the caption of the subfigure?
17
votes
2answers
7k views

pgfplot: plotting a large dataset

I try to plot a dataset which is large using pgfplots. Since I'm aware of problems with large files, I used the external mode. I additionally increased main_memory from 3000000 to 6000000. It crashes ...
5
votes
2answers
1k views

creating a fifo symbol with pgfdeclareshape

I'm compiling with: pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2011.7.8) pgf 2008/01/15 v2.10 (rcs-revision 1.12) tikz 2010/10/13 v2.10 (rcs-revision 1.76) ...
4
votes
2answers
864 views

Create landscape image page in pdf, without breaking text flow

Here is an MWE. If you compile this to PDF, you get a half-empty page on the first page, as the last part of the text doesn't come up, but is forced onto a new page. Compare this with the same thing, ...
30
votes
2answers
9k views

How to center one node exactly between two others with TikZ?

How can I center a TikZ node exactly between two others? Hypothetically, \node (a) {a} \node (c) [right of=c] {c} \node (b) [between={a,c}] {b}
1
vote
1answer
370 views

Regular Expression for logical implication?

I am massively unfamiliar with the usage and syntax of regular expressions so the following problem is making my brain bleed. Background: I am taking logical expressions, parsing them, making some ...
1
vote
1answer
5k views

How to add IEEEtran.cls to be read automatically?

I am using a MacOS and I want to copy the IEEEtran.cls file into the latex directory such that it is read automatically. I have a file in the directory ...
2
votes
2answers
551 views

One column figure blocks text in adjacent column

I am facing this strange problem where a figure in one column of a two-column page is blocking the second column. In other words, text is not going there in other column with a figure in the adjacent ...
11
votes
2answers
6k views

$TEXMFHOME setting

I use texlive 2012 on ubuntu 12.04. I wanted my ~/texmf folder invisible, so I edited my texmf.cnf file which is in /usr/local/texlive/2012 directory: TEXMFHOME = ~/.texmf I rebooted my computer ...
3
votes
2answers
483 views

Align bottom of table cell when table cell has height

I currently have at able whose row's height is set, so I can control it. This is what it looks like: \begin{tabular}{ @{} p{1.60in} l @{} } \hspace{-0.8in}\textbf{Fundacion Tecnologica ...
2
votes
1answer
273 views

PDF Pages Included, but it does't work

I am writing my thesis, and I need to add a single pdf page in the appendix, so I found a way to use the pdfpage package. Normally I added the package, when I added the package and I continued writing ...
3
votes
2answers
316 views

ignoring chapter easily

When working on a book I'd like to "ignore"(not compile) all chapters but the current one. I know there are methods to use like include and such BUT I do not want to use external files or some complex ...
4
votes
2answers
565 views

Vertical node spacing

Ok. I'm trying to make the left look like the right. I'm kinda lost here. Suggestions? \documentclass{article} \usepackage{tikz} \usepackage[margin=0.5in]{geometry} \pagestyle{empty} ...
5
votes
2answers
1k views

Set Table height to fixed height

I found the \resizebox command but I don't want to scale my table. I want to be able to set it to X height and have it stay there. Is there a way to set the height of a table and leave it there no ...
6
votes
1answer
83 views

How to temporarily suppress image insertion when compiling?

There are some big images in my document and compiling is taking substantial amount of time. When compiling a tex file to a dvi (and subsequently ps and pdf), is there any way I can temporarily ...
5
votes
1answer
423 views

Format date without year

Using \formatdate from datetime, I can get a date properly formatted in multiple languages: \formatdate{3}{4}{2012} However, I would like to only use the day and month and leave the year behind. ...
10
votes
1answer
3k views

tikz: plotting a one column file [closed]

I use tikz/pgf to plot plots with data from a file. This works perfectly fine if I have at least to columns in the file that I can choose from. However, I have a rather huge file with just one column. ...
2
votes
1answer
91 views

Subtract height from column

The following latex example is kicking the third table down to the second page. But I don't need it on the second page, I need it all on the first and currently it's set at 3.5in but I really need it ...
5
votes
1answer
128 views

Node base error

Encountering a strange issue here: I have a node style that I have been using for many flow-charts. It's base has always been in the exact center of the shape, but now i'ts been translated up about ...
2
votes
1answer
302 views

Remove a section number

I'm sure this is a basic question asked before but my search of the site did not yield a result (likely b/c I don't know what I'm searching for). I want to print out a reference section that is ...
8
votes
4answers
10k views

fontspec LuaTeX error

I have installed "ProTeX" with "TeXstudio 2.3" & "Miktex 2.9". I get an error ! The fontspec package requires either XeTeX or LuaTeX to function when I attempt to run \documentclass{article} ...

15 30 50 per page