5
votes
1answer
755 views

Document class article, maketitle with logo

I want to modify the title section of the article class to look like something in the attached figure. Basically what I want is a kind of logo with flushed text (title, author, affiliation). I tried ...
4
votes
1answer
104 views

Breaking inline equation at several punctuation characters

I am trying to define a command which automatically allows linebreaks inside inline equations at several punctuation characters — I am aware of \allowbreak but don’t want to manually insert it; here, ...
7
votes
1answer
875 views

How to use caption and label in grammar environment?

I can't manage to add a caption and a label to my grammar environment: \documentclass{article} \usepackage{syntax} \grammarindent 80pt \begin{document} \begin{grammar} <condition> ::= "$" &...
4
votes
3answers
1k views

Space after \textquotedblright

I am trying to put a text in "" using \textquotedblleft and \textquotedblright. It works perfectly fine except it does not put ANY space after \textquotedblright. In other words, BEFORE \...
0
votes
3answers
413 views

Can't find a SIAM Label Error

I'm using winedt 6.0 and a SIAM template in my document. When I compile, I get an error message stating: ! SIAM Label Error: There were multipy-defined labels Correct multiply-defined labels. Type ...
9
votes
3answers
5k views

Justify a text inside a figure environment

I insert several figures in my document, but I am unable so far to fully justify the text just below the caption: "BLA BLA BLA" \begin{figure} \centering \caption{NICE TITLE}\label{graph:p} \...
4
votes
1answer
2k views

How to adapt classicthesis layout to B5paper and Linux Libertine

Question says it all: I am using classicthesis with XeTeX to typeset my PhD thesis. I want to use B5 paper size (176 × 250 mm) and the beautiful Linux Libertine font. I'm wondering how to calculate ...
3
votes
2answers
2k views

Tikz, Tree without overlaps

I'm trying to get a nice tree without the overlaps, can anyone help me to improve my code? \documentclass{standalone} \usepackage{amssymb} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[...
5
votes
2answers
197 views

11pt option messes up figure put in with bpchem in articleclass nih

I am working on a proposal for a class. I am using the documentclass nih. I put in figures of chemical structures using bpchem (see example). When I just use \documentclass{nih}, everything works fine,...
9
votes
2answers
21k views

Fit large table horizontally into a page

