6
votes
2answers
244 views

How can you highlight a C compiler directive spanning multiple lines?

In my \lstset{...} I have morecomment=[l][{\color[rgb]{0.1, 0.2, 0.8}}]{\#}, which I've seen used to give preprocessor commands colour. This works just fine but I'd like to get multi-line macros to be ...
4
votes
1answer
106 views

Toggle Hide/Show cites, footnotes etc

It annoys a lot, if my written text has lots of footnotes or cites, so a quick reading and writing in same editor ( not in pdf, as you may point out) is a tough matter. I wonder if there is any ...
11
votes
4answers
355 views

\newgeometry doesn't work with Turkish babel package

\newgeometry is a nice feature of geometry package. I found out that it doesn't work (together with many other problems) when \usepackage[turkish]{babel} is also used with many errors stating: ...
3
votes
4answers
134 views

Alignment of entries in matrix

I have this pmatrix (amsmath package): \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \begin{pmatrix} \frac{a}{b} & \frac{a}{b} & 0 & ...
2
votes
2answers
187 views

PSTricks with standalone class and newpage or pagebreak

Can I use page breaks with the standalone class with PSTricks? Are there limitations? Or is there some mistake in my code? I have been nearly successful in running the code below with PSTricks and ...
4
votes
0answers
78 views

Using comma as a decimal mark with SageTeX [closed]

There are a lot of questions about how-to use comma instead of dot in standart LaTeX documents. But how i can do this in documents with SageTeX? P.S. I use online editor cloud.sagemath.com
3
votes
1answer
185 views

Specific font for specific characters with mathspec package

I am trying to manipulate the font, font size and thickness of the mathematical characters individually. I came into this solution at stackexchange; XeTeX/mathspec punctuation issue ... \makeatletter ...
2
votes
0answers
119 views

Journal not displayed in mn2e bibliography

@article entries in my .bib file are not being displayed properly in the .pdf generated. The 'Journal' is not displayed. I am using mn2e bibliography style in \documentclass[useAMS,usenatbib]{mn2e}. ...
4
votes
2answers
187 views

ConTeXt: Columnar section titles, floats, and images

Background Regarding floats in columns, the wiki states: By default, a title will be moved down to appear below a float, it will not be "wrapped" around a float like normal text. Problem The ...
3
votes
1answer
127 views

Recreating a table from MS Word (with a mix of rotated and non-rotated text)

I have the following table which is created in MS Word: I want to recreate it in LaTeX as it is (keeping the same rotation of column headers) and I must keep the vertical and horizontal lines as it ...
3
votes
1answer
76 views

Why is this statement not compiling correctly?

For some reason, the following excerpt from my code is not compiling correctly and I can't figure out why. \begin{equation} \begin{split} \frac{100}{-6} &= -16(-6) + 4\\ &\implies z^100 ...
2
votes
0answers
166 views

how to create non linear presentation using beamer or prosper

8eamer prosper produces slides like power-point. Is it possible to produce non-linear presentation like the one produced by prezi?
3
votes
2answers
191 views

How to create table with inner columns inside larger columns?

I want to create this kind of table with 3 large columns and at one point the column is divided to two smaller columns. Please note that the column not divided in the whole space. How can create the ...
1
vote
1answer
119 views

Renumbering pages in tufts-book class

I am just starting to use the tufts-latex style. It numbers the pages from the very first page, though only displays them at the start of chapter 1. Is there a way to force it to start the number with ...
4
votes
2answers
220 views

table of contents starts by an arbitrary number

I am using Beamer Presentation to teach a Probability course in a university. At the first class, I introduced my class chapter 1 which included its sections 1 to 4, so my table of contents in the ...
26
votes
2answers
397 views

Automating the appearance of email addresses as images

Publishing pdf manuscripts on the web with emails embedded in the file results in spam. More generally, I am looking for a way to automate the conversion of a string to an image. It's quite easy to ...
3
votes
1answer
938 views

Feynman diagrams with loops using TikZ

I've been doing Feynman diagrams with TikZ for quite some time now, but I have never needed to make loops. Now I'm forced to deal with them, and here comes the issue. I've played around a little and ...
5
votes
2answers
103 views

Tables in an enumerate environment

\begin{document} \begin{enumerate}[leftmargin=*] \item *Kang, B., In, F., Kim, G., and Kim, T. (2010). A longer look at the asymmetric dependence between hedge funds and the equity market, ...
3
votes
2answers
90 views

Customizing bibliography's style and appearance

How do I to make this bibliography looks better? Here the code that I've used : \chapter*{Nethographie} \addcontentsline{toc}{chapter}{Nethographie} {[}N9{]} https://kuler.adobe.com (Consulté en ...
14
votes
2answers
321 views

Transparency vs image compression dilemma

I have a bunch of raster images that I want to include in a poster. For aesthetic reasons I want to replace the image background by a transparent one. So far, I have been grabbing the images I had ...
11
votes
3answers
458 views

Asterism and similar breaking / non-breaking options

What are the options that can be considered an alternative to the old asterism (⁂) symbol ? I would like to denote a small break in the flow of the text, I noticed that this days many people like to ...
5
votes
1answer
180 views

How to install LawTex on MacTex

I'm relatively new to LaTeX, and I run Mac OSX 10.9.1. I have the latest MacTex, and have used it with relative ease for basic documents. I'm a law student, and I'm required to make a complex document ...
9
votes
2answers
916 views

Tikz: function and node's position

With the following code I am able to create three normal distributions with different means. Although the graph looks good, I have some problems in placing the nodes in the right coordinates. It is ...
8
votes
2answers
231 views

Need help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)

