3
votes
0answers
176 views

Conditional formatting, rounding and postprocessing of a column in pgfplotstable

I want to round p-values in a table to two decimals (for example 0.05), have values less than 0.05 in bold font and have values less than 0.01 to come out as '<0.01' in bold font. Like this (the ...
1
vote
0answers
43 views

Indicating that the adjustwidth environment should be placed around text

I've been trying to work out a solution to this question about changing margins for body text without changing header/footer placement. Using the changepage package, I was able to work out the ...
8
votes
1answer
104 views

Compare the height of arguments

I'm trying to define a \newcommand with three arguments. I'd like to: compare the height of these arguments choose the largest height to create frames (with that height) around the arguments. ...
1
vote
1answer
163 views

How do I hide “Chapter 0” in this custom style when using a numberless chapter?

Everything works perfect when I use \chapter{chaptername}, but I noticed that my table of contents and other similar non-numbered chapters have a "Chapter 0" in my header. \titleformat{\chapter} ...
10
votes
1answer
157 views

Different styles for the same document

Suppose I am writing a paper, which I plan to submit to a journal/conference, but also put on a preprint server like the arXiv. Each publisher has its own style files required for typesetting the ...
6
votes
1answer
638 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 ...
6
votes
1answer
289 views

Compare numbers with comma as decimal points

I want to check whether a number \a (read from a file) is smaller than zero using ifthenelse: \ifthenelse{\a<5}{smaller}{not smaller} This works fine when a is in the format -1. In the file ...
2
votes
0answers
73 views

Conditional coloring in LaTeX [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Is there any package that provide conditional coloring in LaTeX ? I would like to reproduce what Excel does with its ...
4
votes
2answers
516 views

Bold author if source is an article

i got some articles i cite in my thesis. The author should be bold in the bibliography but i dont know how. I tried to use \textbf in the bibtex file but then the format isn't correct anymore. Would ...
13
votes
1answer
214 views

Formatting floats differently based on placement

I'm interested in changing how floats are formatted depending on whether they are placed at the top, bottom, or middle of a page, or on a float page. One package I am aware of that does something like ...
5
votes
1answer
371 views

biblatex: What's the first character of a field?

I would like to know, what's the first character of the value of the editor field. If the character is a curly bracket "{" the value should be printed for example bold, if the first character is ...
15
votes
2answers
729 views

Custom quotation style which depends on length of quotation

I am writing my PhD-thesis and I need to meet certain formatting requirements in regard to quotations. I know there is the quote environment. But in this conditions it doesn't match my universities ...