examle file for color and font selection
This commit is contained in:
parent
1c834c8bf3
commit
10a4c231c6
107
.clang-format
107
.clang-format
|
|
@ -1,107 +0,0 @@
|
|||
# Initially made using
|
||||
# clang-format -style=llvm -dump-config > .clang-format
|
||||
# Then lines were modified to get the desired results
|
||||
#
|
||||
# Incorporate these options by adding the flag -style=file
|
||||
# and putting this file in the directory of the file being formatted or
|
||||
# one of its parent directories
|
||||
#
|
||||
# See http://clang.llvm.org/docs/ClangFormat.html for usage and
|
||||
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html for options
|
||||
#
|
||||
---
|
||||
Language: Cpp
|
||||
# BasedOnStyle: LLVM
|
||||
AccessModifierOffset: 0
|
||||
AlignAfterOpenBracket: DontAlign
|
||||
AlignConsecutiveAssignments: false
|
||||
AlignConsecutiveDeclarations: false
|
||||
AlignEscapedNewlinesLeft: false
|
||||
AlignOperands: false
|
||||
AlignTrailingComments: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: false
|
||||
AlwaysBreakTemplateDeclarations: false
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterClass: false
|
||||
AfterControlStatement: false
|
||||
AfterEnum: false
|
||||
AfterFunction: true
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: true
|
||||
IndentBraces: false
|
||||
BreakAfterJavaFieldAnnotations: false
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: Custom
|
||||
BreakBeforeTernaryOperators: false
|
||||
BreakConstructorInitializersBeforeComma: false
|
||||
BreakStringLiterals: true
|
||||
ColumnLimit: 78
|
||||
CommentPragmas: '^ IWYU pragma:' # not sure what this should be
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||
ConstructorInitializerIndentWidth: 4
|
||||
ContinuationIndentWidth: 8
|
||||
Cpp11BracedListStyle: true
|
||||
DerivePointerAlignment: false
|
||||
DisableFormat: false
|
||||
ExperimentalAutoDetectBinPacking: false
|
||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
||||
IncludeCategories: # need to consider more
|
||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
||||
Priority: 2
|
||||
- Regex: '^(<|"(gtest|isl|json)/)'
|
||||
Priority: 3
|
||||
- Regex: '.*'
|
||||
Priority: 1
|
||||
IncludeIsMainRegex: '$'
|
||||
IndentCaseLabels: true
|
||||
IndentWidth: 4
|
||||
IndentWrappedFunctionNames: false
|
||||
JavaScriptQuotes: Leave
|
||||
JavaScriptWrapImports: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: true
|
||||
MacroBlockBegin: ''
|
||||
MacroBlockEnd: ''
|
||||
MaxEmptyLinesToKeep: 4
|
||||
NamespaceIndentation: None
|
||||
ObjCBlockIndentWidth: 2 # Not applicable (N/A)
|
||||
ObjCSpaceAfterProperty: false # N/A
|
||||
ObjCSpaceBeforeProtocolList: true # N/A
|
||||
PenaltyBreakBeforeFirstCallParameter: 19 # 19 was the original value
|
||||
PenaltyBreakComment: 300 # 300 was the original value
|
||||
PenaltyBreakFirstLessLess: 120 # 120 was the original value
|
||||
PenaltyBreakString: 1000 # 1000 was the original value
|
||||
PenaltyExcessCharacter: 10000000 # 1000000 was the original value
|
||||
PenaltyReturnTypeOnItsOwnLine: 60 # 60 was the original value
|
||||
PointerAlignment: Right
|
||||
ReflowComments: true
|
||||
SortIncludes: true
|
||||
SpaceAfterCStyleCast: true
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesBeforeTrailingComments: 1
|
||||
SpacesInAngles: false
|
||||
SpacesInContainerLiterals: true # N/A
|
||||
SpacesInCStyleCastParentheses: false
|
||||
SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
Standard: Cpp11
|
||||
TabWidth: 8 # N/A since not using tabs
|
||||
UseTab: Never
|
||||
# ... generated by the command here. Not sure why
|
||||
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
* titré 'test of various color inputs for background, text/grid and graphs 4'
|
||||
* to figure out the available font names, run the command
|
||||
* 'fc-list | cut -f2 -d: | sort -u | less -r > fonts-avail.txt'
|
||||
.control
|
||||
|
||||
let x = vector(5)
|
||||
let y = exp(x)
|
||||
|
||||
*setcs xfont='Baekmuk Dotum'
|
||||
setcs xfont='Noto Sans CJK JP'
|
||||
*set xfont_size=18
|
||||
|
||||
set gridwidth=1
|
||||
set xbrushwidth=8
|
||||
set color2=rgbd:0/126/0
|
||||
set color0=blue
|
||||
* color1 (text/grid) selected automatically
|
||||
plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
|
||||
set color2=rgbd:0/0/255
|
||||
set color1=rgb:0/0/0
|
||||
set color0=white
|
||||
set xbrushwidth=4
|
||||
set gridwidth=2
|
||||
set nolegend
|
||||
plot y vs x xlabel '나는 유리를 먹을 수 있어요' ylabel 'それは私を傷つけません' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
|
||||
echo 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요
|
||||
echo 私はガラスを食べられます。それは私を傷つけません
|
||||
echo 我能吞下玻璃而不伤身体
|
||||
|
||||
*quit
|
||||
.endc
|
||||
Loading…
Reference in New Issue