I have a table with 23 columns. How can I fit it to the page? Code: \usepackage[verbose]{placeins} \usepackage[ngerman]{babel} \usepackage{blindtext} \begin{table}[htbf] \caption{Gross ...
14
votes
4answers
4k views

How can I have a verbatim text in specific sized box?

I am trying to typset the following \resizebox{0.95\textwidth}{!}{% \begin{verbatim} require( "lattice" ) require( "grid" ) \end{verbatim} } I have a lot more to add to this box, and it needs ...
2
votes
0answers
61 views

Refrence to a subsubsection of another chapter as hyperlink [closed]

I wanted to refer to a subsubsection in the text which is in another chapter, in a hyper-link manner. Applied code: In **section~\ref{4.1.1.1}** required aspects for defining the minimum and maximum ...
7
votes
1answer
251 views

Recover scaling factor in TikZ

Does it exist some tikz register (let say \zoomfactor) that provides the curent scale factor. For example can I do something like : \begin{tikzpicture}[scale=2] \begin{scope}[scale=1.5] \...
3
votes
1answer
474 views

pgfplots: drawing areas from a table starting “above” an axis

Please let me explain the motivation behind this a bit more broadly. I'd like to draw measured benchmark values as follows: background/nothing between the x-axis and the minimum value a green area ...
5
votes
1answer
498 views

\underbrace error [closed]

I'm trying to write an equation, but I keep getting an "Undined control sequence error on the line my equation is one, and I can't seem to figure out what the error is. Can any of you guys seen an ...
6
votes
1answer
474 views

Variable Caption spacing for `tikzpicture` and `tabular`

The \abovecaptionskip option gives different results with tikzpicture and tabular. MWE: \documentclass{report} \usepackage{tikz} % \begin{document} \setlength{\...
8
votes
1answer
1k views

cancelling out cells in tables

Can you help me to obtain this table in LaTeX? Is it possible to obtain it by completing the following code? \begin{table}[htbp] \centering \begin{tabular}{cccc} \hline a & b & c & d \\ e ...
4
votes
1answer
200 views

curve doesn't follow the point

I created this graph using pgfplot package. Here it is the code I used: \begin{figure}[htp] \centering \begin{tikzpicture} \begin{semilogxaxis}[xmin=1e-06,xmax=1e-01,xlabel=packet loss,ylabel=...
1
vote
2answers
183 views

problem with a ledmac command

There's something wrong with my style file: %%%%%%%%%%%%%Start%%%%%%%%%%%%%%%% \makeatletter \def\parafootfmt#1#2#3{% \normal@pars \parindent=0pt \parfillskip=0pt plus 1fil {\bf\printlines#1|}% {\...
5
votes
2answers
248 views

Special arrow: both dotted and normal

I would like to make use of a special arrow that I cannot find anywhere in the literature: namely half dotted and half normal, so like $\cdots\rightarrow$, but then normal sized. Does anyone know if ...
2
votes
1answer
214 views

Code listing stays empty

I'm trying to add code listings from an external file to a document I'm working on. Unfortunately, in the resulting PDF all I get is the caption and a rectangle with the right width and background ...
5
votes
1answer
1k views

How to fix a certain distance between a TikZ matrix border and its nodes?

I want to draw a TikZ matrix with its border and I would like to define the distance between most external matrix nodes and matrix border. Something like a matrix inner sep. If I change inner sep in ...
2
votes
1answer
553 views

page “x” may be too complex to print error

When I use the command dvipdf dummy.dvi to convert it from dvi to pdf, I get this error for some pages "x". Could anybody help me on this please?
23
votes
2answers
1k views

Add a rule underneath “Figure 1”

I want to add a line beneath the figure caption such as Figure 1 Figure caption text here.... I managed to include a newline, change the color and look of the caption via caption package: \...
5
votes
1answer
399 views

tikz-timing package gives up on path after 25 clock cycles

I'm using the tikz-timing package to do some timing diagrams, but it seems that it has an upper limit of 25 clock cycles. While \documentclass[a4paper]{article} \usepackage{tikz-timing} \begin{...
7
votes
0answers
800 views

Float reference only appears when using [h] here float placement [closed]

I'm typesetting an article using PNAS' template for two-column articles: http://www.pnas.org/misc/PNASTWO.CLS My problem is that if I include a figure or table: \begin{figure} \caption{my figure} \...
1
vote
1answer
5k views

Lyx : Name of function : Page Break

I'm trying to find the name of the function : Insert -> formatting -> Page Break So i can set it as a shortcut from preferences ->Editing->shortcuts->new. But in order to do that i need the function ...
2
votes
2answers
762 views

Split environment wrong braces dimensions

I have to split a quite long formula. I used a nested split environment but I have to break curly braces from one line to another using \right. and \left. The curly braces I get have different ...
2
votes
1answer
136 views

Can WhizzyTeX be used with XeTeX?

I have tried to make WhizzyTeX work with XeTeX (or, specifically, XeLaTeX), but just adding LATEX=xelatex in whizzytex.conf (or changing this setting by any other means) and specifying PDF output ...
10
votes
1answer
678 views

PSTricks: charpath on a curve (like textpath)

I am interested in drawing a specially rendered text on a curve. The LaTeX package pst-text provides a function to draw text on a curve (pstextpath) and a function to specially render text (...
3
votes
1answer
734 views

How to achieve or get Post script (PS) output from xelatex run?

Does this require any sort of switches while running XeLaTeX?
2
votes
0answers
215 views

Emacs hint that: Cannot have two processes for the same document [closed]

I have installed emacs 24.2, okular 0.14(with KDE 4.8) and Texlive 2011 in windows7. I want to use okular to view pdf file generated by latex in emacs. Hence I have configured okular in my .emacs as ...
7
votes
2answers
165 views

How can I add linked text in front of \ref{myRef}?

I am currently making references like this: \section{BliBlaBlup} \label{sec:BliBlaBlup} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi pharetra pharetra viverra. Vestibulum ante ipsum ...
1
vote
1answer
557 views

How to add a new command in moderncv template for cventry?

I want to add new moderncv command to act like the command cventry but in double, I mean that I have the same job from a period in two differnet companies and I need the command to show it, here is ...
12
votes
1answer
1k views

How could I draw the projection of a three-dimensional domain of integration onto the xy-plane by TIKZ/PGF

I want to draw the following picture by using TIKZ: But I do not know how to hatch the projection, that is the two-dimensional domain: ${(x,y,z} \mid z=0, x^2+y^2\leq 4}.$ And I do not know how to ...
6
votes
1answer
1k views

Using natbib with agsm

I am using natbib and agsm for harvard style referencing. My related code is \usepackage{natbib} \bibliographystyle{agsm} Then I am using \citep{} for citations. My problem is that in text I am ...
1
vote
1answer
2k views

How to insert a two-column figure in the current page when using LaTeX?

I know there is a command like \begin{figure}[p] \end{figure} But when I use it in a two-column model, the $[p]$ cannot work. So I am wondering if there is any solution to preserve the figure in ...
1
vote
0answers
45 views

How to center a text in a table? [duplicate]

Possible Duplicate: Center column with specifying width in table (tabular enviroment)? I want to fix this code, the last column aren't center in the cell. How can I center the text of all ...
6
votes
1answer
1k views

What is wrong with the following latex code? [closed]

I have written this code to formulate the algorithm for merging two arrays, but I get an error. \begin{algorithm}[t] \caption{Serial Merge} \label{alg:insert} \begin{algorithmic}[1] \Require Two ...
7
votes
1answer
1k views

xelatex hangs when using fontspec

I'm using TexStudio 2.5.1 on Windows 7 with MiKTeX. The following brief .tex file will cause xelatex to hang: \documentclass[12pt]{article} \usepackage{fontspec} \begin{document} Test \end{document} ...
9
votes
1answer
2k views

define a new Example environment

how can i define a new Example environment like the image shown in the following? this environment should have the following attributes: endmarks must be positioned at the last line, whether it ...
14
votes
1answer
617 views

Different image in every page's footer

I found Using fancyhdr to create an image based header and footer which is helpful and gave some ideas but I want to basically put in the bottom right or center of the footer a different image file (...
1
vote
1answer
219 views

Incorrect case in BibTeX [duplicate]

Possible Duplicate: BibTeX loses capitals when creating .bbl file I have a .bib file and I'm using JabRef to edit it. Its content is % This file was created with JabRef 2.7b. % Encoding: ...
5
votes
1answer
403 views

Declaring a newcommand for a single letter in mathcal

I am trying to enter a command that references the \mathcal font for single letter in LaTeX. Below is what I am trying and it doesn't seem to work, would appreciate any help. \newcommand {\until} {\...
2
votes
1answer
328 views

issues after verbatim section

I'm havin an issue which I cannot solve. If I have a subsubsection containing text with a verbatim section in between, the first line after the verbatim section is not aligned properly. If I put a \...
2
votes
1answer
324 views

store page number of current page into a variable and reuse it later [duplicate]

Possible Duplicate: How to use \pageref{foo} as a number? i'd like to store the current page number into a variable and reuse it later: % Roman numbers list of contents list of figures ...
27
votes
1answer
35k views

Pirate Treasure Map

This one is mostly for fun, although seeing the TikZ tricks people come up with is often instructive. While I was looking for examples with torn pages, I ran across a few of these: Can one draw ...
2
votes
1answer
2k views

circuit schematic symbol for buffer with control input

circuitikz has an op amp component type with two inputs, output, and up and down ports, usually used for power supply rails. There's also a buffer component type (which I think is provided by tikz ...
0
votes
1answer
210 views

Turn Page Numbers into helvet, abbreviations & left flush TOC

Maybe someone can help me with these: I have three things I'm trying to finish off for my thesis with the formatting. The first is the page numbering - I've been asked to use arial (helvet in my ...
11
votes
2answers
436 views

Clipping using the folding library of tikz

I have the following minimal example: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{folding} \begin{document} \begin{tikzpicture} \tikzfoldingdodecahedron[folding line length=2cm,face ...

15 30 50 per page