I would like to make something similar to the logic tree below. I've tried using tikz-qtree, but I can't figure out how to number every line in the tree. I did however find something else doable in ...
3
votes
0answers
89 views

Why is TeXnicCenter incorrectly loading my template files? [closed]

In my template .tex file (encoded as UTF-8), if I open it in TeXnicCenter, it displays correctly, and last line of the document is (line 136) \end{document} as one would expect from a .tex file. ...
5
votes
2answers
2k views

Add Logo to LaTeX poster

I'm using this template to create a poster. I would like to add a logo to the top right corner of the poster, next to the tittle of the poster. Is this possible? How?
4
votes
1answer
68 views

Multiline \operation inside figure

I am trying to use pgf-umlcd to create a class diagram. The class includes a method name with long types for the parameter, so I am using \\ to split the definition over two lines. The following ...
6
votes
2answers
1k views

Customizing chapter style with tikz

How can I customize chapter style like below picture? Thank you in advance.
4
votes
1answer
104 views

shader=faceted interp does not compile in Xelatex

I am using pgfplots \begin{figure} \centering \begin{tikzpicture} \begin{axis}[width=\linewidth] \addplot3[surf, mesh/cols=41,mesh/ordering=colwise,faceted color=black,shader=faceted ...
4
votes
1answer
133 views

Error-handling in next-generation TeX tools

For many beginners (and many with more experience), the biggest obstacle to using LaTeX is the difficulty of figuring out what is causing an error. A message about something not being \defed, for ...
6
votes
1answer
184 views

How do I remove the \paragraph{} text from the \tableofcontents with acmsmall?

I am writing a rather long literature review for submission to ACM Computing Surveys and we are putting a table of contents on it for the benefits of our internal reviewers. The table of contents is ...
2
votes
1answer
309 views

Beamer like ClassicThesis

If I write my thesis with ClassicThesis, how can I fix beamer layout to get a similar setup? Does exist a template for this problem?
3
votes
0answers
35 views

Setting a path for LaTeX style files [duplicate]

This is a question that has come up many times but I do not seem to be able to get this to work using any of the suggestions that have been made so I would REALLY appreciate any help. I am trying to ...
2
votes
0answers
106 views

How would one achieve superscript references with the multibbl package?

I am using multibbl to manage separate bibliographies, and prefer to use superscript citations. However, multibbl clashes with cite (a little) and other packages: natbib biblatex (much worse). ...
3
votes
1answer
100 views

footsmisc perpage-option applied to other but standard footnote

I have two sets of footnotes defined in the document (Basically I am trying to get around a "counter too large" error on the second set.): \usepackage{bigfoot} \DeclareNewFootnote[para]{default} % ...
8
votes
1answer
177 views

Prevent \caption from expanding argument too early

I have a macro that defines some internal macros and does so locally as to not clutter the global namespace. However, \caption seems to expand the macro's argument too early. Here is a minimal ...
13
votes
5answers
531 views

Calculations in TikZ for iterative procedure

In many \foreach iterative procedures in TikZ I would like to relate the generic node called n\x -- where x is a natural number -- to another node the name of which is obtained by applying basic ...
1
vote
0answers
134 views

Beamer error - no output file [closed]

I am making a beamer file. While there's nothing in math mode, everything runs perfectly well, however, when sentences like $P_A\subseteq E_X$ is inserted, it cannot output a .pdf file, but its ok ...
2
votes
0answers
190 views

I cannot understand the error msgs in my Latex file, and can't run it [closed]

Here is my first LaTeX attempt. I understand the warnings, but I don't understand the errors. I can't find anything on these questions in the guides: missing characters from the LaTeX script listed ...
4
votes
1answer
156 views

How can I make a Curriculum Vitae or Resume in *Tex with variable length?

I'd like to make a template of sorts for a Curriculum Vitae. While there seem to be plenty of examples online of CVs using TeX, I'm looking for an easy way to include everything in the file, but ...
5
votes
2answers
184 views

Insert figure in a table, how to align figures with text in a table

I am inserting multiple figures into a table, and would like to make the following change: center the text (1st column) in the cell (all the text currently are at the bottom) center the figures (2nd ...
2
votes
0answers
99 views

Electronic mail-merge

This is not strictly a TeX/LaTeX/ConTeXt question, nevertheless this is probably the best place to ask. For the people who don't know: mail merge is a standard functionality in a word processor that ...
0
votes
0answers
16 views

Re: LaTeX - Subfloat caption apparently can't include optional arguments for citations? [duplicate]

I would be very grateful for any help with the following problem, as a LaTeX novice. I am trying to create two subfigures, each with their own captions, to include quotations with the optional ...
3
votes
1answer
266 views

Extra alignment tab has been changed to \cr end template?

I get the error mentioned in the title of the question. \begin{table*}[!ht] \centering \caption{\textit{first scenario : heuristic methods}} \label{Table2} \resizebox{2\columnwidth}{!}{% ...
3
votes
4answers
130 views

Latex incorporate a fraction in tan

I want to write in latex that an angle equals to tan of (BM/AB). I wrote this: $\widehat{BAM}$ = $ \tan ($ \dfrac {BM} {AB} $)$ But I have an error "missing $ inserted. Can someone help me?
4
votes
0answers
95 views

Configure latexmk to recognize an old file with a new name

When the asymptote package is used, it generates Asymptote source files with sequential names. For instance, if the tex file is called foo.tex, then running LaTeX on it will generate Asymptote source ...
3
votes
0answers
34 views

Multiple \usepackage vs comma separated package names [duplicate]

What, if anything, is the difference between \usepackage{foo,bar} and \usepackage{foo} \usepackage{bar}
2
votes
2answers
240 views

Horizontal Probability tree with tikz

I'm looking for a way to create a simple horizontal probability tree with tikz similar to this one: I saw a few examples on texample.net, but no one shows me how to create the each paths ...
3
votes
1answer
79 views

Same ymin in loglogscale

I want to obtain the same y axis for multiple plots. Here is a MWE: \documentclass[preview=true]{standalone} \usepackage{pgfplots} \begin{document} \begin{preview} \begin{tikzpicture} \begin{axis}[ ...
1
vote
0answers
73 views

The macro 'Bibliography' in Texshop [closed]

Apparently the macro 'Bibliography' does not work properly when one compiles with the option 'Tex and DVI'. It seems to work only with pdftex. How to fix this ?

15 30 50 per page